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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, ecx
mov edx, 0xf30a
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], edi
movzx eax, word [ecx + 2]
movzx esi, word [ecx + 6]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], esi
movzx eax, si
cmp word [ecx], dx
jne 0x4b6eb3
mov edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
js 0x4b6ec0
dec eax
cmp edx, eax
je 0x4b6ec4
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x1c], eax
lea eax, [eax + eax*2]
add eax, 3
shl eax, 2
cmp eax, dword [ebp + 0xc]
ja 0x4b6eb3
cmp esi, 6
jae 0x4b6eb3
test si, si
jne 0x4b7050
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jbe 0x4b71db
mov edi, dword [ebp + 0x10]
lea eax, [ecx + 0x12]
mov ecx, 0x8000
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ecx
mov esi, dword [eax - 6]
movzx eax, word [eax - 2]
mov edx, eax
mov dword [esp + 0x30], esi
mov word [esp + 0x34], ax
mov byte [esp + 0x36], 1
cmp dx, cx
jbe 0x4b6f3d
lea eax, [edx + 0x8000]
mov byte [esp + 0x36], 0
mov word [esp + 0x34], ax
cmp dx, word [esp + 0x20]
lea eax, [edx + 0x8000]
movzx ecx, ax
mov eax, edx
cmovbe ecx, eax
movzx eax, cx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
movzx eax, word [ecx]
cdq
mov edx, dword [ecx + 2]
xor ecx, ecx
or ecx, eax
mov dword [esp + 0x28], edx
mov eax, edx
mov dword [esp + 0x10], ecx
or eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
je 0x4b6eb3
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0x8c]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x10], eax
ja 0x4b6eb3
jb 0x4b6fa8
cmp edx, ecx
ja 0x4b6eb3
mov eax, dword [esp + 0x14]
movzx eax, ax
cdq
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x2c]
ja 0x4b6eb3
jb 0x4b6fcc
cmp eax, ecx
ja 0x4b6eb3
mov ecx, dword [esp + 0x14]
movzx eax, cx
add eax, esi
cmp eax, esi
jb 0x4b6eb3
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4b6fec
test esi, esi
je 0x4b7014
xor edx, edx
jmp 0x4b7009
mov eax, dword [edi]
add ecx, ecx
cmp esi, dword [eax + ecx*8 - 0x10]
jb 0x4b6eb3
movzx edx, word [eax + ecx*8 - 0xc]
add edx, dword [eax + ecx*8 - 0x10]
cmp esi, edx
je 0x4b7014
sub esi, edx
push esi
mov ecx, edi
call fcn.004b6e00
add esp, 4
movups xmm0, xmmword [esp + 0x30]
sub esp, 0x10
mov ecx, edi
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00439100
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
inc ecx
add eax, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
cmp ecx, dword [esp + 0x1c]
jae 0x4b71db
mov ecx, 0x8000
jmp 0x4b6f11
mov ecx, dword [edi + 0x78]
mov esi, 1
shl esi, cl
mov dword [esp + 0x14], esi
cmp esi, dword [edi + edx*8 + 0x164]
je 0x4b70b4
mov eax, dword [edi + edx*8 + 0x160]
test eax, eax
je 0x4b708a
push eax
call fcn.00588148
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [edi + edx*8 + 0x160], 0
mov dword [edi + edx*8 + 0x164], 0
test esi, esi
je 0x4b70b4
push esi
call fcn.0058813f
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + ecx*8 + 0x160], eax
mov dword [edi + ecx*8 + 0x164], esi
mov eax, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
test eax, eax
je 0x4b71db
mov eax, dword [esp + 0x2c]
movzx ecx, ax
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov esi, dword [eax - 4]
xor ecx, ecx
movzx eax, word [eax + 4]
cdq
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
or ecx, dword [edx]
mov dword [esp + 0x1c], ecx
or ecx, eax
je 0x4b6eb3
cmp eax, dword [edi + 0x8c]
ja 0x4b6eb3
jb 0x4b7122
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x88]
jae 0x4b6eb3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4b7142
test esi, esi
je 0x4b716f
push esi
xor edx, edx
mov ecx, eax
call fcn.004b6e00
add esp, 4
mov esi, dword [ebp + 0x10]
jmp 0x4b7171
mov eax, dword [eax]
add ecx, ecx
cmp esi, dword [eax + ecx*8 - 0x10]
jb 0x4b6eb3
movzx edx, word [eax + ecx*8 - 0xc]
add edx, dword [eax + ecx*8 - 0x10]
cmp esi, edx
je 0x4b713d
sub esi, edx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, esi
call fcn.004b6e00
add esp, 4
jmp 0x4b7171
mov esi, eax
push dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, edi
push dword [edi + eax*8 + 0x160]
push dword [esp + 0x34]
push dword [esp + 0x28]
push dword [edi + 0x60]
call fcn.004b3b90
test eax, eax
jne 0x4b6eb8
push dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ecx, edi
push esi
push dword [esp + 0x1c]
push dword [edi + eax*8 + 0x160]
call fcn.004b6e70
test eax, eax
jne 0x4b6eb8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0xc
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
cmp ecx, dword [esp + 0x24]
jb 0x4b70e4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10