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

Disassembly:
sub esp, 0x1a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1b0]
push edi
cmp dword [esi + 0x58], 2
jl 0x48f656
mov eax, dword [esi + 4]
test eax, eax
jne 0x48f3d2
pop edi
pop esi
pop ebp
mov eax, 0xffffff76
pop ebx
add esp, 0x1a0
ret
mov edi, dword [esp + 0x1bc]
mov ebx, dword [esp + 0x1b8]
test edi, edi
jl 0x48f656
jg 0x48f3f2
test ebx, ebx
jb 0x48f656
cmp edi, dword [esi + 0x14]
jg 0x48f656
jl 0x48f406
cmp ebx, dword [esi + 0x10]
ja 0x48f656
or eax, 0xffffffff
push esi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.0048f670
push edi
push ebx
push esi
call fcn.0048ed10
lea eax, [esp + 0x58]
xor ebp, ebp
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebp
call fcn.004a4ad0
mov ebx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [esi + 0x58]
mov edi, 3
cmp eax, edi
jne 0x48f4c9
lea ecx, [esp + 0x28]
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.004a5310
add esp, 8
test eax, eax
jle 0x48f4c9
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x48]
shl eax, 5
add eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x48f480
lea edx, [esp + 0x28]
push edx
push eax
call fcn.004a6c10
add esp, 8
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x48f494
lea eax, [esi + 0x78]
push 0
push eax
call fcn.004a5310
add esp, 8
jmp 0x48f4ab
test ebp, ebp
je 0x48f4ab
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, ebp
sar ecx, 2
add eax, ecx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, edi
and edx, ecx
cmp edx, 0xffffffff
jne 0x48f5ad
mov ebp, dword [esp + 0x14]
jmp 0x48f436
test ebp, ebp
jne 0x48f633
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push esi
call fcn.0048e970
add esp, 0x10
test edx, edx
jl 0x48f5f4
jg 0x48f4f5
test eax, eax
jb 0x48f5f4
cmp dword [esi + 0x58], edi
jne 0x48f524
lea ecx, [esp + 0x18]
push ecx
call fcn.004a4a70
mov ecx, dword [esi + 0x5c]
add esp, 4
cmp ecx, eax
je 0x48f521
push esi
call fcn.0048f670
lea edx, [esp + 0x4c]
push edx
call fcn.004a4b60
add esp, 8
cmp dword [esi + 0x58], edi
jge 0x48f57c
lea eax, [esp + 0x18]
push eax
call fcn.004a4a70
mov edx, dword [esi + 0x34]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x5c], eax
test edx, edx
jle 0x48f553
mov edi, dword [esi + 0x40]
cmp dword [edi], eax
je 0x48f54e
inc ecx
add edi, 4
cmp ecx, edx
jl 0x48f542
mov edi, 3
cmp ecx, edx
je 0x48f607
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x78]
push eax
push ecx
call fcn.004a52f0
mov edx, dword [esi + 0x5c]
lea eax, [esp + 0x50]
push edx
push eax
call fcn.004a52f0
add esp, 0x10
mov dword [esi + 0x58], edi
lea ecx, [esp + 0x18]
lea edx, [esi + 0x78]
push ecx
push edx
call fcn.004a4f90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.004a4f90
lea edx, [esp + 0x28]
push edx
call fcn.004a4980
add esp, 0x14
mov ebx, eax
jmp 0x48f436
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x44]
mov ebx, edx
shl ebx, 4
sub edi, dword [ebx + eax]
sbb ecx, dword [ebx + eax + 4]
test ecx, ecx
jg 0x48f5cd
jl 0x48f5c9
test edi, edi
jae 0x48f5cd
xor edi, edi
xor ecx, ecx
test edx, edx
jle 0x48f5e3
add eax, 8
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add edi, ebx
adc ecx, ebp
add eax, 0x10
dec edx
jne 0x48f5d4
mov eax, dword [esp + 0x10]
cdq
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
jmp 0x48f63c
push 0xffffffffffffffff
push esi
call fcn.0048f2a0
mov dword [esi + 0x50], eax
add esp, 8
mov dword [esi + 0x54], edx
jmp 0x48f63c
or eax, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea eax, [esp + 0x48]
push eax
call fcn.004a4b60
push esi
call fcn.0048f670
add esp, 8
mov eax, 0xffffff77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret
or eax, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004a4b60
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffff7d
pop ebx
add esp, 0x1a0
ret