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

Disassembly:
sub esp, 0xa0
push ebx
mov ebx, dword [esp + 0xac]
push ebp
push esi
mov esi, dword [esp + 0xb0]
mov edx, dword [ebx + 4]
mov ebp, edx
push edi
mov dword [esp + 0x40], 0
mov eax, dword [esi]
mov edi, dword [esi + 0xd8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], 0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0xc]
cmp eax, edx
mov dword [esp + 0x2c], eax
sbb ecx, ecx
mov dword [esp + 0x44], 0
sub ebp, dword [esp + 0x2c]
sub eax, edx
neg ecx
mov dword [esp + 0x6c], 0
cmp edx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
cmovbe ebp, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], ecx
mov edx, dword [edx + 0x2e0]
mov eax, edx
and eax, 0x400
and edx, 1
mov dword [esp + 0x24], eax
test eax, eax
je 0x101730b1
mov eax, 0x26
jmp 0x101730ba
mov eax, edx
neg eax
sbb eax, eax
and eax, 6
movzx ebx, word [edi + 0x18]
mov esi, dword [edi + 8]
add ebx, 0xe
lea ebx, [esi + ebx*2]
mov dword [esp + 0x3c], ebx
movzx eax, word [ebx + eax]
mov ebx, dword [edi + 8]
add eax, ebx
mov dword [esp + 0x2c], eax
mov al, byte [eax]
mov byte [esp + 0x13], al
cmp al, 3
jne 0x101730f2
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x38], ebx
jmp 0x1017313d
movzx eax, word [edi + 0x18]
add eax, 0xd
cmp dword [esp + 0x24], 0
je 0x1017310f
movzx eax, word [ebx + eax*2 + 0x26]
mov dword [esp + 0x14], 0x26
jmp 0x1017312c
mov ecx, edx
lea eax, [ebx + eax*2]
neg ecx
sbb ecx, ecx
and ecx, 6
movzx eax, word [eax + ecx]
mov ecx, edx
neg ecx
sbb ecx, ecx
and ecx, 6
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
sub ax, word [ebx + esi]
dec ax
movzx eax, ax
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x18]
jbe 0x101731b7
mov eax, dword [ebx + 0x10]
sub eax, dword [esp + 0x1c]
mov esi, dword [ebx + 0xc]
add eax, dword [ebx + 0xc]
cmp dword [ebx + 4], esi
mov esi, dword [esp + 0xb4]
jbe 0x10173182
add ebp, eax
mov eax, dword [esp + 0x1c]
jmp 0x101731b3
cmp eax, ebp
jbe 0x101731a7
sub eax, ebp
mov ecx, 1
mov ebp, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
lea esi, [eax + ebp]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xb4]
jmp 0x101731d3
sub ebp, dword [ebx + 0xc]
sub ebp, dword [ebx + 0x10]
mov eax, dword [esp + 0x1c]
add ebp, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x101731cb
lea esi, [eax + ebp]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xb4]
jmp 0x101731d3
mov dword [esp + 0x14], eax
sub dword [esp + 0x14], ebp
cmp byte [esp + 0x13], 3
je 0x1017333c
cmp dword [esp + 0x28], eax
ja 0x1017333c
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + 0x14]
shr eax, 2
cmp dword [esp + 0x14], eax
ja 0x1017333c
test ecx, ecx
je 0x1017323b
cmp dword [esp + 0x24], 0
je 0x10173210
mov dword [esp + 0x28], 0x26
jmp 0x1017321d
mov eax, edx
neg eax
sbb eax, eax
and eax, 6
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 8]
movzx eax, word [ecx + 0x14]
movzx ecx, word [ecx + 0x16]
add eax, eax
sub ecx, eax
sub ecx, dword [esp + 0x28]
sub ecx, 0x1a
cmp ebp, ecx
ja 0x10173340
cmp dword [esp + 0x24], 0
je 0x10173249
mov edx, 0x26
jmp 0x10173250
neg edx
sbb edx, edx
and edx, 6
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 8]
inc ecx
movzx eax, word [edx + eax]
add eax, dword [ebx + 0x10]
mov edx, dword [esi + 0x10]
add ecx, eax
test edx, edx
je 0x101732fa
mov eax, dword [esi + 8]
cmp dword [eax + 0x74], 0
je 0x101732fa
test dword [esi + 0x13c], 0x2000
jne 0x101732fa
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1017329f
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x1017329f
test byte [eax + 0x31c], 8
jne 0x101732fa
push dword [esp + 0xbc]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x98]
push ebx
push eax
mov eax, dword [ebx + 0x10]
push eax
mov dword [esp + 0xa4], ecx
mov ecx, dword [edi + 8]
movzx eax, word [edi + 0x18]
push ecx
inc eax
push eax
push dword [ecx + 8]
lea eax, [esp + 0x8c]
push 0
push eax
push edx
push dword [esp + 0x48]
call fcn.1019a2e0
add esp, 0x2c
test eax, eax
jne 0x101737fb
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x10173309
xor edx, edx
mov ecx, 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov eax, dword [edi + 8]
push ebx
push dword [esp + 0x1c]
mov dword [eax], edx
mov dword [eax + 4], ecx
movzx eax, word [edi + 0x18]
push ebp
push dword [ebx + 0x10]
inc eax
push eax
push dword [edi + 8]
push dword [esp + 0x38]
call fcn.10172d60
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
test ecx, ecx
je 0x10173370
cmp dword [esi + 0x10], 0
jne 0x10173370
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10173370
cmp ecx, dword [eax + 0xc]
jne 0x10173370
push edx
call fcn.100d0e90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
lea eax, [esi + 0x50]
mov dword [esp + 0x90], 0
push eax
lea eax, [esi + 0x48]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x80]
movq qword [esp + 0x90], xmm0
push eax
movups xmmword [esp + 0x84], xmm0
movzx eax, word [edi + 0x18]
push eax
push dword [edi + 8]
push esi
call fcn.101421b0
add esp, 0x18
test eax, eax
jne 0x101737fb
mov eax, dword [edi + 0x74]
and eax, 0x10
cmp byte [esp + 0x13], 3
mov dword [esp + 0x24], eax
jne 0x101734d6
test eax, eax
jne 0x101734d6
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x104], eax
jne 0x101734d6
test byte [ebx + 0x18], 0x40
je 0x101734d6
mov edx, dword [ebx + 0x10]
cmp edx, dword [esp + 0x1c]
jne 0x101734d6
mov eax, dword [esp + 0x38]
cmp dword [edi + 0x1c], eax
jne 0x1017343e
cmp dword [edi + 0x20], edx
ja 0x1017343e
mov eax, dword [ecx + 0x2e0]
test eax, 0x400
je 0x1017341e
mov ecx, 0x26
jmp 0x1017342a
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 6
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
sub eax, ecx
mov ecx, dword [edi + 0x20]
add ecx, 0xffffffe6
add eax, ecx
cmp edx, eax
jbe 0x10173497
push 0
push 0
push dword [esp + 0x40]
lea eax, [edx - 1]
mov dword [esp + 0x58], 0
push dword [esp + 0x28]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x77]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 0x440
call fcn.101681a0
add esp, 0x18
test eax, eax
jne 0x101737fb
movups xmm0, xmmword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x18]
movups xmmword [esp + 0x48], xmm0
or ecx, 0x100
mov dword [esp + 0x54], eax
movq xmm0, qword [ebx + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x30], 1
mov eax, dword [edi + 8]
lea edx, [esp + 0x44]
push edx
mov ecx, dword [eax + 8]
movzx eax, word [edi + 0x18]
mov dword [esp + 0x3c], eax
movzx eax, ax
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
call fcn.1016e5b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x101737b7
cmp dword [ebx + 0x10], eax
jne 0x1017352f
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 0xc], eax
jne 0x1017352f
mov ebp, dword [esp + 0x24]
xor eax, eax
test ebp, ebp
mov dword [esp + 0x40], ebx
setne al
inc eax
mov dword [esp + 0x30], eax
jmp 0x1017366a
test dword [ebx + 0x18], 0x100
jne 0x10173666
mov eax, dword [esp + 0x2c]
mov al, byte [eax]
cmp al, 3
je 0x1017354f
movzx eax, al
mov dword [esp + 0x30], eax
jmp 0x10173557
mov dword [esp + 0x30], 1
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], 0
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x40], 0
push eax
xorps xmm0, xmm0
lea eax, [esp + 0x50]
push eax
movups xmmword [esp + 0x54], xmm0
movq qword [esp + 0x64], xmm0
movzx eax, word [edi + 0x18]
inc eax
push eax
push dword [edi + 8]
push dword [esp + 0xc8]
call fcn.101421b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x101737b7
cmp dword [esp + 0x18], eax
je 0x101735ed
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
add eax, ebp
push eax
push dword [esp + 0x70]
call fcn.100dc870
add esp, 0xc
test eax, eax
jne 0x101737fb
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ebp
push esi
lea eax, [ecx + ebp]
mov dword [esp + 0x74], edx
mov dword [esp + 0x44], eax
lea eax, [ecx + edx]
push eax
call fcn.10220d70
add esp, 0xc
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov esi, dword [esp + 0x48]
add edx, ecx
mov dword [esp + 0x28], ecx
add edx, esi
mov ecx, dword [esp + 0x4c]
lea eax, [ecx + esi]
cmp edx, eax
jae 0x1017363a
mov eax, dword [ebx + 0x10]
add eax, dword [esp + 0x28]
cmp ecx, eax
jbe 0x1017363a
sub ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
cmp dword [esp + 0x18], 0
je 0x10173627
lea eax, [edx + ebp]
jmp 0x1017362b
mov eax, edx
sub eax, ebp
push ecx
push edx
push eax
call fcn.102207f0
mov esi, dword [esp + 0x54]
add esp, 0xc
push dword [ebx + 4]
mov eax, dword [ebx + 0x10]
push dword [ebx]
add eax, esi
push eax
call fcn.102207f0
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x1017365a
add dword [esp + 0x4c], ebp
jmp 0x1017365e
sub dword [esp + 0x4c], ebp
lea eax, [esp + 0x48]
mov dword [esp + 0x40], eax
mov ebp, dword [esp + 0x24]
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0xb4]
and eax, 0x100
or eax, 0x40
shr eax, 6
push eax
push ebx
call fcn.10171030
mov esi, eax
add esp, 8
test esi, esi
jne 0x101737b7
push 0x17
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.101038b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x101737b7
push dword [esp + 0x30]
lea eax, [esp + 0x7c]
push dword [esp + 0x44]
push eax
push ebx
call fcn.10170610
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x101737b7
or dword [edi + 0x74], ebp
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0xd8]
mov eax, dword [edx + 0x14]
cmp eax, dword [edi + 0x14]
jne 0x101736f0
mov ax, word [edx + 0x18]
cmp ax, word [edi + 0x18]
je 0x101737bb
mov eax, dword [esp + 0x44]
test eax, eax
je 0x101737a6
xor edx, edx
cmp dword [eax], edx
je 0x101737a6
mov eax, dword [eax]
nop dword [eax + eax]
mov ecx, dword [eax + 0xd8]
lea edx, [edx + 1]
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x14], eax
mov ax, word [edi + 0x18]
and dword [ecx + 0x74], 0xfffffffd
mov word [ecx + 0x18], ax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edx*4]
test eax, eax
jne 0x10173710
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x101737a2
mov eax, dword [ebx + 8]
cmp dword [eax + 0x74], 0
je 0x101737a2
test dword [ebx + 0x13c], 0x2000
jne 0x101737a2
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1017376c
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x1017376c
test byte [eax + 0x31c], 8
jne 0x101737a2
cmp dword [ecx + 4], 0
je 0x101737a2
movzx eax, word [edi + 0x18]
push eax
mov eax, dword [esp + 0x3c]
movzx eax, ax
push eax
push dword [edi + 0x14]
lea eax, [esp + 0x7c]
push dword [esp + 0x20]
push 1
push 0
push eax
push ecx
push dword [esp + 0x40]
call fcn.10195ff0
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x101737b7
mov ecx, dword [esp + 0x34]
push 0
push 1
push 0
push ecx
call fcn.1016fd10
add esp, 0x10
mov esi, eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x101737d1
push ecx
call fcn.10102280
add esp, 4
test eax, eax
je 0x101737d1
test esi, esi
cmove esi, eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x101737e7
push eax
push ebx
call fcn.100dc7e0
add esp, 8
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x101737f9
push eax
push ebx
call fcn.100dc7e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret