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

Disassembly:
push 0x5c
mov eax, 0x48fc47
call fcn.0046791f
mov dword [ebp - 0x14], edx
mov esi, ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebx + 4], edi
jbe 0x487201
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
mov dword [ebp + 8], eax
lea edi, [eax + 0x78]
cmp dword [edi + 4], 0
jne 0x48707d
cmp dword [edi + 8], 0
jne 0x48707d
cmp byte [edi + 2], 0
jne 0x487061
cmp byte [edi], 0
jne 0x48707d
cmp byte [edi + 1], 0
jne 0x48707d
cmp dword [edi + 0x1c], 0
jne 0x48707d
cmp dword [edi + 0x28], 0
jne 0x48707d
cmp dword [edi + 0xc], 0
jl 0x4871f1
cmp dword [esi + 4], 0
jne 0x487097
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00471a02
mov ecx, esi
call fcn.00471a46
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], 0
je 0x4870af
add eax, 0x18
mov ecx, esi
push eax
call fcn.004719c7
mov ecx, esi
call fcn.00471a46
mov edx, edi
mov ecx, esi
call fcn.00487406
cmp dword [edi + 0xc], 0
jl 0x4871f1
push 0x4a2864
push 0x49
pop edx
lea ecx, [ebp - 0x44]
call fcn.0048a6bb
and dword [ebp - 4], 0
mov ecx, esi
push eax
call fcn.004719c7
mov ecx, esi
call fcn.00471a46
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x44]
call fcn.0042cb3a
pop ecx
mov ecx, dword [edi + 0xc]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x3c], ecx
jne 0x487134
mov edx, 0xbcb
lea ecx, [ebp - 0x2c]
call fcn.00475b7a
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004719c7
mov ecx, esi
call fcn.00471a46
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call fcn.0042cb3a
jmp 0x4871f0
test ecx, ecx
jns 0x48713f
mov edx, 0x4a2840
jmp 0x48714b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x20]
call fcn.004873c0
push eax
mov edx, 0xbc9
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00487d01
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004719c7
mov ecx, esi
call fcn.00471a46
push dword [ebp - 0x38]
call fcn.0042cb3a
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call fcn.0042cb3a
pop ecx
pop ecx
mov ecx, dword [edi + 0x3c]
test ecx, ecx
jns 0x48719f
mov edx, 0x4a2840
jmp 0x4871ab
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x5c]
call fcn.004873c0
push eax
mov edx, 0xbca
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00487d01
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004719c7
mov ecx, esi
call fcn.00471a46
push dword [ebp - 0x50]
call fcn.0042cb3a
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x5c]
call fcn.0042cb3a
pop ecx
pop ecx
mov edi, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebx + 4]
jb 0x48703f
cmp dword [ebx + 0x3c], 0
mov edi, dword [ebp + 0x10]
push 0xa
pop edx
jge 0x487215
test edi, edi
je 0x48739e
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00471a02
mov ecx, esi
call fcn.00471a46
cmp dword [ebx + 4], 0
je 0x48723e
lea eax, [ebx + 0x24]
mov ecx, esi
push eax
call fcn.004719c7
mov ecx, esi
call fcn.00471a46
cmp dword [ebx + 0x3c], 0
jge 0x487273
cmp edi, 1
je 0x487273
mov edx, edi
lea ecx, [ebp - 0x68]
call fcn.0048a695
push eax
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.004719c7
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x68]
call fcn.0042cb3a
jmp 0x487389
lea ecx, [ebp - 0x2c]
mov edi, 0xbbd
call fcn.00472387
mov dword [ebp - 4], 6
cmp byte [ebx + 0x21], 0
je 0x487290
inc edi
jmp 0x4872ca
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
js 0x4872ca
mov eax, dword [ebp - 0x14]
mov edi, 0xbc9
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x68]
mov edx, dword [eax + 0x10]
call fcn.004873c0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00472441
mov byte [ebp - 4], 6
push dword [ebp - 0x68]
call fcn.0042cb3a
pop ecx
lea eax, [ebp - 0x2c]
mov edx, edi
push eax
lea ecx, [ebp - 0x20]
call fcn.00487d01
mov edi, 0x4a2878
mov byte [ebp - 4], 8
push edi
lea ecx, [ebp - 0x44]
call fcn.004724f3
push 0x4a287c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.004724f3
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.00471726
push dword [ebp - 0x38]
call fcn.0042cb3a
mov byte [ebp - 4], 8
push dword [ebp - 0x44]
call fcn.0042cb3a
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.004724f3
push 0x4a2884
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004724f3
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00471726
push dword [ebp - 0x44]
call fcn.0042cb3a
mov byte [ebp - 4], 8
push dword [ebp - 0x38]
call fcn.0042cb3a
pop ecx
pop ecx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004719c7
push dword [ebp - 0x20]
call fcn.0042cb3a
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call fcn.0042cb3a
pop ecx
pop ecx
mov ecx, esi
call fcn.00471a46
lea edx, [ebx + 0x30]
mov ecx, esi
call fcn.00487406
push 0xa
pop edx
mov eax, dword [esi + 4]
test eax, eax
je 0x4873b8
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], dx
jne 0x4873b8
dec eax
xor edx, edx
mov dword [esi + 4], eax
mov word [ecx + eax*2], dx
call fcn.004678f9
ret 0xc