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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp]
mov esi, dword [ebp + 4]
mov dword [esp + 0x5c], esi
movzx eax, byte [edi + 0x10]
mov ebx, dword [edx]
imul ecx, eax, 0x48
mov eax, dword [edx + 4]
add eax, 8
mov dword [esp + 0x68], ebx
mov dword [esp + 0x58], edi
add eax, ecx
lea ecx, [esp + 0x20]
push ecx
push dword [ebp + 8]
push eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push esi
push ebx
call fcn.1011f7ea
mov esi, eax
add esp, 0x1c
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x10170927
push 7
pop eax
jmp 0x10170c24
xor eax, eax
mov dword [edi + 0x24], 0x400
mov word [edi + 0x12], ax
mov word [edi + 0x28], ax
mov byte [edi + 0x1c], al
mov eax, dword [esi]
push eax
push edi
push dword [ebx]
mov dword [esp + 0x44], eax
call fcn.10171531
add esp, 0xc
test eax, eax
je 0x10170959
push 7
pop ebx
jmp 0x10170c14
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x80]
push esi
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
push ebp
call fcn.10170c2c
mov ebx, eax
add esp, 0x24
mov dword [esp + 0x34], ebx
test ebx, ebx
jne 0x10170c05
mov edx, dword [esp + 0x74]
mov eax, edx
mov ecx, dword [esp + 0x78]
not eax
mov dword [esp + 0x1c], ecx
not dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
and esi, dword [edi + 4]
mov dword [esp + 0x30], eax
and eax, dword [edi]
mov dword [esp + 0x60], eax
or eax, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x3c]
jne 0x101709ca
test eax, eax
je 0x10170c05
and dword [esp + 0x28], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x18], 1
test eax, eax
je 0x10170a3c
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
push esi
push dword [esp + 0x24]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push edx
push ebp
call fcn.10170c2c
mov ecx, dword [esp + 0x40]
mov ebx, eax
mov eax, dword [esp + 0x54]
add esp, 0x24
and eax, dword [edi]
and ecx, dword [edi + 4]
mov dword [esp + 0x4c], eax
or eax, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], ecx
jne 0x10170a2e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
test ebx, ebx
jne 0x10170c05
mov edx, dword [esp + 0x74]
jmp 0x10170a4c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
or dword [esp + 0x10], 0xffffffff
or eax, 0xffffffff
cmp dword [esp + 0x38], 0
mov dword [esp + 0x24], eax
jle 0x10170af3
mov edx, dword [esi + 4]
mov esi, dword [esp + 0x38]
add edx, 8
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
imul eax, dword [edx], 0x30
mov edi, ebx
mov ebp, dword [esp + 0x5c]
mov ebx, dword [ebp + 0x14]
mov ebp, dword [esp + 0x24]
and edi, dword [eax + ebx + 0x20]
mov dword [esp + 0x10], edi
mov edi, dword [eax + ebx + 0x24]
and edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
cmp edi, dword [esp + 0x48]
jb 0x10170acf
mov eax, dword [esp + 0x10]
ja 0x10170abf
cmp eax, dword [esp + 0x40]
jbe 0x10170acf
cmp edi, ecx
ja 0x10170acf
jb 0x10170ac9
cmp eax, ebp
jae 0x10170acf
mov dword [esp + 0x24], eax
mov ecx, edi
add edx, 0xc
sub esi, 1
jne 0x10170a89
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
and eax, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x78]
cmp eax, 0xffffffff
je 0x10170b97
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x60]
jne 0x10170b26
mov ebp, dword [esp + 0x64]
cmp dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x70]
je 0x10170b8f
cmp eax, dword [esp + 0x4c]
jne 0x10170b3a
mov edi, dword [esp + 0x54]
cmp dword [esp + 0x10], edi
mov edi, dword [esp + 0x58]
je 0x10170b8f
lea ebx, [esp + 0x14]
or eax, edx
push ebx
push dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
push esi
push 0
or ebx, ecx
push ebx
push eax
push ecx
push edx
push ebp
call fcn.10170c2c
mov edx, dword [esp + 0x98]
add esp, 0x24
mov ebx, eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x34], ebx
cmp dword [edi], edx
jne 0x10170b8f
cmp dword [edi + 4], ecx
jne 0x10170b8f
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
cmove eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
test ebx, ebx
je 0x10170a64
test ebx, ebx
jne 0x10170c05
cmp dword [esp + 0x28], ebx
jne 0x10170bd1
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
push esi
push ebx
push ecx
push edx
push ecx
push edx
push ebp
call fcn.10170c2c
mov ecx, dword [esp + 0x3c]
add esp, 0x24
cmp dword [esp + 0x14], 0
mov ebx, eax
mov eax, dword [esp + 0x2c]
cmove eax, ecx
test ebx, ebx
jne 0x10170c05
jmp 0x10170bd9
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x10170c05
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x80]
push esi
push ecx
mov ecx, dword [esp + 0x84]
push eax
push ecx
push eax
push ecx
push ebp
call fcn.10170c2c
add esp, 0x24
mov ebx, eax
cmp dword [esi + 0x1c], 0
je 0x10170c14
push dword [esi + 0x18]
call fcn.10117750
pop ecx
mov eax, dword [esp + 0x68]
push esi
push dword [eax]
call fcn.10141a5b
pop ecx
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret