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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49c57e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4cc99c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x90], edi
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push edi
push eax
mov eax, dword [ecx + 0x48]
call eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x455c73
mov dword [esp + 0x10], edi
lea edx, [esp + 0x10]
mov byte [esp + 0x90], 1
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp dword [esp + 0x10], edi
je 0x455c58
cmp dword [ebx + 0x44], edi
jne 0x455b67
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
push 0x11
mov esi, eax
call edi
mov edi, eax
cmp esi, 0xa
jle 0x455b65
cmp edi, 0xa
jle 0x455b65
push 0x38
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
add esp, 0xc
lea ecx, [ebx + 0x44]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], 3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
push ecx
push eax
call edx
test eax, eax
jns 0x455b5f
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp esi, 0xa
jg 0x455af8
jmp 0x455b65
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], edi
xor edi, edi
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [ebx + 0x44]
cmp eax, edi
je 0x455c40
mov dword [esp + 0x14], edi
lea edx, [esp + 0x14]
push edx
push edi
mov byte [esp + 0x98], 2
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x78]
cmp dword [ebx + 0x48], eax
jl 0x455bfb
mov ecx, dword [esp + 0x7c]
cmp dword [ebx + 0x4c], ecx
jl 0x455bfb
push 2
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax]
push edi
push edi
push edi
push edi
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
jmp 0x455c28
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 2
push edi
push edx
mov edx, dword [esp + 0x18]
push edi
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
mov esi, dword [ebx + 0x44]
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push edi
push edi
push edi
push edi
push edi
push esi
call edx
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x455c40
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x455c58
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x455c73
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00497792
mov esp, ebp
pop ebp
ret 4