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

Disassembly:
sub esp, 0x44
mov edx, dword [esp + 0x48]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x50]
push ebp
mov edx, dword [edx]
push esi
movzx ebp, word [ebx + 0x14]
xor esi, esi
shr ebp, 1
mov eax, dword [edx + 0x130]
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], esi
je 0x10171fb8
mov eax, ebp
shr eax, 1
lea eax, [esi + eax*2]
movzx edi, ax
mov eax, dword [edx + 0x2e0]
mov edx, eax
and eax, 1
mov dword [esp + 0x24], edi
and edx, 0x400
je 0x10171c7f
mov ecx, 0x26
jmp 0x10171c88
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 6
movzx esi, di
mov dword [esp + 0x18], esi
lea ecx, [ecx + esi*2]
movzx esi, word [ecx + ebx + 0x1a]
inc esi
add esi, ebx
test edx, edx
je 0x10171ca5
mov ecx, 0x26
jmp 0x10171cae
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 6
mov ebx, dword [esp + 0x18]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x5c]
movzx ecx, word [ecx + ebx + 0x1a]
cmp byte [ecx + ebx], 3
jne 0x10171dcf
test edx, edx
je 0x10171cd3
mov eax, 0x26
jmp 0x10171cda
neg eax
sbb eax, eax
and eax, 6
mov ecx, dword [esp + 0x18]
push 4
lea eax, [eax + ecx*2]
movzx esi, word [eax + ebx + 0x1a]
add esi, ebx
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100dcb80
add esp, 0xc
lea edi, [esi + 4]
cmp dword [esp + 0x64], 3
push 4
jne 0x10171d8f
mov ebx, dword [esp + 0x64]
mov eax, dword [ebx]
add eax, 4
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100dcb80
push 4
lea eax, [esp + 0x24]
push edi
push eax
call fcn.100dcb80
mov eax, dword [esp + 0x48]
add esp, 0x18
cmp eax, dword [esp + 0x14]
je 0x10171f8e
lea eax, [esp + 0x10]
mov dword [esp + 0x50], 0
push eax
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x3c], esi
push dword [eax + 0x10]
lea eax, [esp + 0x40]
push eax
push ebx
push dword [esp + 0x68]
call fcn.10167c00
add esp, 0x14
test eax, eax
jne 0x10171fcb
mov eax, dword [esp + 0x10]
jmp 0x10171f65
lea eax, [esp + 0x18]
push edi
push eax
call fcn.100dcb80
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 0x10]
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push dword [esp + 0x7c]
push dword [esp + 0x78]
call fcn.101684b0
add esp, 0x24
test eax, eax
jne 0x10171fcb
mov eax, dword [esp + 0x10]
jmp 0x10171f65
test di, di
jne 0x10171de0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ecx, dword [ecx]
jmp 0x10171e00
test edx, edx
je 0x10171deb
mov ecx, 0x26
jmp 0x10171df4
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 6
mov edi, dword [esp + 0x18]
lea ecx, [ecx + edi*2]
movzx ecx, word [ecx + ebx + 0x18]
test edx, edx
je 0x10171e0b
mov eax, 0x26
jmp 0x10171e12
neg eax
sbb eax, eax
and eax, 6
lea eax, [eax + edi*2]
sub cx, word [eax + ebx + 0x1a]
dec cx
cmp dword [esp + 0x64], 3
movzx edi, cx
mov dword [esp + 0x28], edi
jne 0x10171e93
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], esi
push 4
mov dword [esp + 0x40], edi
mov esi, dword [eax]
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100dcb80
push 4
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.100dcb80
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push dword [eax + 0x10]
lea eax, [esp + 0x58]
push dword [esp + 0x54]
push dword [esp + 0x38]
push eax
push dword [esp + 0x84]
call fcn.101684b0
add esp, 0x30
test eax, eax
jne 0x10171fcb
mov eax, dword [esp + 0x10]
neg eax
jmp 0x10171f61
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x10], 0
je 0x10171ed6
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0
push ecx
push dword [esp + 0x64]
xorps xmm0, xmm0
mov dword [esp + 0x40], esi
push dword [esp + 0x28]
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x48], edi
mov eax, dword [eax + 0x10]
call eax
add esp, 0xc
jmp 0x10171f61
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov edx, dword [eax]
cmp ebx, edi
cmovae ecx, edi
sub ecx, 4
jb 0x10171f01
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10171f06
add edx, 4
add esi, 4
sub ecx, 4
jae 0x10171ef0
cmp ecx, 0xfffffffc
je 0x10171f3a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10171f33
cmp ecx, 0xfffffffd
je 0x10171f3a
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10171f33
cmp ecx, 0xfffffffe
je 0x10171f3a
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10171f33
cmp ecx, 0xffffffff
je 0x10171f3a
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x10171f3a
sbb eax, eax
or eax, 1
jmp 0x10171f3c
xor eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10171f69
cmp edi, ebx
jbe 0x10171f5f
mov esi, dword [esp + 0x18]
mov eax, 1
add esi, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], esi
dec ebp
jmp 0x10171f7d
sbb eax, eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x10171f8e
jle 0x10171f79
mov esi, dword [esp + 0x18]
add esi, 2
dec ebp
mov dword [esp + 0x2c], esi
jmp 0x10171f7d
mov esi, dword [esp + 0x2c]
shr ebp, 1
je 0x10171fad
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
jmp 0x10171c57
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov word [eax], cx
mov eax, dword [esp + 0x60]
pop ebp
pop ebx
mov dword [eax], 0
xor eax, eax
add esp, 0x44
ret
mov ecx, dword [esp + 0x24]
test eax, eax
jle 0x10171fb8
add ecx, 2
mov eax, dword [esp + 0x6c]
mov word [eax], cx
mov eax, dword [esp + 0x68]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret