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

Disassembly:
push 0xffffffffffffffff
push 0x4ea15c
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 0x48d107
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.0048ee20
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x20]
push eax
call fcn.004d9bcd
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 0x48cb6b
mov edx, dword [esp + 0x20]
push 0x14218d4
push edx
call fcn.004c8674
add esp, 8
mov dword [esp + 0x44], 1
test eax, eax
je 0x48cb6f
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 0x48cb99
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 0x48cbc1
lea eax, [esp + 0x74]
mov ecx, ebp
push eax
push edi
call fcn.0048e440
test eax, eax
je 0x48cbc1
mov edi, 1
jmp 0x48cbc3
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.00490e90
cmp edi, ebx
mov byte [esp + 0x204], 1
je 0x48cc4c
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, ebp
call fcn.0048e4b0
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.004e31ed
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 0x48cdcd
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 0x48ccc8
mov eax, dword [edi + edx*4]
test eax, eax
je 0x48ccc4
cmp dword [eax + 8], ecx
je 0x48ccbc
mov eax, dword [eax]
test eax, eax
jne 0x48ccaf
jmp 0x48ccc4
test eax, eax
jne 0x48cd9d
test edi, edi
jne 0x48ccf8
lea ebp, [ebx*4]
push ebp
call fcn.004d98a0
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 0x48cd40
mov eax, dword [esi + 0x94]
push 0x20
lea ecx, [esi + 0x90]
push eax
push ecx
call fcn.004d91c5
mov ecx, dword [esi + 0x94]
mov edx, ecx
shl edx, 5
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x1c]
jl 0x48cd40
inc ecx
mov edx, dword [esi + 0x8c]
mov dword [eax], edx
mov dword [esi + 0x8c], eax
sub eax, 0x20
dec ecx
jne 0x48cd2c
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.0048e9c0
lea ecx, [edi + 0xc]
push 1
push ecx
call fcn.0048b8b0
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.0048e390
push eax
lea eax, [esp + 0xc0]
push eax
mov ecx, ebp
call fcn.0048dee0
xor ebx, ebx
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x48ce05
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 0x48ce14
mov ecx, dword [esi + 0x118]
lea edx, [esp + 0x9c]
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.004e30e2
cmp dword [esp + 0x1f4], ebx
jle 0x48ce81
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.00491a90
cmp dword [esp + 0x44], ebx
je 0x48cf42
mov edx, dword [esi + 0x124]
lea ecx, [esp + 0x28]
push edx
push 1
push ebx
call fcn.004e09ed
lea eax, [esp + 0x28]
lea ecx, [esp + 0xac]
push eax
mov byte [esp + 0x208], 2
call fcn.004dffd4
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x114]
mov edx, dword [eax + 0x110]
cmp ecx, edx
jne 0x48cedd
cmp ecx, dword [eax + 0x118]
jne 0x48cedd
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 2]
jmp 0x48cee8
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.004e04c5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004e0511
push esi
lea ecx, [esp + 0xb0]
call fcn.004dffd4
mov dword [esp + 0x28], 0x13ff728
lea ecx, [esp + 0x28]
mov byte [esp + 0x204], 3
call fcn.004e09d7
jmp 0x48d0df
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.0048d4b0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add esp, 0x14
cmp eax, ebx
jne 0x48cf89
cmp ecx, ebx
je 0x48cfd7
cmp dword [esp + 0x24], ebx
jne 0x48cfa7
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.0048d510
push 0xc
call fcn.004d98a0
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 0x48d01b
mov ecx, dword [ebp + 0x14]
push ebx
push 0x10
add ecx, 0xb
push ebx
push ecx
lea ecx, [esp + 0x8c]
call fcn.004e320b
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.0048d790
cmp edi, ebx
jne 0x48d0df
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 0x48d090
mov eax, dword [esi + edx*4]
cmp eax, ebx
je 0x48d090
cmp dword [eax + 8], ecx
je 0x48d089
mov eax, dword [eax]
cmp eax, ebx
jne 0x48d07c
jmp 0x48d090
cmp eax, ebx
je 0x48d090
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.0048da10
lea ecx, [esp + 0xac]
mov byte [esp + 0x204], 0
call fcn.00490f20
lea ecx, [esp + 0x20]
mov dword [esp + 0x204], 0xffffffff
call fcn.004d9b5f
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f8
ret 4