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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, ecx
mov dword [esp + 0x34], edx
push ebp
push esi
push edi
movzx esi, word [ebx + 0x42]
xor edi, edi
mov eax, esi
mov dword [esp + 0x18], ebx
and eax, 1
mov dword [esp + 0x28], edi
shl eax, 0x10
and esi, 0xfe00
add eax, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov ebp, dword [eax]
mov eax, dword [ebp + 0x60]
add ebp, 0x60
mov dword [esp + 0x24], ebp
cmp eax, dword [ebx + 0x44]
jae 0x48fb98
lea edx, [esp + 0x28]
call fcn.0048f3f0
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fc34
mov edx, dword [ebx + 0x48]
lea esi, [edi + 1]
mov eax, dword [ebx + 0x44]
lea edi, [ebp + 8]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
nop
mov ebx, dword [edi]
cmp eax, ebx
jbe 0x48fa15
mov ecx, dword [esp + 0x18]
lea ebp, [esi + 3]
push 1
push ebp
push dword [esp + 0x6c]
call fcn.0048f750
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fa00
mov ebx, dword [esp + 0x18]
or eax, 0xffffffff
cmp esi, 1
cmove eax, dword [esp + 0x14]
mov dword [edi], eax
cmp byte [ebx + 0x2b], cl
jne 0x48f8cb
mov eax, dword [ebx + 4]
push 9
push 1
push ebp
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc esi
add edi, 4
cmp esi, 5
jl 0x48f870
mov ebp, dword [esp + 0x24]
cmp dword [ebp], eax
jae 0x48fb79
push 1
push 3
push dword [esp + 0x6c]
mov ecx, ebx
call fcn.0048f750
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fb79
mov edx, dword [esp + 0x68]
mov esi, dword [ebp]
mov dword [esp + 0x3c], esi
test edx, edx
je 0x48f935
mov eax, dword [ebx + 8]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
call eax
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fb57
mov edi, dword [esp + 0x30]
push 0
push dword [esp + 0x20]
push 0
push edi
call fcn.0063e790
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x54]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call eax
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fb57
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x50]
jg 0x48f9a0
jl 0x48f986
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x4c]
jae 0x48f9a0
mov eax, dword [ebx + 4]
lea edx, [esp + 0x4c]
push edx
push 5
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x28]
call eax
add esp, 0xc
nop dword [eax + eax]
mov ecx, dword [esp + 0x28]
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 4]
sub eax, 1
mov dword [esp + 0x34], eax
js 0x48fa55
lea eax, [eax + eax*4]
lea eax, [eax + 5]
lea esi, [ecx + eax*4]
nop word [eax + eax]
mov eax, dword [esi - 0xc]
mov ebx, dword [esi]
cmp eax, ebx
jge 0x48fa35
mov ecx, dword [esi - 8]
mov ebp, dword [esi - 4]
lea edx, [ecx + eax*2]
movzx edi, word [edx]
mov ecx, dword [ebp + edi*4]
cmp ecx, dword [esp + 0x44]
ja 0x48fa1e
inc eax
add edx, 2
mov dword [esi - 0xc], eax
cmp eax, ebx
jl 0x48f9e2
mov ebp, dword [esp + 0x2c]
jmp 0x48fa35
cmp ecx, 5
jne 0x48fc22
mov eax, ebx
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x18]
jmp 0x48f8d3
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jae 0x48fa35
mov eax, edi
mov ebp, ecx
add eax, dword [esi + 4]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
sub esi, 0x14
dec eax
mov dword [esp + 0x34], eax
test eax, eax
jns 0x48f9d0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov dword [ecx], ebp
cmp ebp, 0xffffffff
je 0x48faf0
mov ecx, dword [esp + 0x38]
cmp ecx, esi
jbe 0x48f9a0
cmp ecx, dword [esp + 0x14]
ja 0x48f9a0
cmp ebp, edi
ja 0x48f9a0
mov eax, dword [esp + 0x1c]
dec ecx
mov esi, dword [ebx + 8]
add eax, 0x18
mul ecx
mov edi, dword [esi]
add eax, 0x38
adc edx, 0
push edx
push eax
push dword [esp + 0x24]
mov eax, dword [edi + 8]
push dword [esp + 0x78]
push esi
call eax
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fb57
mov esi, dword [ebx + 4]
lea eax, [ebp - 1]
mov ebp, dword [esp + 0x1c]
push ecx
push ebp
mov edi, dword [esi]
push ecx
push eax
call fcn.0063e790
push edx
push eax
mov eax, dword [edi + 0xc]
push ebp
push dword [esp + 0x78]
push esi
call eax
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fb57
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
jmp 0x48f9a0
mov eax, dword [ebx + 0x20]
mov ebp, dword [esp + 0x14]
mov eax, dword [eax]
cmp ebp, dword [eax + 0x10]
jne 0x48fb4d
push 0
push dword [esp + 0x20]
push 0
push dword [ebx + 0x48]
call fcn.0063e790
mov ecx, dword [ebx + 4]
mov esi, eax
push edx
push esi
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fb57
mov edx, dword [esp + 0x68]
test edx, edx
je 0x48fb51
mov eax, dword [ebx + 4]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
call eax
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x48fb57
jmp 0x48fb51
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [eax], ebp
cmp byte [ebx + 0x2b], 0
jne 0x48fb75
mov eax, dword [ebx + 4]
push 9
push 1
push 3
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov ebp, dword [esp + 0x24]
cmp ecx, 5
jne 0x48fb86
mov esi, dword [esp + 0x20]
xor edi, edi
jmp 0x48fb9c
mov edi, dword [esp + 0x10]
test ecx, ecx
jne 0x48fc26
mov esi, dword [esp + 0x20]
jmp 0x48fb9c
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x48fc26
mov eax, dword [ebp]
cmp eax, dword [ebx + 0x44]
jae 0x48fbb7
mov edi, 5
jmp 0x48fc26
cmp ecx, 2
jl 0x48fc26
lea eax, [esp + 0x48]
push eax
push 4
call fcn.00482fd0
push 4
push 4
push dword [esp + 0x74]
mov edx, esi
mov ecx, ebx
call fcn.0048f750
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x48fc26
cmp dword [esp + 0x40], 3
jne 0x48fc06
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.0048f7a0
mov eax, dword [ebx + 8]
push edi
push edi
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
mov edi, eax
cmp byte [ebx + 0x2b], 0
jne 0x48fc26
mov eax, dword [ebx + 4]
push 9
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
jmp 0x48fc26
mov edi, dword [esp + 0x10]
push dword [esp + 0x28]
call fcn.00480d40
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret