Function at 0x468c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov ecx, dword [ebx]
test ecx, ecx
je 0x468c3b
mov eax, dword [ecx]
call dword [eax + 0x78]
mov eax, dword [ebx + 0x12c]
test eax, eax
je 0x468f51
cmp eax, 2
je 0x468f51
cmp byte [ebx + 0x130], 0
mov esi, dword [ebp + 8]
je 0x468c98
push 0x44
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, edi
sub eax, dword [ebx + 0x13c]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x468c98
push 0x45
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, esi
sub eax, dword [ebx + 0x140]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x468c98
xor al, al
jmp 0x468c9a
mov al, 1
mov byte [esp + 0x13], al
mov edx, edi
xor al, 1
mov ecx, ebx
cmp dword [ebx + 0x12c], 1
movzx eax, al
push eax
push esi
jne 0x468cbf
call fcn.004687c0
add esp, 8
jmp 0x468d5a
call fcn.0045cfa0
add esp, 8
cmp dword [ebx + 0x12c], 3
jne 0x468d5a
cmp byte [ebx + 0x14c], 0
je 0x468d5a
mov ecx, dword [ebx]
test ecx, ecx
je 0x468cec
mov eax, dword [ecx]
call dword [eax + 0x78]
mov edx, eax
jmp 0x468cee
xor edx, edx
mov eax, dword [ebx + 0x150]
sub esp, 0x10
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx], eax
mov eax, dword [ebx + 0x154]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x158]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x15c]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x54]
push eax
mov ecx, edx
call fcn.0047ac00
fld qword [eax + 0x10]
fstp qword [esp + 0x20]
fld qword [eax + 0x18]
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x160], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x164], eax
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x168], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x16c], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x468d67
mov eax, dword [ecx]
call dword [eax + 0x78]
jmp 0x468d69
xor eax, eax
push esi
push edi
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], eax
push ecx
mov ecx, eax
call fcn.0047ab20
cmp byte [esp + 0x13], 0
mov esi, dword [ebx + 0x358]
mov dword [esp + 0x18], esi
mov dword [ebx + 0x358], 0
mov dword [ebx + 0x12c], 0
jne 0x468f45
mov eax, dword [ebx + 0x308]
cmp eax, 2
je 0x468f3c
cmp eax, 3
je 0x468f3c
test esi, esi
je 0x468ed7
mov eax, dword [esp + 0x30]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x50]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov ecx, eax
call fcn.00436040
test al, al
je 0x468ed7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x468ebf
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
cmp eax, 2
je 0x468e32
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp eax, 4
jne 0x468ebf
mov dl, 1
mov ecx, ebx
call fcn.0045bf30
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call dword [eax + 0xc]
sub esp, 0x20
mov esi, eax
mov edi, esp
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, dword [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0047aa60
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc], eax
call fcn.0045bbe0
mov ecx, dword [ebx + 0x58]
add esp, 0x10
mov dword [ecx + 0x80], eax
mov ecx, ebx
mov eax, dword [ebx + 0x58]
push 0
cmp dword [eax + 0x80], 0
setne al
mov byte [ebx + 0x14c], al
call fcn.0046b610
mov edi, dword [esp + 0x1c]
mov ecx, 0x7f00
call fcn.00418da0
mov ecx, dword [ebx + 0x354]
push edi
call fcn.00467c10
jmp 0x468f45
cmp byte [ebx + 0x14c], 0
je 0x468ef4
mov dl, 1
mov ecx, ebx
call fcn.0045bf30
push 0
mov ecx, ebx
call fcn.0046b610
jmp 0x468f45
cmp byte [ebx + 0x364], 0
je 0x468f1d
mov eax, dword [0x56be3c]
cmp byte [eax + 0x8c], 0
je 0x468f1d
push 0
mov ecx, ebx
mov byte [ebx + 0x364], 0
call fcn.0046b610
jmp 0x468f45
cmp dword [ebx + 0x308], 1
jne 0x468f45
test byte [ebp + 0xc], 4
mov ecx, dword [ebx]
mov eax, dword [ecx]
je 0x468f37
push 0
call dword [eax + 0x6c]
jmp 0x468f45
call dword [eax + 0x68]
jmp 0x468f45
push 1
mov ecx, ebx
call fcn.00467700
test esi, esi
je 0x468f51
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret