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

Disassembly:
sub esp, 0xe4
push ebx
mov ebx, dword [esp + 0xec]
mov eax, ebx
and eax, 0xfffff000
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x44], ecx
push edi
mov edi, dword [edx + 0x128]
mov eax, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
inc ecx
cmp ecx, eax
mov dword [esp + 0x90], edi
jg 0x48ed1f
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
inc edx
cmp edx, eax
jg 0x48ed1f
lea eax, [ebx + 0x30]
push eax
call fcn.0043d750
add esp, 4
test eax, eax
jne 0x48ed2d
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0xe4
ret 0xc
push esi
lea eax, [esp + 0xb8]
push edi
push eax
call fcn.0043d1c0
lea ecx, [esp + 0x24]
push ecx
call fcn.0043bf60
mov eax, dword [ebx + 0x18]
add esp, 0xc
test eax, eax
mov esi, 7
je 0x48ed6e
cmp dword [eax + 0x78], 2
jne 0x48ed6e
push 1
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.0048e0c0
jmp 0x48ee8d
mov ecx, ebx
call fcn.004826b0
test eax, eax
je 0x48ed8c
push 1
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0048e0c0
jmp 0x48ee8d
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x48edec
cmp dword [eax + 0x78], esi
jne 0x48edb7
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x1c]
push ecx
movzx ecx, word [edx + 0x5a]
push ecx
lea edx, [eax + 0x10]
push edx
add eax, 0x3c
push eax
call fcn.0044d9a0
add esp, 0x10
jmp 0x48edec
test eax, eax
je 0x48edec
mov eax, dword [eax + 0x78]
cmp eax, 9
je 0x48edec
cmp eax, 4
je 0x48edec
push 0
mov ecx, ebx
call fcn.004865d0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x48ee8d
jmp 0x48ee00
lea eax, [esp + 0x50]
push eax
call fcn.0043bf60
mov eax, dword [edi + 0x18]
add esp, 4
test eax, eax
je 0x48ee6d
cmp dword [eax + 0x78], esi
jne 0x48ee38
mov edx, dword [edi + 4]
lea ecx, [esp + 0x50]
push ecx
movzx ecx, word [edx + 0x5a]
push ecx
lea edx, [eax + 0x10]
push edx
add eax, 0x3c
push eax
call fcn.0044d9a0
add esp, 0x10
jmp 0x48ee6d
test eax, eax
je 0x48ee6d
mov eax, dword [eax + 0x78]
cmp eax, 9
je 0x48ee6d
cmp eax, 4
je 0x48ee6d
push 0
mov ecx, edi
call fcn.004865d0
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
mov edx, eax
push edx
call fcn.0043e070
mov edi, dword [edi + 0xc]
add esp, 0xc
test edi, edi
jne 0x48ee00
cmp dword [esp + 0x1c], 0x7ffffff
je 0x48f1f9
fld qword [0x5d76b8]
sub esp, 8
mov ecx, esi
fstp qword [esp]
lea eax, [esp + 0x68]
lea esi, [ebx + 0x30]
lea edi, [esp + 0x68]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0043c530
add esp, 4
fld qword [0x5d76b8]
lea ecx, [esp + 0x68]
fstp qword [esp]
push ecx
call fcn.0043c560
add esp, 0xc
mov ecx, ebx
call fcn.00448680
test eax, eax
je 0x48ef06
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x20]
mov cl, byte [eax + 0x129]
test cl, cl
jne 0x48ef06
lea ecx, [esp + 0x60]
push ecx
mov edx, ecx
push edx
add eax, 0x34c
push eax
call fcn.0043cdb0
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ebx, dword [ebp + 4]
mov eax, dword [esp + 0x24]
mov esi, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov edi, edx
sub edi, ebx
mov ebx, dword [ebp + 8]
sub ebx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [ebp + 0xc]
sub esi, ecx
test esi, esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], eax
jle 0x48f1f9
test edi, edi
jle 0x48f1f9
test ebx, ebx
jle 0x48f1f9
test eax, eax
jle 0x48f1f9
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x44]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0043c680
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.0043c680
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x94], edx
add edx, ebx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x48]
mov ebp, edx
sub ebp, dword [esp + 0x30]
mov dword [esp + 0x68], eax
add eax, esi
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov eax, ecx
sub eax, edi
add ebp, esi
add esp, 0x18
inc ebp
cmp ebp, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x88], edx
jle 0x48f04c
lea edx, [edi + esi + 1]
mov edi, dword [esp + 0x10]
push edx
sub ecx, edi
push ecx
call fcn.004e8690
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x90]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x8c]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, edx
sub esi, eax
lea edi, [ecx + ebx + 1]
cmp edi, esi
jle 0x48f0ac
lea eax, [eax + ebx + 1]
push eax
sub edx, ecx
push edx
call fcn.004e8690
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x48]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x18]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [esp + 0x30]
sub edx, eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb4], eax
add edi, 0x10
xor eax, eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0x18], eax
jmp 0x48f120
mov eax, dword [esp + 0x18]
lea esp, [esp]
mov ecx, dword [esp + eax + 0x7c]
mov edx, dword [esp + eax + 0x80]
mov ebx, dword [esp + eax + 0xa8]
mov ebp, dword [esp + eax + 0xac]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
xor esi, esi
jmp 0x48f150
mov eax, dword [esp + esi + 0x98]
mov ecx, dword [esp + esi + 0x9c]
mov edx, dword [esp + esi + 0x50]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + esi + 0x54]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x94]
push eax
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xf0], ecx
push edi
lea ecx, [esp + 0xec]
mov dword [esp + 0xf8], edx
push ecx
lea edx, [esp + 0xe0]
push edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebp
call fcn.0043d5d0
add esi, 4
add esp, 0x10
add edi, 0x1c
cmp esi, 0xc
jl 0x48f150
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x18], eax
jl 0x48f115
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0xe4
ret 0xc
pop esi
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0xe4
ret 0xc