Function at 0x43a430
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55675a
mov eax, dword fs:[0]
push eax
sub esp, 0x5ac
mov eax, dword [0x5c3040]
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 edi, ecx
mov dword [ebp - 0x5ac], edi
mov dword [ebp - 0x5a8], edi
lea esi, [edi + 0xc]
mov dword [ebp - 0x5b8], edi
push 0x1a8
mov dword [ebp - 0x5a0], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00524776
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [ebp - 4], 0
push 0x118
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00524776
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 1
push 0x108
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.00524776
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
push 0x1a4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x250]
push 0
push eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov word [edi + 0x24], 0
call fcn.00526a30
mov ebx, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x254]
add esp, 0x18
mov dword [ebp - 0x254], 0x1a8
xor esi, esi
mov dword [ebp - 0x5a4], esi
push esi
push eax
push esi
push esi
call ebx
test eax, eax
je 0x43a712
mov edi, dword [sym.imp.USER32.dll_EnumDisplaySettingsExA]
nop word [eax + eax]
mov eax, dword [ebp - 0x1b0]
test al, 8
jne 0x43a6cf
test al, 1
je 0x43a6cf
push 0x1a4
lea eax, [ebp - 0x3f8]
push 0
push eax
call fcn.00526a30
add esp, 0xc
mov dword [ebp - 0x3fc], 0x1a8
xor esi, esi
lea eax, [ebp - 0x3fc]
push esi
push eax
push esi
lea eax, [ebp - 0x250]
push eax
call ebx
test eax, eax
je 0x43a5c1
nop
test byte [ebp - 0x358], 1
jne 0x43a5c1
push 0
lea eax, [ebp - 0x3fc]
inc esi
push eax
push esi
lea eax, [ebp - 0x250]
push eax
call ebx
test eax, eax
jne 0x43a5a0
push 0x9c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.00526a30
add esp, 0xc
mov dword [ebp - 0x88], 0x9c
lea eax, [ebp - 0xac]
push 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x250]
push eax
call edi
test eax, eax
jne 0x43a60c
push eax
lea eax, [ebp - 0xac]
push eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x250]
push eax
call edi
lea eax, [ebp - 0x250]
mov ecx, 0x27
push eax
lea eax, [ebp - 0x500]
lea esi, [ebp - 0xac]
lea edi, [ebp - 0x59c]
push 0x100
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0052c1a3
mov eax, dword [ebp - 0x1b0]
add esp, 0xc
mov ecx, dword [ebp - 0x5a0]
shr eax, 2
and al, 1
mov byte [ebp - 0x400], al
cmp dword [ecx + 4], 0x9a90e7
mov eax, dword [ecx]
mov dword [ebp - 0x5a8], eax
je 0x43a7dc
mov dword [ebp - 0x5b4], ecx
mov byte [ebp - 4], 3
push 0x1a8
mov dword [ebp - 0x5b0], 0
call fcn.00524776
mov edx, eax
lea esi, [ebp - 0x59c]
mov ecx, 0x68
add esp, 4
lea edi, [edx + 8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x5a0]
mov ecx, dword [ebp - 0x5a8]
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.USER32.dll_EnumDisplaySettingsExA]
inc dword [esi + 4]
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x5a4]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x5b0], 0
mov dword [eax], edx
push 0x1a4
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.00526a30
add esp, 0xc
mov dword [ebp - 0x254], 0x1a8
lea eax, [ebp - 0x254]
inc esi
mov dword [ebp - 0x5a4], esi
push 0
push eax
push esi
push 0
call ebx
test eax, eax
jne 0x43a550
mov edi, dword [ebp - 0x5ac]
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test eax, eax
je 0x43a750
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SwDeviceCreate
push eax
call esi
push str.SwDeviceClose
push dword [edi + 0x28]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 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 [edi + 4], eax
test eax, eax
je 0x43a798
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 [edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi], eax
mov dword [edi + 8], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x43a7b4
mov eax, dword [edi]
test eax, eax
je 0x43a7ac
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [edi], 0
jmp 0x43a7be
mov byte [edi + 0x24], 1
mov dword [eax], 0
mov eax, edi
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.00524763
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.00523b2b
int3