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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x4edca4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f1658]
push esi
push edi
mov edi, 0x3000
movzx eax, word [eax + 0x8f0]
cwde
imul eax, eax, 0x32
push 1
push 0x1280
and eax, 0xfffffc00
add eax, 0x400
cmp eax, edi
cmova edi, eax
call fcn.0048ff3a
mov ecx, dword [0x4f1658]
push 1
mov dword [ecx + 0x7c], eax
mov eax, dword [0x4f1658]
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x4f1654]
mov dword [0x4f165c], ecx
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1658]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x4f1654]
mov ecx, dword [eax + 0xe0]
mov eax, dword [0x4f165c]
mov dword [eax + 0x1d4], ecx
mov esi, dword [0x4f1658]
movsx eax, word [esi + 0x8f0]
lea eax, [eax*8 + 0x50]
push eax
mov dword [ebp - 0x70], eax
call fcn.0048ff3a
add esp, 0x10
test eax, eax
jne 0x450173
call fcn.004ac5e8
push 1
push dword [ebp - 0x70]
call fcn.0048ff3a
add esp, 8
mov dword [esi + 0x8d0], eax
test eax, eax
je 0x450862
mov eax, dword [0x4f1658]
push 1
mov ecx, dword [eax + 0x8d0]
mov eax, dword [0x4f165c]
mov dword [eax + 0x1278], ecx
mov eax, dword [0x4f1658]
movsx ecx, word [eax + 0x8f2]
mov eax, dword [0x4f165c]
mov dword [eax + 0x54], ecx
mov esi, dword [0x4f1658]
movsx eax, word [esi + 0x8f2]
imul eax, eax, 0x92
push eax
mov dword [ebp - 0x70], eax
call fcn.0048ff3a
add esp, 8
test eax, eax
jne 0x4501e2
call fcn.004ac5e8
push 1
push dword [ebp - 0x70]
call fcn.0048ff3a
add esp, 8
mov dword [esi + 0x480], eax
test eax, eax
je 0x450862
mov eax, dword [0x4f1658]
push 1
mov ecx, dword [eax + 0x480]
mov eax, dword [0x4f165c]
mov dword [eax + 0x58], ecx
mov eax, dword [0x4f1658]
mov dword [ebp - 0x70], eax
movsx eax, word [eax + 0x8f0]
cdq
and edx, 7
lea esi, [edx + eax]
sar esi, 3
and esi, 0xfff8
add esi, 0x10
push esi
call fcn.0048ff3a
add esp, 8
test eax, eax
jne 0x450244
call fcn.004ac5e8
push 1
push esi
call fcn.0048ff3a
add esp, 8
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x8d4], eax
test eax, eax
je 0x450862
mov eax, dword [0x4f1658]
mov ecx, dword [eax + 0x8d4]
mov eax, dword [0x4f165c]
mov dword [eax + 0x1168], ecx
mov eax, dword [0x4f1658]
movsx ecx, word [eax + 0x8f0]
mov eax, dword [0x4f165c]
mov dword [eax + 0x40], ecx
mov ecx, edi
mov eax, dword [0x4f165c]
shr ecx, 0xa
mov dword [eax + 0x94], ecx
lea ecx, [edi + edi]
mov edx, dword [0x4f1658]
lea edx, [edx + 0x8cc]
call fcn.00434510
test eax, eax
je 0x450862
mov eax, dword [0x4f1658]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [eax + 0x8cc]
mov eax, dword [0x4f165c]
mov dword [eax + 0xa0], ecx
mov ecx, dword [0x4f165c]
mov eax, dword [ecx + 0xa0]
mov dword [ecx + 0x98], eax
mov ecx, dword [0x4f165c]
mov eax, dword [ecx + 0xa0]
add eax, edi
mov dword [ecx + 0xa4], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1624]
mov dword [ecx + 8], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f162c]
mov dword [ecx], eax
mov eax, dword [0x4f165c]
mov ecx, dword [0x4f1628]
mov dword [eax + 4], ecx
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1628]
mov dword [ecx + 4], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1630]
mov dword [ecx + 0x10], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1634]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1630]
mov dword [ecx + 0x14], eax
mov eax, dword [0x4f165c]
push dword [eax + 0x14]
call esi
test eax, eax
je 0x450377
nop dword [eax]
mov ecx, dword [0x4f165c]
mov dword [ecx + 0x14], eax
mov eax, dword [0x4f165c]
push dword [eax + 0x14]
call esi
test eax, eax
jne 0x450360
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1620]
mov dword [ecx + 0x4c0], eax
mov eax, dword [0x4f165c]
mov dword [eax + 0x4f4], 0x4f1620
mov eax, dword [0x4f1658]
mov cl, byte [eax + 0x8dc]
mov eax, dword [0x4f165c]
mov byte [eax + 0x26], cl
mov eax, dword [0x4f1658]
mov ecx, dword [eax + 0x1c]
mov eax, dword [0x4f165c]
mov dword [eax + 0xb0], ecx
mov eax, dword [0x4f165c]
mov ecx, dword [eax + 0xb0]
mov eax, dword [0x4f1658]
mov dword [eax + 0x8e8], ecx
mov eax, dword [0x4f1658]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x4f165c]
mov dword [eax + 0xb4], ecx
mov eax, dword [0x4f165c]
mov ecx, dword [eax + 0xb4]
mov eax, dword [0x4f1658]
mov dword [eax + 0x8ec], ecx
mov eax, dword [0x4f1658]
mov ecx, dword [eax + 0x3c]
mov eax, dword [0x4f165c]
mov dword [eax + 0xa8], ecx
mov ecx, dword [0x4f165c]
cmp dword [ecx + 0xa8], 0xffffffff
jne 0x45042e
mov dword [ecx + 0xa8], 0x7ffff000
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1658]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0xac], eax
mov eax, dword [0x4f165c]
cmp dword [eax + 0xac], 0xffffffff
jne 0x450459
mov dword [eax + 0xac], 0x7ffff000
mov eax, dword [0x4f165c]
mov dword [eax + 0x3c], 0
xor ecx, ecx
mov eax, dword [0x4f165c]
mov word [eax + 0x30], cx
mov eax, dword [0x4f165c]
mov word [eax + 0x32], cx
mov ecx, 0x80
mov eax, dword [0x4f165c]
and word [eax + 0x28], cx
mov eax, dword [0x4f165c]
or word [eax + 0x28], 4
mov eax, dword [0x4f165c]
mov dword [eax + 0x1a8], 0
mov eax, dword [0x4f165c]
mov dword [eax + 0x4c4], 0
mov ecx, dword [0x4f165c]
mov eax, dword [ecx + 0x1278]
sub eax, ecx
mov dword [ecx + 0x4ec], eax
mov ecx, 0xffff8000
mov eax, dword [0x4f165c]
mov word [eax + 0x502], cx
mov eax, dword [0x4f165c]
mov word [eax + 0x4f0], cx
mov eax, dword [0x4f165c]
mov dword [eax + 0x514], 0x64
mov eax, dword [0x4f165c]
mov dword [eax + 0x510], 0x64
mov ecx, dword [0x4f165c]
mov ax, word [0x4f163e]
mov word [ecx + 0x4d2], ax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1638]
mov dword [ecx + 0x4d4], eax
xor ecx, ecx
mov eax, dword [0x4f165c]
mov dword [ebp - 0x7c], ecx
lea esi, [eax + 0x1dc]
mov word [eax + 0x1d8], cx
mov dword [ebp - 0x78], esi
call fcn.0043cd40
mov eax, dword [0x4f1654]
mov dword [eax + 0x1a0], 0
call fcn.0043cdd0
test eax, eax
je 0x450582
cmp word [eax + 2], 8
je 0x450566
call fcn.0043cdd0
test eax, eax
jne 0x450554
jmp 0x450582
mov dword [esi], 0x45b9b0
add esi, 4
mov eax, dword [0x4f165c]
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x68], 0x64
inc word [eax + 0x1d8]
mov eax, dword [0x4f1654]
movzx esi, word [eax + 0xd8]
mov ecx, dword [eax + 0xe0]
mov edi, ecx
mov dword [ebp - 0x70], ecx
test si, si
jle 0x45062a
xor edx, edx
cmp dword [edi], 0
je 0x450616
movsx edx, dx
imul eax, edx, 0x92
mov dword [ebp - 0x84], eax
test byte [eax + ecx + 0x84], 0x80
mov eax, dword [0x4f1654]
je 0x450613
mov eax, dword [eax + 0xdc]
imul ecx, edx, 0x4c
mov eax, dword [ecx + eax + 0x24]
test eax, eax
je 0x450610
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [0x4f165c]
mov dword [ebp - 0x78], ecx
inc word [eax + 0x1d8]
mov eax, dword [0x4f1654]
mov ecx, dword [eax + 0xe0]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], ecx
mov al, byte [eax + ecx + 0x88]
mov byte [ebp + edx - 0x68], al
jmp 0x450613
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x7c]
dec esi
inc edx
add edi, 0x92
mov dword [ebp - 0x7c], edx
test si, si
jg 0x4505a4
mov ecx, dword [0x4f165c]
movzx eax, word [ecx + 0x1d8]
cmp ax, 1
jle 0x4506b1
cwde
dec eax
mov dword [ebp - 0x70], eax
nop dword [eax]
nop word [eax + eax]
xor edi, edi
mov dword [ebp - 0x78], 0
lea esi, [ecx + 0x1dc]
test eax, eax
jle 0x4506b1
xor edx, edx
mov cl, byte [ebp + edx - 0x68]
mov al, byte [ebp + edx - 0x67]
mov byte [ebp - 0x71], cl
cmp cl, al
jbe 0x450692
mov ecx, dword [esi]
mov byte [ebp + edx - 0x68], al
mov eax, dword [esi + 4]
mov dword [esi], eax
mov al, byte [ebp - 0x71]
mov byte [ebp + edx - 0x67], al
mov eax, dword [ebp - 0x78]
inc eax
mov dword [esi + 4], ecx
mov dword [ebp - 0x78], eax
jmp 0x450695
mov eax, dword [ebp - 0x78]
inc edi
add esi, 4
movsx edx, di
cmp edx, dword [ebp - 0x70]
jl 0x450665
mov ecx, dword [0x4f165c]
test ax, ax
je 0x4506b1
mov eax, dword [ebp - 0x70]
jmp 0x450650
mov eax, dword [0x4f1828]
xorps xmm0, xmm0
mov dword [ecx + 0x51c], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1824]
mov dword [ecx + 0x520], eax
mov ecx, dword [0x4f165c]
mov eax, dword [0x4f1820]
mov dword [ecx + 0x524], eax
xor ecx, ecx
mov eax, dword [0x4f165c]
mov dword [eax + 0x438], 0
mov eax, dword [0x4f165c]
mov word [eax + 0x436], cx
mov eax, dword [0x4f165c]
mov dword [eax + 0x43c], 0xfffffffd
mov eax, dword [0x4f165c]
movsd qword [eax + 0x440], xmm0
mov eax, dword [0x4f165c]
mov dword [eax + 0x466], ecx
mov eax, dword [0x4f165c]
mov word [eax + 0x46a], cx
mov eax, dword [0x4f165c]
mov byte [eax + 0x46c], cl
mov eax, dword [0x4f1658]
movzx ecx, word [eax + 0x968]
mov eax, 0xffff
cmp cx, ax
jne 0x45076f
lea ecx, [ebp - 0x88]
call fcn.00402d70
lea ecx, [ebp - 0x88]
call fcn.00402d70
mov cx, word [ebp - 0x88]
mov eax, dword [0x4f165c]
mov esi, dword [sym.imp.USER32.dll_ShowCursor]
push 0
mov word [eax + 0x18c], cx
mov eax, dword [0x4f165c]
or word [eax + 0x28], 0x40
call esi
push 1
call esi
mov ecx, dword [0x4f165c]
mov esi, 0x534
mov word [ecx + 0x4d0], ax
mov eax, dword [0x4f165c]
nop word [eax + eax]
cmp dword [esi + eax], 0
jne 0x4507e1
push 0x10
call fcn.00485e5f
mov dword [ebp - 0x84], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 8], 0
mov ecx, dword [0x4f165c]
mov dword [esi + ecx], eax
mov eax, dword [0x4f165c]
add esi, 4
cmp esi, 0x934
jl 0x4507b0
mov dword [eax + 0x448], 0
mov eax, dword [0x4f165c]
mov dword [eax + 0x44c], 0
mov eax, dword [0x4f165c]
mov dword [eax + 0x456], 0
mov eax, dword [0x4f165c]
mov dword [eax + 0x45a], 0
mov eax, dword [0x4f165c]
mov dword [eax + 0x45e], 0
mov eax, dword [0x4f165c]
mov dword [eax + 0x462], 0
mov eax, dword [0x4f1658]
mov dword [eax + 0x78], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485a4c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
xor ecx, ebp
pop esi
call fcn.00485a4c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret