Function at 0x433ca0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548dfa
mov eax, dword fs:[0]
push eax
sub esp, 0x5ac
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x5a8], ebx
mov dword [ebp - 0x5b4], ebx
push 0x1a8
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.0051946c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], 0
push 0x118
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.0051946c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0x14], eax
mov byte [ebp - 4], 1
push 0x108
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
call fcn.0051946c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0x1c], eax
push 0x1a4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x254]
push 0
push eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov word [ebx + 0x24], 0
call fcn.0051b450
mov edi, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x258]
add esp, 0xc
mov dword [ebp - 0x258], 0x1a8
xor esi, esi
mov dword [ebp - 0x5a4], esi
push esi
push eax
push esi
push esi
call edi
test eax, eax
je 0x433f69
mov eax, dword [ebp - 0x1b4]
test al, 8
jne 0x433f2c
test al, 1
je 0x433f2c
push 0x1a4
lea eax, [ebp - 0x3fc]
push 0
push eax
call fcn.0051b450
add esp, 0xc
mov dword [ebp - 0x400], 0x1a8
xor esi, esi
lea eax, [ebp - 0x400]
push esi
push eax
push esi
lea eax, [ebp - 0x254]
push eax
call edi
test eax, eax
je 0x433e21
nop
test byte [ebp - 0x35c], 1
jne 0x433e21
push 0
lea eax, [ebp - 0x400]
inc esi
push eax
push esi
lea eax, [ebp - 0x254]
push eax
call edi
test eax, eax
jne 0x433e00
push 0x9c
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.0051b450
mov esi, dword [sym.imp.USER32.dll_EnumDisplaySettingsExA]
lea eax, [ebp - 0xb0]
add esp, 0xc
mov dword [ebp - 0x8c], 0x9c
push 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x254]
push eax
call esi
test eax, eax
jne 0x433e72
push eax
lea eax, [ebp - 0xb0]
push eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x254]
push eax
call esi
lea eax, [ebp - 0x254]
mov ecx, 0x27
push eax
lea eax, [ebp - 0x504]
lea esi, [ebp - 0xb0]
lea edi, [ebp - 0x5a0]
push 0x100
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0051f3ce
mov eax, dword [ebp - 0x1b4]
lea ecx, [ebx + 0xc]
shr eax, 2
add esp, 0xc
and al, 1
cmp dword [ecx + 4], 0x9a90e7
mov byte [ebp - 0x404], al
mov eax, dword [ecx]
mov dword [ebp - 0x5a8], eax
je 0x434035
mov dword [ebp - 0x5b0], ecx
mov byte [ebp - 4], 3
push 0x1a8
mov dword [ebp - 0x5ac], 0
call fcn.0051946c
mov edx, eax
lea esi, [ebp - 0x5a0]
mov ecx, 0x68
add esp, 4
lea edi, [edx + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x5a8]
mov esi, dword [ebp - 0x5a4]
mov byte [ebp - 4], 2
inc dword [ebx + 0x10]
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x5ac], 0
mov dword [eax], edx
push 0x1a4
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.0051b450
add esp, 0xc
mov dword [ebp - 0x258], 0x1a8
lea eax, [ebp - 0x258]
inc esi
mov dword [ebp - 0x5a4], esi
push 0
push eax
push esi
push 0
call edi
test eax, eax
jne 0x433db0
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
test eax, eax
je 0x433fa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SwDeviceCreate
push eax
call esi
push str.SwDeviceClose
push dword [ebx + 0x28]
mov dword [ebx + 0x2c], eax
call esi
mov dword [ebx + 0x30], eax
push str.Global4A77E11C_B0B4_40F9_AA8B_D249116A76FE
push 0x644
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebx + 4], eax
test eax, eax
je 0x433ff1
push 0
push 0
push 0
push 0
push 4
push 6
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push 0
push 0
push 0
push 6
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx], eax
mov dword [ebx + 8], eax
jmp 0x433ff4
mov eax, dword [ebx + 8]
test eax, eax
jne 0x43400d
mov eax, dword [ebx]
test eax, eax
je 0x434005
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebx], 0
jmp 0x434017
mov byte [ebx + 0x24], 1
mov dword [eax], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.00519419
int3