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

Disassembly:
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + edi*4]
add ebx, dword [esp + 0x50]
cmp byte [ebx], 0
je 0x10017368
xor esi, esi
inc esi
cmp byte [esi + ebx], 0
jne 0x10017301
test esi, esi
je 0x10017368
mov eax, esi
xor ecx, ecx
shr eax, 1
je 0x10017801
mov dword [esp + 0x18], esi
xor edx, edx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x24]
invalid
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 0x10017326
mov esi, dword [esp + 0x18]
lea edx, [edx + edx + 1]
mov edi, dword [esp + 0x14]
lea eax, [edx - 1]
cmp eax, esi
jae 0x1001736a
imul ecx, dword [esp + 0x24]
movsx eax, byte [edx + ebx - 1]
movzx edx, ax
add ecx, edx
jmp 0x1001736a
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
movzx ebx, word [eax + edi*2]
mov eax, dword [edx + ebx*4]
add eax, dword [esp + 0x50]
cmp ecx, dword [esp + 0x28]
je 0x10017d55
inc edi
cmp edi, dword [esp + 0x10]
jb 0x100172ef
mov ebx, dword [esp + 0x44]
xor eax, eax
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x30], 0x1003b000
mov ecx, dword [esi + 0x3c]
mov edx, dword [0x1003b05c]
mov eax, dword [0x1003b004]
mov ecx, dword [ecx + esi + 0x78]
mov edi, dword [0x1003b044]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + esi + 0x20]
add eax, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + esi + 0x1c]
mov edi, dword [ecx + esi + 0x24]
add eax, esi
mov ecx, dword [ecx + esi + 0x18]
add edi, esi
mov dword [esp + 0x28], edi
test ecx, ecx
jbe 0x100174ba
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + edi*4]
add ebx, dword [esp + 0x4c]
cmp byte [ebx], 0
je 0x10017488
xor esi, esi
inc esi
cmp byte [esi + ebx], 0
jne 0x10017421
test esi, esi
je 0x10017488
mov eax, esi
xor ecx, ecx
shr eax, 1
je 0x1001780b
mov dword [esp + 0x20], esi
xor edx, edx
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x18]
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 0x10017446
mov esi, dword [esp + 0x20]
lea edx, [edx + edx + 1]
mov edi, dword [esp + 0x1c]
lea eax, [edx - 1]
cmp eax, esi
jae 0x1001748a
imul ecx, dword [esp + 0x18]
movsx eax, byte [edx + ebx - 1]
movzx edx, ax
add ecx, edx
jmp 0x1001748a
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
movzx ebx, word [eax + edi*2]
mov eax, dword [edx + ebx*4]
add eax, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x24]
je 0x10017d44
inc edi
cmp edi, dword [esp + 0x14]
jb 0x1001740f
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x3c], 0
mov esi, dword [edx]
push esi
mov eax, dword [edx + 4]
push 0x40
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
call dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov edi, eax
add edx, 8
mov eax, edi
mov ecx, esi
call fcn.10017f82
test esi, esi
jbe 0x10017583
lea edx, [esi + 3]
sar edx, 1
shr edx, 0x1e
lea eax, [edx + esi + 3]
sar eax, 2
cmp eax, 4
jl 0x10017d3d
mov esi, edi
and esi, 0xf
je 0x10017523
test esi, 3
jne 0x10017d3d
neg esi
add esi, 0x10
shr esi, 2
lea edx, [esi + 4]
cmp eax, edx
jl 0x10017d3d
mov ecx, eax
sub ecx, esi
and ecx, 3
neg ecx
add ecx, eax
test esi, esi
jbe 0x10017553
mov dword [esp + 0x44], ebx
xor edx, edx
mov ebx, dword [esp + 0x14]
xor dword [edi + edx*4], ebx
inc edx
cmp edx, esi
jb 0x10017547
mov ebx, dword [esp + 0x44]
movd xmm0, dword [esp + 0x14]
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [edi + esi*4]
pxor xmm1, xmm0
movdqu xmmword [edi + esi*4], xmm1
add esi, 4
cmp esi, ecx
jb 0x1001755e
cmp ecx, eax
jae 0x10017583
mov edx, dword [esp + 0x14]
xor dword [edi + ecx*4], edx
inc ecx
cmp ecx, eax
jb 0x1001757b
push 0x20a
push 0x40
call dword [esp + 0x50]
mov esi, eax
cmp byte [edi], 0
je 0x100175a6
xor edx, edx
movsx ecx, byte [edx + edi]
mov word [esi + edx*2], cx
inc edx
cmp byte [edx + edi], 0
jne 0x10017597
push 0x20a
push 0x40
call dword [ebx + 0x64]
mov edi, eax
push 0x105
push edi
push 0
call dword [ebx + 0x54]
movzx edx, word [edi]
xor eax, eax
test edx, edx
je 0x10017d2f
inc eax
movzx edx, word [edi + eax*2]
test edx, edx
jne 0x100175ca
xor ecx, ecx
mov word [edi + eax*2], cx
dec eax
movzx edx, word [edi + eax*2]
cmp edx, 0x5c
jne 0x100175d5
movzx edx, word [edi]
xor ecx, ecx
test edx, edx
je 0x10017d28
inc ecx
lea eax, [edi + ecx*2]
movzx edx, word [eax]
test edx, edx
jne 0x100175f0
movzx edx, word [eax - 2]
cmp edx, 0x5c
je 0x10017614
mov edx, 0x5c
mov word [edi + ecx*2], dx
mov edx, 1
jmp 0x10017616
xor edx, edx
test esi, esi
je 0x10017d1d
add ecx, edx
xor eax, eax
movzx edx, word [esi]
test edx, edx
je 0x10017645
mov dword [esp + 0x44], ebx
lea edx, [edi + ecx*2]
movzx ebx, word [esi + eax*2]
mov word [edx + eax*2], bx
inc edx
inc eax
movzx ebx, word [esi + eax*2]
test ebx, ebx
jne 0x10017630
mov ebx, dword [esp + 0x44]
add eax, ecx
xor edx, edx
mov word [edi + eax*2], dx
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push edi
call dword [ebx + 0x44]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001769b
push 0
push edi
call dword [ebx + 0x6c]
mov esi, eax
test esi, esi
je 0x10017697
lea eax, [esi + 1]
push eax
push 0x40
call dword [ebx + 0x64]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push 0
push eax
push esi
push dword [esp + 0x34]
push edi
call dword [ebx + 0x70]
test eax, eax
jne 0x100176a5
push edi
call dword [ebx + 0x68]
add esp, 0x74
push edi
call dword [ebx + 0x68]
mov edx, dword [ebx + 0x30]
lea eax, [esp + 0x4c]
add edx, 0x50
mov ecx, 4
call fcn.10017f82
mov edx, dword [ebx + 0x30]
lea eax, [esp + 0x50]
add edx, 0x24
mov ecx, 4
call fcn.10017f82
mov eax, dword [esp + 0x28]
add eax, esi
add esi, 0xfffffff0
je 0x1001769b
xor edx, edx
mov dword [esp + 0x1c], edx
xor ecx, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov edx, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x28], ebx
xor eax, eax
lea edi, [ebx + ecx]
mov ebx, edx
movzx edx, byte [esp + eax + 0x4c]
cmp dl, byte [eax + edi + 1]
je 0x10017721
cmp edx, 0x3f
jne 0x10017d01
inc eax
cmp eax, 8
jb 0x1001770d
mov ebx, dword [esp + 0x28]
lea ebx, [ebx + ecx + 1]
test ebx, ebx
je 0x10017d10
mov edx, dword [edi + 1]
mov edi, edx
shr edi, 8
mov ecx, edx
and edi, 0xff
shl ecx, 0x18
shl edi, 0x10
add ecx, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
shl edi, 8
add ecx, edi
mov edi, dword [esp + 0x44]
shr edx, 0x18
mov edi, dword [edi + 0x30]
add ecx, edx
lea edx, [ebx + 8]
mov edi, dword [edi + 8]
cmp edi, dword [edx]
jne 0x10017780
cmp dword [esp + 0x40], 0
je 0x10017815
cmp dword [esp + 0x40], 0
je 0x10017ceb
lea edi, [esi + ecx]
cmp edi, dword [esp + 0x24]
ja 0x10017cc8
add esi, dword [esp + 0x40]
mov eax, esi
call fcn.10017f82
mov edx, dword [esp + 0x20]
mov esi, edi
sub edx, ebx
add edx, 0xfffffff0
je 0x10017cbb
xor ecx, ecx
jmp 0x10017702
mov edx, 1
jmp 0x10017350
mov edx, 1
jmp 0x10017470
mov edi, dword [edx + 8]
add edi, 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], edi
push edi
push 0x40
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
call dword [edi + 0x64]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ecx
call fcn.10017f82
mov edx, dword [esp + 0x20]
sub edx, ebx
mov ecx, dword [esp + 0x14]
add esi, ecx
add edx, 0xfffffff0
jne 0x100177b4
mov dword [esp + 0x1c], esi
mov ebx, edi
cmp dword [esp + 0x40], 0
je 0x1001769b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov edi, dword [edx + 4]
test al, 3
je 0x10017883
dec eax
test al, 3
jne 0x1001787e
test eax, eax
jbe 0x10017923
lea edx, [eax + 3]
sar edx, 1
shr edx, 0x1e
lea esi, [edx + eax + 3]
sar esi, 2
cmp esi, 4
jl 0x10017cb4
mov ecx, dword [esp + 0x40]
and ecx, 0xf
je 0x100178bd
test cl, 3
jne 0x10017cb4
neg ecx
add ecx, 0x10
shr ecx, 2
lea eax, [ecx + 4]
cmp esi, eax
jl 0x10017cb4
mov edx, esi
sub edx, ecx
and edx, 3
neg edx
add edx, esi
test ecx, ecx
jbe 0x100178ee
mov dword [esp + 0x44], ebx
xor eax, eax
mov ebx, dword [esp + 0x40]
xor dword [ebx + eax*4 + 0x10], edi
inc eax
cmp eax, ecx
jb 0x100178e1
mov ebx, dword [esp + 0x44]
movd xmm0, edi
pshufd xmm0, xmm0, 0
mov eax, dword [esp + 0x40]
movdqu xmm1, xmmword [eax + ecx*4 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax + ecx*4 + 0x10], xmm1
add ecx, 4
cmp ecx, edx
jb 0x100178fb
cmp edx, esi
jae 0x10017923
mov eax, dword [esp + 0x40]
xor dword [eax + edx*4 + 0x10], edi
inc edx
cmp edx, esi
jb 0x1001791a
cmp dword [esp + 0x1c], 0
jbe 0x1001769b
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov dword [esp + 0x10], eax
push edi
push 0x40
call dword [ebx + 0x64]
mov esi, eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x34]
mov dword [edx], 0
push edx
push dword [esp + 0x14]
lea ecx, [eax + 0x10]
push ecx
push edi
push esi
push 2
call dword [ebx + 0x3c]
test eax, eax
jne 0x1001769b
cmp byte [esi + 0x90], 0
je 0x10017984
xor eax, eax
inc eax
cmp byte [eax + esi + 0x90], 0
jne 0x10017975
test eax, eax
jne 0x1001798c
mov eax, dword [esi + 0x160]
jmp 0x1001798e
xor eax, eax
mov edi, dword [esi + 8]
add edi, esi
lea edx, [edi + eax + 0x3dd]
mov edi, dword [0x1003b058]
mov ecx, dword [edx + 0xee4]
mov dword [esp + 0x1c], edx
mov eax, dword [0x1003b044]
test ecx, ecx
jbe 0x10017a62
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
lea edx, [edx + 0x10de]
mov dword [esp + 0x10], esi
mov dword [esp + 0x44], ebx
cmp byte [edx], 0
je 0x10017a35
xor ecx, ecx
inc ecx
cmp byte [ecx + edx], 0
jne 0x100179dc
test ecx, ecx
je 0x10017a35
mov ebx, ecx
xor esi, esi
shr ebx, 1
je 0x10017c08
mov dword [esp + 0x20], ecx
xor edi, edi
imul esi, eax
movsx ecx, byte [edx + edi*2]
movzx ecx, cx
add esi, ecx
imul esi, eax
movsx ecx, byte [edx + edi*2 + 1]
inc edi
movzx ecx, cx
add esi, ecx
cmp edi, ebx
jb 0x100179f9
mov ecx, dword [esp + 0x20]
lea edi, [edi + edi + 1]
lea ebx, [edi - 1]
cmp ebx, ecx
jae 0x10017a37
imul esi, eax
movsx ecx, byte [edi + edx - 1]
movzx ebx, cx
add esi, ebx
jmp 0x10017a37
xor esi, esi
cmp esi, dword [esp + 0x24]
je 0x10017c8c
mov ecx, dword [esp + 0x14]
add edx, 0x8a
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x18]
jb 0x100179d5
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
xor edi, edi
mov dword [esp + 0x14], edi
push 0x20a
push 0x40
call dword [esp + 0x50]
mov edx, eax
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], eax
call fcn.10017ef6
mov eax, dword [esp + 0x18]
xor ecx, ecx
movzx edx, word [eax]
test edx, edx
je fcn.10017c7a
inc ecx
movzx edx, word [eax + ecx*2]
test edx, edx
jne 0x10017a95
mov dword [esp + 0x44], ebx
dec ecx
lea edx, [eax + ecx*2]
movzx ebx, word [edx]
cmp ebx, 0x5c
jne 0x10017aa2
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
lea edx, [eax + 2]
mov dword [esp + 0x28], edx
push 0x20a
push 0x40
call dword [ebx + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
movzx edx, word [eax]
test edx, edx
je 0x10017b69
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x30]
mov ecx, eax
inc ebx
lea edx, [ebx + ebx]
movzx eax, word [ecx + edx]
test eax, eax
jne 0x10017af0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x44]
cmp dword [esp + 0x30], 0
je 0x10017b69
cmp dword [esp + 0x30], 0x30
jbe 0x10017c12
mov ecx, dword [esp + 0x28]
xor edx, edx
sub ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x2c], edi
mov edi, ecx
neg edi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x24]
cmp edi, esi
mov edi, 1
cmovg eax, edi
cmp ecx, esi
mov esi, dword [esp + 0x10]
cmovle edi, edx
or eax, edi
mov edi, dword [esp + 0x2c]
je 0x10017c12
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x20]
call fcn.10016a76
add esp, 0xc
push dword [esp + 0x18]
call dword [ebx + 0x34]
mov ebx, eax
push edi
push 0x40
mov eax, dword [ebx + 0x3c]
add ebx, dword [eax + ebx + 0x2c]
call dword [esp + 0x50]
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.10017f82
mov eax, dword [esp + 0x10]
cdq
mov ecx, dword [esp + 0x1c]
movd xmm1, eax
lea eax, [esp + 0x20]
movd xmm0, edx
punpckldq xmm1, xmm0
movq qword [ecx + 0xcc0], xmm1
mov dword [eax], 0
push eax
mov edx, dword [0x1003b020]
push edx
push edi
push ebx
call dword [esp + 0x4c]
mov eax, ebx
mov ecx, edi
mov edx, dword [esp + 0x14]
call fcn.10017f82
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x24]
push edi
push ebx
call dword [esp + 0x4c]
mov eax, dword [0x1003b020]
lea edx, [esp + 0x10]
mov dword [edx], eax
mov dword [edx + 4], ebx
mov dword [edx + 8], edi
push edx
push dword [esp + 0x44]
push dword [esp + 0x24]
push esi
call ebx
add esp, 0x84
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, 1
jmp 0x10017a1f
mov edx, dword [esp + 0x30]
shr edx, 1
je 0x10017c73
mov dword [esp + 0x10], esi
xor eax, eax
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
movzx ecx, word [ebx + eax*4 + 2]
mov word [esi + eax*4], cx
movzx ecx, word [ebx + eax*4 + 4]
mov word [esi + eax*4 + 2], cx
inc eax
cmp eax, edx
jb 0x10017c2c
mov esi, dword [esp + 0x10]
lea eax, [eax + eax + 1]
mov ebx, dword [esp + 0x44]
lea edx, [eax - 1]
cmp edx, dword [esp + 0x30]
jae 0x10017b69
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
movzx edx, word [edx + eax*2]
mov word [ecx + eax*2 - 2], dx
jmp 0x10017b69
mov eax, 1
jmp 0x10017c50
mov edi, dword [edx + 0x86]
mov eax, dword [edx + 0x82]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
lea eax, [eax + edx + 0xee4]
mov dword [esp + 0x14], eax
jmp 0x10017a68
xor edx, edx
jmp 0x10017912
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x44]
jmp 0x10017870
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov ebx, dword [esp + 0x44]
lea eax, [esi + edi]
call fcn.10017f82
jmp 0x10017870
mov edx, dword [esp + 0x20]
sub edx, ebx
add edx, 0xfffffff0
je 0x1001769b
xor ecx, ecx
jmp 0x10017702
mov edx, ebx
inc ecx
mov ebx, dword [esp + 0x28]
cmp ecx, edx
jb 0x10017702
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x44]
jmp 0x10017865
xor edx, edx
mov word [eax + 2], dx
jmp 0x1001764d
mov eax, edi
jmp 0x100175fb
invalid
invalid
cmp edx, 0x5c
jne 0x100175d3
jmp 0x100175e6
xor ecx, ecx
jmp 0x10017573
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
jmp 0x100174c2
mov ebx, dword [esp + 0x44]
jmp 0x10017398