Function at 0x430980
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56961a
mov eax, dword fs:[0]
push eax
sub esp, 0x5a4
mov eax, dword [0x5d7008]
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 - 0x5a4], ebx
mov dword [ebp - 0x5b0], ebx
push 0x1a8
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.0053d643
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.0053d643
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.0053d643
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0x1c], eax
push 0x1a4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x250]
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.0053f2b0
mov edi, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x254]
add esp, 0x18
mov dword [ebp - 0x254], 0x1a8
xor esi, esi
mov dword [ebp - 0x5a0], esi
push esi
push eax
push esi
push esi
call edi
test eax, eax
je 0x430c49
nop word [eax + eax]
mov eax, dword [ebp - 0x1b0]
test al, 8
jne 0x430c0c
test al, 1
je 0x430c0c
push 0x1a4
lea eax, [ebp - 0x3f8]
push 0
push eax
call fcn.0053f2b0
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 edi
test eax, eax
je 0x430b01
nop
test byte [ebp - 0x358], 1
jne 0x430b01
push 0
lea eax, [ebp - 0x3fc]
inc esi
push eax
push esi
lea eax, [ebp - 0x250]
push eax
call edi
test eax, eax
jne 0x430ae0
push 0x9c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0053f2b0
mov esi, dword [sym.imp.USER32.dll_EnumDisplaySettingsExA]
lea eax, [ebp - 0xac]
add esp, 0xc
mov dword [ebp - 0x88], 0x9c
push 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x250]
push eax
call esi
test eax, eax
jne 0x430b52
push eax
lea eax, [ebp - 0xac]
push eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x250]
push eax
call esi
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.005417f5
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebx + 0xc]
shr eax, 2
add esp, 0xc
and al, 1
cmp dword [ecx + 4], 0x9a90e7
mov byte [ebp - 0x400], al
mov eax, dword [ecx]
mov dword [ebp - 0x5a4], eax
je 0x430d15
mov dword [ebp - 0x5ac], ecx
mov byte [ebp - 4], 3
push 0x1a8
mov dword [ebp - 0x5a8], 0
call fcn.0053d643
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 ecx, dword [ebp - 0x5a4]
mov esi, dword [ebp - 0x5a0]
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 - 0x5a8], 0
mov dword [eax], edx
push 0x1a4
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0053f2b0
add esp, 0xc
mov dword [ebp - 0x254], 0x1a8
lea eax, [ebp - 0x254]
inc esi
mov dword [ebp - 0x5a0], esi
push 0
push eax
push esi
push 0
call edi
test eax, eax
jne 0x430a90
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 0x430c87
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 0x430cd1
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 0x430cd4
mov eax, dword [ebx + 8]
test eax, eax
jne 0x430ced
mov eax, dword [ebx]
test eax, eax
je 0x430ce5
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebx], 0
jmp 0x430cf7
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.0053d630
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.0053d5f0
int3