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

Disassembly:
push 0xffffffffffffffff
push 0x4c489e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x2c]
xor ebp, ebp
cmp ecx, ebp
je 0x4843d0
push ebp
call fcn.00488ce0
test al, al
jne 0x484902
mov eax, dword [esp + 0x8c]
movzx edi, ax
shr eax, 0x10
mov ebx, eax
mov eax, 0xf9
push ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
mov ecx, 0xe9
push edi
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 0xb0
mov dword [esp + 0x54], 5
mov dword [esp + 0x58], 0xc8
mov dword [esp + 0x5c], 0x1d
mov dword [esp + 0x60], 0xa1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], 0xb1
mov dword [esp + 0x70], 0xb4
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0xc4
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x484511
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push ecx
mov dword [esi + 0x10c], 2
call edi
mov eax, dword [esi + 0x28]
cmp eax, ebp
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x484488
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x484488
mov eax, dword [esi + 0x28]
add eax, 4
mov eax, dword [eax]
push ebp
push eax
call edi
mov eax, dword [esi + 0x2c]
cmp eax, ebp
je 0x4844a6
mov ecx, dword [eax + 4]
push ecx
call ebx
test eax, eax
je 0x4844a6
mov esi, dword [esi + 0x2c]
mov edx, dword [esi + 4]
add esi, 4
push ebp
push edx
call edi
lea eax, [esp + 0x14]
push eax
call fcn.00438a40
add esp, 4
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
push 0xe
mov dword [esp + 0x84], ebp
call eax
mov esi, dword [esp + 0x18]
cmp esi, ebp
mov dword [esp + 0x7c], 0xffffffff
je 0x484902
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x484902
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x484902
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x484902
push ebx
push edi
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x484642
cmp dword [esi + 0x2c], ebp
jne 0x484574
push 0x138
call fcn.0048c04e
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, ebp
mov dword [esp + 0x7c], 1
je 0x484554
mov ecx, eax
call fcn.0048a8d0
jmp 0x484556
xor eax, eax
mov edx, dword [esi + 4]
push 0xda
push edx
mov ecx, eax
mov dword [esp + 0x84], 0xffffffff
mov dword [esi + 0x2c], eax
call fcn.00484100
mov ecx, dword [esi + 0x2c]
cmp ecx, ebp
je 0x484636
call fcn.00489030
mov ecx, dword [esi + 0x2c]
call fcn.004898d0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edx, dword [esi + 0x2c]
mov ebp, 2
sub ecx, ebp
push 1
add edi, 0x1e
sub eax, ebp
mov dword [esp + 0x44], ecx
add ebx, ebp
mov dword [esp + 0x40], eax
sub ecx, edi
push ecx
sub eax, ebx
push eax
push edi
add edx, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov edx, dword [edx]
push ebx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [esi + 0x2c]
mov eax, dword [esi + 4]
add esi, 4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x14]
push ecx
call fcn.00438a40
add esp, 4
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
push 0xe
mov dword [esp + 0x84], ebp
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00424a10
add dword [0x4eb278], 1
jmp 0x484902
push ebx
push edi
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x48475a
cmp dword [esi + 0x28], ebp
jne 0x4846a2
push 0x7c
call fcn.0048c04e
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, ebp
mov dword [esp + 0x7c], 3
je 0x484682
mov ecx, eax
call fcn.00481b10
jmp 0x484684
xor eax, eax
mov edx, dword [esi + 4]
push 0xd9
push edx
mov ecx, eax
mov dword [esp + 0x84], 0xffffffff
mov dword [esi + 0x28], eax
call fcn.00484070
mov eax, dword [esi + 0x28]
cmp eax, ebp
je 0x48474e
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48474e
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x28]
add dword [esp + 0x28], 0x1e
mov ebp, 2
add dword [esp + 0x24], ebp
sub dword [esp + 0x2c], ebp
sub dword [esp + 0x30], ebp
push 1
lea eax, [esp + 0x28]
push eax
add ecx, 4
call fcn.00482190
mov esi, dword [esi + 0x28]
mov ecx, dword [esi + 4]
add esi, 4
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x1c]
push edx
call fcn.00438a40
add esp, 4
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
push 0xe
mov dword [esp + 0x84], 4
call edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00424a10
add dword [0x4eb27c], 1
jmp 0x484902
mov eax, dword [esi + 0x12c]
cmp ebx, eax
jl 0x4848e5
mov ecx, dword [esi + 0x134]
add ecx, eax
cmp ebx, ecx
jge 0x4848e5
mov ecx, dword [esi + 0x11c]
cmp ecx, 7
jle 0x48488b
mov eax, dword [esi + 0x13c]
cmp edi, eax
jl 0x4847d3
mov edx, dword [esi + 0x124]
add edx, eax
cmp edi, edx
jge 0x4847d3
mov eax, dword [esi + 0x144]
cmp eax, ebp
jle 0x484902
or ecx, 0xffffffff
add dword [esi + 0x120], ecx
cmp dword [esi + 0x120], eax
jge 0x484902
add eax, ecx
add dword [esi + 0x148], ecx
mov dword [esi + 0x144], eax
jmp 0x484902
mov eax, dword [esi + 0x140]
cmp edi, eax
jl 0x484821
mov edx, dword [esi + 0x124]
add edx, eax
cmp edi, edx
jge 0x484821
mov eax, dword [esi + 0x148]
cmp eax, ecx
jge 0x484902
mov ecx, 1
add dword [esi + 0x120], ecx
cmp dword [esi + 0x120], eax
jl 0x484902
add dword [esi + 0x144], ecx
add eax, ecx
mov dword [esi + 0x148], eax
jmp 0x484902
mov ebx, dword [esi + 0x128]
cmp edi, ebx
jl 0x484902
mov eax, dword [esi + 0x130]
add eax, ebx
cmp edi, eax
jge 0x484902
mov ecx, dword [esi + 0x124]
mov eax, edi
sub eax, ebx
add ecx, 6
cdq
idiv ecx
mov edx, dword [esi + 0x144]
add edx, eax
cmp edx, dword [esi + 0x120]
je 0x484902
imul ecx, eax
sub edi, ecx
sub edi, ebx
cmp edi, dword [esi + 0x124]
jg 0x484902
mov ecx, dword [esi + 4]
push 1
push ebp
push ecx
mov dword [esi + 0x120], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x484902
mov ebx, dword [esi + 0x128]
cmp edi, ebx
jl 0x484902
mov edx, dword [esi + 0x130]
add edx, ebx
cmp edi, edx
jge 0x484902
mov ecx, dword [esi + 0x124]
mov eax, edi
sub eax, ebx
add ecx, 6
cdq
idiv ecx
mov edx, dword [esi + 0x144]
add edx, eax
cmp edx, dword [esi + 0x120]
je 0x484902
imul ecx, eax
sub edi, ecx
sub edi, ebx
cmp edi, dword [esi + 0x124]
jg 0x484902
mov eax, dword [esi + 4]
push 1
push ebp
push eax
mov dword [esi + 0x120], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x484902
mov eax, dword [esi + 4]
movzx ecx, bx
movzx edx, di
shl ecx, 0x10
or ecx, edx
push ecx
push 2
push 0xa1
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x10