Function at 0x429c80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435784
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c8], ecx
mov eax, dword [ebp - 0x5c8]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x5c8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x5c8]
mov dword [edx + 4], 0
mov eax, 1
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0x5c8]
mov ax, word [ebp + 8]
mov word [edx + 8], ax
mov ecx, dword [ebp - 0x5c8]
movzx edx, word [ecx + 8]
shr edx, 8
and edx, 0xff
mov byte [ebp - 0x5a1], dl
mov eax, dword [ebp - 0x5c8]
movzx ecx, word [eax + 8]
and ecx, 0xff
mov byte [ebp - 0x4cd], cl
xor edx, edx
mov word [ebp - 0x5a0], dx
movzx eax, byte [ebp - 0x4cd]
push eax
movzx ecx, byte [ebp - 0x5a1]
push ecx
push str.bVGACompany___d_bVGAID___d_r_n
lea edx, [ebp - 0x59c]
push edx
call fcn.00401040
add esp, 0x10
lea eax, [ebp - 0x59c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movzx ecx, byte [ebp - 0x5a1]
cmp ecx, 1
jne 0x429dea
push 0xc
call fcn.00405790
add esp, 4
mov dword [ebp - 0x5ac], eax
cmp dword [ebp - 0x5ac], 0
je 0x429da5
lea edx, [ebp - 0x5a0]
push edx
movzx eax, byte [ebp - 0x4cd]
push eax
mov ecx, dword [ebp - 0x5ac]
call fcn.004291f0
mov dword [ebp - 0x5cc], eax
jmp 0x429daf
mov dword [ebp - 0x5cc], 0
mov ecx, dword [ebp - 0x5cc]
mov dword [ebp - 0x5a8], ecx
mov edx, dword [ebp - 0x5c8]
mov eax, dword [ebp - 0x5a8]
mov dword [edx + 0xc], eax
movzx ecx, word [ebp - 0x5a0]
test ecx, ecx
jne 0x429dea
mov edx, dword [ebp - 0x5c8]
mov dword [edx + 0xc], 0
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
movzx edx, byte [ebp - 0x5a1]
cmp edx, 2
jne 0x429e88
push 0x34
call fcn.00405790
add esp, 4
mov dword [ebp - 0x5b4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5b4], 0
je 0x429e3c
lea eax, [ebp - 0x5a0]
push eax
movzx ecx, byte [ebp - 0x4cd]
push ecx
mov ecx, dword [ebp - 0x5b4]
call fcn.00428190
mov dword [ebp - 0x5d0], eax
jmp 0x429e46
mov dword [ebp - 0x5d0], 0
mov edx, dword [ebp - 0x5d0]
mov dword [ebp - 0x5b0], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [ebp - 0x5b0]
mov dword [eax + 0x10], ecx
movzx edx, word [ebp - 0x5a0]
test edx, edx
jne 0x429e88
mov eax, dword [ebp - 0x5c8]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx], cx
movzx eax, byte [ebp - 0x5a1]
cmp eax, 3
jne 0x429f1b
push 0x310
call fcn.00405790
add esp, 4
mov dword [ebp - 0x5bc], eax
cmp dword [ebp - 0x5bc], 0
je 0x429ed6
lea ecx, [ebp - 0x5a0]
push ecx
movzx edx, byte [ebp - 0x4cd]
push edx
mov ecx, dword [ebp - 0x5bc]
call fcn.00427630
mov dword [ebp - 0x5d4], eax
jmp 0x429ee0
mov dword [ebp - 0x5d4], 0
mov eax, dword [ebp - 0x5d4]
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ebp - 0x5b8]
mov dword [ecx + 4], edx
movzx eax, word [ebp - 0x5a0]
test eax, eax
jne 0x429f1b
mov ecx, dword [ebp - 0x5c8]
mov dword [ecx + 0x10], 0
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
movzx ecx, byte [ebp - 0x5a1]
cmp ecx, 4
jne 0x429fab
push 0x2c
call fcn.00405790
add esp, 4
mov dword [ebp - 0x5c4], eax
cmp dword [ebp - 0x5c4], 0
je 0x429f66
lea edx, [ebp - 0x5a0]
push edx
movzx eax, byte [ebp - 0x4cd]
push eax
mov ecx, dword [ebp - 0x5c4]
call fcn.004296d0
mov dword [ebp - 0x5d8], eax
jmp 0x429f70
mov dword [ebp - 0x5d8], 0
mov ecx, dword [ebp - 0x5d8]
mov dword [ebp - 0x5c0], ecx
mov edx, dword [ebp - 0x5c8]
mov eax, dword [ebp - 0x5c0]
mov dword [edx + 0x14], eax
movzx ecx, word [ebp - 0x5a0]
test ecx, ecx
jne 0x429fab
mov edx, dword [ebp - 0x5c8]
mov dword [edx + 0x14], 0
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0x5c8]
mov dword [edx], 0
xor eax, eax
mov word [ebp - 0xfc], ax
xor ecx, ecx
mov word [ebp - 0xf8], cx
xor edx, edx
mov word [ebp - 0x100], dx
mov dword [ebp - 0x108], 0
push 0x348
push 0
lea eax, [ebp - 0x4cc]
push eax
call fcn.00404a40
add esp, 0xc
push 0xdc
push 0
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00404a40
add esp, 0xc
push 0x78
push 0
lea edx, [ebp - 0x184]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x4cc], 0x348
mov eax, 0xdc
mov word [ebp - 0xb0], ax
xor ecx, ecx
mov word [ebp - 0xae], cx
mov dword [ebp - 0x104], 0
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0x4cc]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x42a087
lea ecx, [ebp - 0x4c8]
push ecx
push 0x43e180
lea edx, [ebp - 0x184]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
movzx eax, word [ebp - 0xfc]
mov dword [ebp - 0x5dc], eax
push 2
lea ecx, [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0x5dc]
push edx
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.USER32.dll_EnumDisplaySettingsExW]
mov cx, word [ebp - 0xfc]
add cx, 1
mov word [ebp - 0xfc], cx
test eax, eax
je 0x42a0e9
cmp dword [ebp - 0x48], 0x400
jne 0x42a0e7
cmp dword [ebp - 0x44], 0x300
jne 0x42a0e7
mov edx, dword [ebp - 0x5c8]
mov dword [edx], 1
jmp 0x42a0e9
jmp 0x42a087
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret 8