Function at 0x101b1470
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 0x101b148f
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x101b14a2
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 0x101b17cf
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 0x101b1483
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 0x101b1483
test eax, eax
jne 0x101b15ab
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 0x101b1587
mov eax, dword [esp + 0x18]
sub dword [esp + 0xc], 8
mov dword [esp + 0x38], edx
jmp 0x101b15a3
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 0x101b17d1
mov edx, dword [esp + 0xc]
cmp esi, edx
jae 0x101b1799
movsx eax, byte [edi + 1]
inc edi
add esi, 8
and eax, 3
mov ecx, esi
sub eax, 0
je 0x101b16b5
sub eax, 1
je 0x101b1682
lea eax, [esi + 8]
cmp eax, edx
ja 0x101b1483
mov al, byte [edi + 1]
and al, 3
cmp al, 2
jne 0x101b1483
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 0x101b17d8
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 0x101b1789
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 0x101b1789
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 0x101b17f4
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 0x101b1771
test edx, edx
jne 0x101b1483
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 0x101b17d1
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 0x101b16d4
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 0x101b17d1
mov edx, dword [esp + 0xc]
cmp esi, edx
jb 0x101b15d1
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 0x101b17d1
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 0x101b14c4
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 0x101b17ac
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 0x101b17ac