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

Disassembly:
push 0xffffffffffffffff
push 0x4b89bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x64], ebp
cmp esi, ebx
je 0x48a6d7
mov eax, dword [esp + 0x20c]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0xe8], ecx
lea edx, [esp + 0xe8]
mov edi, dword [eax + 0x2c]
push ebx
mov dword [esp + 0xf0], edi
mov eax, dword [esi + 0x40]
neg eax
sbb eax, eax
push edx
and eax, 0xfffff810
mov dword [esp + 0x44], edi
add eax, 0x7f6
push eax
call fcn.0048c3f0
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x20]
push eax
call fcn.004a7553
mov ecx, dword [esp + 0x20c]
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x204], ebx
mov edx, dword [ecx + 0x18]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x50], edx
sete cl
cmp eax, ebx
mov dword [esp + 0x38], ecx
jle 0x48a13b
mov edx, dword [esp + 0x20]
push 0x501264
push edx
call fcn.00496d24
add esp, 8
mov dword [esp + 0x44], 1
test eax, eax
je 0x48a13f
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x20c]
lea ecx, [esp + 0x10]
add eax, 0x1c
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x38], ebx
je 0x48a169
push ebx
lea edx, [esp + 0x14]
push 1
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], ebx
cmp eax, ebx
mov dword [esp + 0x78], ebx
jne 0x48a191
lea eax, [esp + 0x74]
mov ecx, ebp
push eax
push edi
call fcn.0048ba10
test eax, eax
je 0x48a191
mov edi, 1
jmp 0x48a193
xor edi, edi
mov eax, dword [esp + 0x50]
lea ecx, [esi + 0x1a8]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0048e510
cmp edi, ebx
mov byte [esp + 0x204], 1
je 0x48a21c
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, ebp
call fcn.0048ba80
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
push ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
push ebx
add ecx, eax
mov dword [esp + 0x94], eax
sub eax, ecx
mov dword [esp + 0x9c], ecx
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], edx
call fcn.004b0c1a
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
cmp edi, ebx
lea edx, [eax + ecx + 6]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
je 0x48a39d
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esi + 0x84]
mov eax, ecx
xor edx, edx
shr eax, 4
div ebx
mov edi, dword [esi + 0x80]
test edi, edi
mov dword [esp + 0x54], edx
je 0x48a298
mov eax, dword [edi + edx*4]
test eax, eax
je 0x48a294
cmp dword [eax + 8], ecx
je 0x48a28c
mov eax, dword [eax]
test eax, eax
jne 0x48a27f
jmp 0x48a294
test eax, eax
jne 0x48a36d
test edi, edi
jne 0x48a2c8
lea ebp, [ebx*4]
push ebp
call fcn.004a7226
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x80], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 0x84], ebx
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x48a310
mov eax, dword [esi + 0x94]
push 0x20
lea ecx, [esi + 0x90]
push eax
push ecx
call fcn.004a6cb0
mov ecx, dword [esi + 0x94]
mov edx, ecx
shl edx, 5
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x1c]
jl 0x48a310
inc ecx
mov edx, dword [esi + 0x8c]
mov dword [eax], edx
mov dword [esi + 0x8c], eax
sub eax, 0x20
dec ecx
jne 0x48a2fc
mov edi, dword [esi + 0x8c]
mov ebp, dword [esi + 0x88]
inc ebp
push 1
mov eax, dword [edi]
mov dword [esi + 0x88], ebp
lea ebp, [edi + 8]
mov dword [esi + 0x8c], eax
push ebp
call fcn.0048bf90
lea ecx, [edi + 0xc]
push 1
push ecx
call fcn.00488e80
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov dword [ebp], edx
mov edx, dword [esi + 0x80]
mov ebp, dword [esp + 0x64]
mov eax, edi
mov edx, dword [edx + ecx*4]
mov dword [edi], edx
mov edx, dword [esi + 0x80]
mov dword [edx + ecx*4], edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.0048b960
push eax
lea eax, [esp + 0xc0]
push eax
mov ecx, ebp
call fcn.0048b4b0
xor ebx, ebx
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x48a3d5
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x100]
mov dword [esp + 0x30], eax
inc ecx
lea eax, [esp + 0x28]
push edx
mov dword [esp + 0x38], ecx
push eax
jmp 0x48a3e4
mov ecx, dword [esi + 0x118]
lea edx, [esp + 0x9c]
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.004b0b0f
cmp dword [esp + 0x1f4], ebx
jle 0x48a451
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x114]
lea eax, [edx + eax + 6]
mov edx, dword [esi + 0x110]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], ecx
push ebx
lea eax, [esp + 0x2c]
push 2
lea ecx, [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x3c], edx
call fcn.0048f110
cmp dword [esp + 0x44], ebx
je 0x48a512
mov edx, dword [esi + 0x124]
lea ecx, [esp + 0x28]
push edx
push 1
push ebx
call fcn.004ae385
lea eax, [esp + 0x28]
lea ecx, [esp + 0xac]
push eax
mov byte [esp + 0x208], 2
call fcn.004ad96c
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x114]
mov edx, dword [eax + 0x110]
cmp ecx, edx
jne 0x48a4ad
cmp ecx, dword [eax + 0x118]
jne 0x48a4ad
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 2]
jmp 0x48a4b8
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
lea eax, [edx + eax + 0xb]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x64]
inc ecx
push ecx
push eax
push edx
lea ecx, [esp + 0xb8]
call fcn.004ade5d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004adea9
push esi
lea ecx, [esp + 0xb0]
call fcn.004ad96c
mov dword [esp + 0x28], 0x4e36d8
lea ecx, [esp + 0x28]
mov byte [esp + 0x204], 3
call fcn.004ae36f
jmp 0x48a6af
lea edx, [esp + 0x48]
lea eax, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x214]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
mov ecx, dword [eax + 0x10]
push edx
push ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebx
call fcn.0048aa80
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add esp, 0x14
cmp eax, ebx
jne 0x48a559
cmp ecx, ebx
je 0x48a5a7
cmp dword [esp + 0x24], ebx
jne 0x48a577
push ecx
push ebx
push eax
lea edx, [esp + 0x1c]
push edi
lea eax, [esp + 0xbc]
push edx
push eax
mov ecx, ebp
call fcn.0048aae0
push 0xc
call fcn.004a7226
mov ecx, dword [esi + 0x44]
add esp, 4
mov dword [eax], ecx
mov edx, dword [esi + 0x48]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x1f0]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x1c]
push ebx
push eax
push 0x8121
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
cmp edi, ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
jne 0x48a5eb
mov ecx, dword [ebp + 0x14]
push ebx
push 0x10
add ecx, 0xb
push ebx
push ecx
lea ecx, [esp + 0x8c]
call fcn.004b0c38
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x54]
push edi
lea ecx, [esp + 0x84]
push eax
mov eax, dword [esp + 0x218]
push ecx
push edx
lea ecx, [esp + 0xc0]
push eax
push ecx
mov ecx, ebp
call fcn.0048ad60
cmp edi, ebx
jne 0x48a6af
mov ecx, dword [esp + 0x1f0]
xor edx, edx
mov eax, ecx
mov edi, 0xfffffffe
shr eax, 4
div dword [esi + 0x178]
mov esi, dword [esi + 0x174]
cmp esi, ebx
je 0x48a660
mov eax, dword [esi + edx*4]
cmp eax, ebx
je 0x48a660
cmp dword [eax + 8], ecx
je 0x48a659
mov eax, dword [eax]
cmp eax, ebx
jne 0x48a64c
jmp 0x48a660
cmp eax, ebx
je 0x48a660
mov edi, dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], eax
lea edx, [ecx + eax + 6]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x60]
push edi
lea ecx, [esp + 0xbc]
push eax
push ecx
mov ecx, ebp
call fcn.0048afe0
lea ecx, [esp + 0xac]
mov byte [esp + 0x204], 0
call fcn.0048e5a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x204], 0xffffffff
call fcn.004a74e5
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f8
ret 4