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

Disassembly:
sub esp, 0x68
xor edx, edx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x34]
cmp ecx, edx
mov dword [esp + 8], ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], edx
mov word [esp + 0x62], dx
mov word [esp + 0x60], dx
mov word [esp + 0x5e], dx
mov word [esp + 0x5c], dx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
jne 0x48e04d
mov dword [esp + 4], edx
jmp 0x48e059
mov eax, dword [ebp + 0x38]
sub eax, ecx
sar eax, 2
mov dword [esp + 4], eax
cmp dword [ebp + 0x10], edx
je 0x48e27a
mov eax, dword [ebp]
mov edx, dword [eax + 0xd4]
push ebx
push esi
mov esi, dword [esp + 0x78]
mov ebx, dword [esi + 0xc]
sub ebx, dword [esi + 4]
push edi
mov edi, dword [esi + 8]
sub edi, dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [ebp + 0x10]
push 0
push ebx
push edi
push eax
push ecx
push edx
call fcn.004997f0
mov eax, dword [ebp]
mov edx, dword [eax + 0xd4]
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call edx
mov edi, dword [esp + 0x50]
sub edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
sub ebp, dword [esp + 0x5c]
sub edi, dword [esp + 0x30]
sub ebp, dword [esp + 0x34]
add edi, dword [esp + 0x38]
add ebp, dword [esp + 0x3c]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x7c], 0
jbe 0x48e269
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x34]
add ebx, 0x30
test esi, esi
je 0x48e283
mov ecx, dword [ebx + 8]
mov eax, ecx
sub eax, esi
sar eax, 2
cmp eax, dword [esp + 0x7c]
jbe 0x48e283
cmp esi, ecx
jbe 0x48e111
call fcn.0051820b
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], esi
lea esi, [esi + eax*4]
cmp esi, dword [ebx + 8]
ja 0x48e126
cmp esi, dword [ebx + 4]
jae 0x48e12b
call fcn.0051820b
cmp esi, dword [ebx + 8]
jb 0x48e135
call fcn.0051820b
mov esi, dword [esi]
mov edx, dword [esi]
mov edx, dword [edx + 0x94]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x70], 0
je 0x48e184
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
add ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
jmp 0x48e1b2
cmp word [esp + 0x6a], 0
je 0x48e1aa
test edi, edi
je 0x48e1aa
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
add ebx, edi
add ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
jmp 0x48e1b2
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x60], 0
je 0x48e1d8
mov eax, ebx
sub eax, ecx
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
mov edx, eax
sub edx, ebx
add ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x74], 0
je 0x48e1e9
mov eax, dword [esp + 0x44]
add dword [esp + 0x2c], ebp
jmp 0x48e23f
cmp dword [esp + 0x64], 0
je 0x48e213
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov eax, ebx
sub eax, ecx
sub eax, dword [esp + 0x34]
sub ecx, ebx
add eax, dword [esp + 0x3c]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x48e23f
cmp word [esp + 0x6e], 0
je 0x48e243
test ebp, ebp
je 0x48e243
mov ecx, dword [esp + 0x4c]
mov eax, ecx
sub eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x54]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
sub eax, ecx
add eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov edx, dword [esi]
mov edx, dword [edx + 0xb4]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x7c]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
jb 0x48e0e2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb8]
call edx
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x68
ret 4
call fcn.0042ae60
int3