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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
jne 0x4b738f
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b73a2
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x10]
or edx, 0xffffffff
mov edi, dword [eax + 0x14]
xor eax, eax
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ecx
cmp ax, word [ebx]
jge 0x4b76cf
mov eax, dword [ebx + 0xc]
inc edx
mov dword [esp + 0x30], edx
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0x28], ecx
cmp ecx, edx
jl 0x4b7383
mov eax, dword [ebx + 4]
mov ebx, 1
lea ecx, [eax + ecx*8]
lea esi, [eax + edx*8]
mov dword [esp + 0xc], ecx
mov eax, dword [esi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
shl ebx, cl
mov ecx, ebx
mov dword [esp + 0x34], ebx
imul ecx, eax
mov eax, ebx
imul eax, edx
mov edx, ebx
sub ecx, edi
sub eax, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
imul edx, eax
mov dword [esp + 0x18], eax
mov eax, ebx
imul eax, dword [ecx + 4]
sub edx, edi
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add edi, dword [esp + 0x30]
movsx eax, byte [edi]
and eax, 3
cmp eax, 2
je 0x4b7383
test eax, eax
jne 0x4b74ab
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 8]
mov ebx, dword [esp + 0x34]
mov al, byte [eax + ecx]
and al, 3
cmp al, 1
jne 0x4b7487
mov eax, dword [esp + 0x18]
sub dword [esp + 0xc], 8
mov dword [esp + 0x38], edx
jmp 0x4b74a3
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
sub esi, 8
mov dword [esp + 0x3c], eax
dec edi
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x4b76d1
mov edx, dword [esp + 0xc]
cmp esi, edx
jae 0x4b7699
movsx eax, byte [edi + 1]
inc edi
add esi, 8
and eax, 3
mov ecx, esi
sub eax, 0
je 0x4b75b5
sub eax, 1
je 0x4b7582
lea eax, [esi + 8]
cmp eax, edx
ja 0x4b7383
mov al, byte [edi + 1]
and al, 3
cmp al, 2
jne 0x4b7383
mov eax, dword [ecx]
add esi, 0x10
mov ecx, dword [esp + 0x10]
add edi, 2
imul eax, ebx
push dword [ebp + 0x10]
sub eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esi - 0xc]
imul eax, ebx
sub eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esi - 8]
imul eax, ebx
sub eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esi - 4]
imul eax, ebx
sub eax, ecx
mov dword [esp + 0x58], eax
cmp esi, edx
ja 0x4b76d8
mov eax, dword [esi]
imul eax, ebx
sub eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
imul eax, ebx
sub eax, ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
jmp 0x4b7689
mov eax, dword [esi]
push dword [ebp + 0x10]
imul eax, ebx
sub eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
imul eax, ebx
sub eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
call eax
add esp, 8
jmp 0x4b7689
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
imul eax, ebx
sub eax, ecx
mov dword [esp + 0x40], eax
mov edx, dword [esi + 4]
imul edx, ebx
sub edx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], eax
nop dword [eax + eax]
cmp esi, dword [esp + 0xc]
jae 0x4b76f4
mov eax, dword [esi + 8]
add esi, 8
movsx edx, byte [edi + 1]
inc edi
imul eax, ebx
and edx, 3
sub eax, ecx
mov ecx, dword [esi + 4]
imul ecx, ebx
mov dword [esp + 0x48], eax
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
cmp edx, 1
je 0x4b7671
test edx, edx
jne 0x4b7383
add eax, dword [esp + 0x20]
push dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x4b76d1
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
jmp 0x4b75d4
push dword [ebp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x4b76d1
mov edx, dword [esp + 0xc]
cmp esi, edx
jb 0x4b74d1
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x4b76d1
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
inc ecx
mov edx, dword [esp + 0x28]
movsx eax, word [ebx]
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x4b73c4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
jmp 0x4b76ac
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
jmp 0x4b76ac