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

Disassembly:
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
lea eax, [esi + edi]
add ebx, esi
add esi, ecx
test edx, edx
jbe 0x10016f83
mov dword [esp + 0x30], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + edi*4]
add ebx, dword [esp + 0x4c]
cmp byte [ebx], 0
je 0x10016f3f
xor esi, esi
inc esi
cmp byte [esi + ebx], 0
jne 0x10016ed8
test esi, esi
je 0x10016f3f
mov eax, esi
xor ecx, ecx
shr eax, 1
je 0x100177d9
mov dword [esp + 0x40], esi
xor edx, edx
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x3c]
imul ecx, esi
movsx edi, byte [ebx + edx*2]
movzx edi, di
add ecx, edi
imul ecx, esi
movsx edi, byte [ebx + edx*2 + 1]
inc edx
movzx edi, di
add ecx, edi
cmp edx, eax
jb 0x10016efd
mov esi, dword [esp + 0x40]
lea edx, [edx + edx + 1]
mov edi, dword [esp + 0x30]
lea eax, [edx - 1]
cmp eax, esi
jae 0x10016f41
imul ecx, dword [esp + 0x3c]
movsx eax, byte [edx + ebx - 1]
movzx edx, ax
add ecx, edx
jmp 0x10016f41
xor ecx, ecx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
movzx ebx, word [eax + edi*2]
mov eax, dword [edx + ebx*4]
add eax, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x44]
je 0x10017d8a
inc edi
cmp edi, dword [esp + 0x34]
jb 0x10016ec6
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
add eax, esi
add ebx, esi
add esi, ecx
mov dword [esp + 0x30], 0
mov edi, dword [0x1003b02c]
mov dword [esp + 0x48], edi
mov edi, dword [0x1003b044]
mov dword [esp + 0x40], edi
test edx, edx
jbe 0x10017084
mov dword [esp + 0x3c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + edi*4]
add ebx, dword [esp + 0x4c]
cmp byte [ebx], 0
je 0x10017040
xor esi, esi
inc esi
cmp byte [esi + ebx], 0
jne 0x10016fd9
test esi, esi
je 0x10017040
mov eax, esi
xor ecx, ecx
shr eax, 1
je 0x100177e3
mov dword [esp + 0x44], esi
xor edx, edx
mov dword [esp + 0x3c], edi
mov esi, dword [esp + 0x40]
imul ecx, esi
movsx edi, byte [ebx + edx*2]
movzx edi, di
add ecx, edi
imul ecx, esi
movsx edi, byte [ebx + edx*2 + 1]
inc edx
movzx edi, di
add ecx, edi
cmp edx, eax
jb 0x10016ffe
mov esi, dword [esp + 0x44]
lea edx, [edx + edx + 1]
mov edi, dword [esp + 0x3c]
lea eax, [edx - 1]
cmp eax, esi
jae 0x10017042
imul ecx, dword [esp + 0x40]
movsx eax, byte [edx + ebx - 1]
movzx edx, ax
add ecx, edx
jmp 0x10017042
xor ecx, ecx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
movzx ebx, word [eax + edi*2]
mov eax, dword [edx + ebx*4]
add eax, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x48]
je 0x10017d67
inc edi
cmp edi, dword [esp + 0x34]
jb 0x10016fc7
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
add eax, esi
add ebx, esi
add esi, ecx
mov dword [esp + 0x48], 0
mov edi, dword [0x1003b018]
mov ecx, dword [0x1003b044]
mov dword [esp + 0x24], ecx
test edx, edx
jbe 0x10017167
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], edx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + edi*4]
add ebx, dword [esp + 0x4c]
cmp byte [ebx], 0
je 0x1001713d
xor esi, esi
inc esi
cmp byte [esi + ebx], 0
jne 0x100170d6
test esi, esi
je 0x1001713d
mov eax, esi
xor ecx, ecx
shr eax, 1
je 0x100177ed
mov dword [esp + 0x28], esi
xor edx, edx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x24]
imul ecx, esi
movsx edi, byte [ebx + edx*2]
invalid
invalid