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

Disassembly:
push 0xffffffffffffffff
push 0x55c38a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edi, dword [esp + 0x94]
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
test ecx, ecx
je 0x489102
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x48915c
lea ecx, [esp + 0x1c]
call fcn.004139f0
mov ecx, edi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x489132
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x489139
lea ecx, [esp + 0x1c]
push ecx
call esi
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.0040fcd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00415ff0
lea eax, [edi + 0x240]
push eax
call esi
lea eax, [edi + 0x224]
push eax
call esi
mov ecx, dword [edi + 0xfc]
mov ebx, dword [ecx + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x1a8]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
call edx
mov esi, edi
call fcn.0044e090
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
push 0
push 0
push edi
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call edx
mov eax, dword [eax + 4]
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], eax
call fcn.00410030
cmp dword [edi + 0x1b0], 0
je 0x489213
call fcn.0044e090
push 0
push 0
sub esp, 0x10
mov ebp, eax
mov esi, dword [ebp]
mov ecx, esp
mov dword [esp + 0x48], esp
push 0
add esi, 0xb0
call fcn.00415f60
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 4]
add dword [esp + 0x54], eax
mov dword [esp + 0x4c], eax
mov edx, dword [edi + 0xfc]
mov esi, dword [edx + 0x2c]
xor eax, eax
test esi, esi
jle 0x489248
test eax, eax
jl 0x489235
cmp eax, esi
jge 0x489235
mov ecx, dword [edx + 0x28]
mov ebp, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
jmp 0x489237
xor ebp, ebp
cmp dword [ebp + 0x84], 0x23be
je 0x48924a
inc eax
cmp eax, esi
jl 0x489222
xor ebp, ebp
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], ebp
call fcn.00410030
cmp dword [edi + 0x1a4], 0
je 0x4892ef
mov esi, edi
call fcn.0044e090
mov edx, dword [eax]
mov edx, dword [edx + 0xa8]
push 0
push 0
push edi
push 0
push 1
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 4]
add dword [esp + 0x5c], eax
mov dword [esp + 0x44], eax
test ebp, ebp
jne 0x4892f3
push 0x16c
call fcn.00403b50
mov dword [esp + 0x30], eax
xor esi, esi
mov dword [esp + 0x8c], esi
cmp eax, esi
je 0x4892c2
mov esi, eax
call fcn.00487780
mov esi, eax
push 1
push 0xffffffffffffffff
mov dword [esp + 0x94], 0xffffffff
mov edx, dword [edi + 0xfc]
push 0x574340
push edx
mov eax, 0x23be
call fcn.00445c90
mov ebp, eax
mov dword [esp + 0x30], eax
jmp 0x4892f3
test ebp, ebp
je 0x489302
mov eax, dword [ebp]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, ebp
call edx
cmp dword [esp + 0x98], 0
jne 0x48950f
cmp dword [edi + 0x21c], 1
jne 0x489323
mov dword [edi + 0x21c], 0
cmp dword [edi + 0x21c], 0
mov eax, dword [esp + 0x54]
mov ebp, eax
je 0x489352
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
lea ebp, [eax + 0x10]
push ebp
push ecx
push eax
push edx
lea eax, [edi + 0x240]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [edi + 0x21c]
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x98], ebx
jge 0x48948a
test ebx, ebx
jl 0x489388
mov eax, dword [edi + 0xfc]
cmp ebx, dword [eax + 0x2c]
jge 0x489388
mov eax, dword [eax + 0x28]
mov esi, dword [eax + ebx*4]
jmp 0x48938a
xor esi, esi
mov eax, dword [esi + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x8c]
and eax, 0xfffffff7
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x489478
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xcc]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.0040fe70
cmp dword [esi + 0x98], 0
je 0x4893f1
add ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
mov edx, ecx
sub edx, eax
sub edx, ebp
add ebx, 0x10
cmp edx, ebx
jge 0x48941b
cmp dword [esp + 0x1c], 0
je 0x4894ad
sub ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov edi, dword [esi]
lea ebx, [eax + ebp]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x58]
push ebx
push eax
push ebp
push ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x2c], 0
add edi, 0x74
call fcn.00410170
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov edi, dword [esp + 0x94]
mov ebp, ebx
mov ebx, dword [esp + 0x98]
inc ebx
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x98], ebx
jl 0x489371
mov ecx, dword [esp + 0x3c]
cmp ebx, dword [esp + 0x18]
mov esi, ebx
jge 0x4894d7
test esi, esi
jl 0x4894b6
mov eax, dword [edi + 0xfc]
cmp esi, dword [eax + 0x2c]
jge 0x4894b6
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + esi*4]
jmp 0x4894b8
mov ebx, dword [esp + 0x98]
jmp 0x48948e
xor ecx, ecx
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
or eax, 8
push eax
call edx
inc esi
cmp esi, dword [esp + 0x18]
jl 0x489496
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x220], ebx
cmp ebx, dword [esp + 0x18]
je 0x4896d4
mov eax, dword [esp + 0x5c]
mov edx, ecx
sub edx, eax
push edx
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x5c]
sub ecx, eax
mov eax, dword [esp + 0x54]
push edx
sub ecx, 0x10
push ecx
push eax
lea eax, [edi + 0x224]
jmp 0x4896cd
lea ecx, [ebx - 1]
cmp dword [edi + 0x220], ecx
jne 0x489520
mov dword [edi + 0x220], ebx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov ecx, eax
sub ecx, edx
mov ebp, ecx
cmp dword [edi + 0x220], ebx
je 0x48955b
push ecx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x5c]
sub eax, edx
mov edx, dword [esp + 0x54]
push ecx
sub eax, 0x10
push eax
push edx
lea eax, [edi + 0x224]
push eax
sub ebp, 0x10
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x220]
sub eax, 1
mov dword [esp + 0x98], eax
js 0x48965e
mov ebx, eax
test ebx, ebx
jl 0x48958a
mov eax, dword [edi + 0xfc]
cmp ebx, dword [eax + 0x2c]
jge 0x48958a
mov eax, dword [eax + 0x28]
mov esi, dword [eax + ebx*4]
jmp 0x48958c
xor esi, esi
mov eax, dword [esi + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x8c]
and eax, 0xfffffff7
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x489647
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xcc]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.0040fe70
mov ebx, ebp
sub ebx, eax
cmp ebx, 0x10
jl 0x48965e
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov edi, dword [esi]
push ebp
push ecx
push ebx
push edx
lea ecx, [esp + 0x80]
add edi, 0x74
call fcn.00410170
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
cmp dword [esi + 0x98], 0
mov ebp, ebx
mov ebx, dword [esp + 0x98]
je 0x489647
sub ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x94]
sub ebx, 1
mov dword [esp + 0x98], ebx
jns 0x489573
mov ebx, dword [esp + 0x98]
mov esi, ebx
test ebx, ebx
jl 0x4896a2
jmp 0x489670
test esi, esi
jl 0x489687
mov eax, dword [edi + 0xfc]
cmp esi, dword [eax + 0x2c]
jge 0x489687
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + esi*4]
jmp 0x489689
xor ecx, ecx
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
or eax, 8
push eax
call edx
sub esi, 1
jns 0x489670
lea eax, [ebx + 1]
mov dword [edi + 0x21c], eax
cmp ebx, 0xffffffff
je 0x4896d4
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x58]
lea ecx, [eax + 0x10]
push ecx
push edx
push eax
mov eax, dword [esp + 0x5c]
push eax
lea eax, [edi + 0x240]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [edi + 0x1a4], 0
je 0x48973d
mov ebx, dword [esp + 0x30]
mov edx, dword [ebx]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, ebx
call eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov esi, dword [ebx]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x54]
push ecx
push eax
push edx
lea ecx, [esp + 0x70]
add esi, 0x74
call fcn.00410170
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esi]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
push eax
sub eax, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x1b4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [esp + 0x9c], 0
je 0x48977c
mov edx, dword [edi]
mov eax, dword [edx + 0x19c]
push 1
push 0
mov ecx, edi
call eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0xc