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

Disassembly:
sub esp, 0x70
mov eax, dword [esp + 0x78]
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
mov edx, dword [ebp]
push esi
mov esi, dword [eax]
mov eax, dword [edx + 0x24c]
xor ebx, ebx
push edi
mov ecx, ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
call eax
mov edx, dword [ebp]
mov edi, eax
mov eax, dword [edx + 0x234]
mov ecx, ebp
call eax
add edi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx + 0x20]
test byte [ecx + 0x1c], 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], ebx
je 0x101737ad
mov edx, dword [eax + 0x38]
fld dword [edx + 0x24]
fadd qword [0x10bf5190]
call fcn.102f89d0
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x101737bb
fld dword [ecx + 0xc]
call fcn.102f89d0
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0x20]
test byte [eax + 0x14], 1
mov dword [esp + 0x44], eax
je 0x101737d7
cmp byte [eax + 0x13], bl
jne 0x101737d7
mov bl, 1
jmp 0x101737d9
xor bl, bl
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x30]
mov edx, dword [eax + 0x20]
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x18]
shr ecx, 0xc
and ecx, 0xf
shr eax, 0xc
and eax, 0xf
mov dword [esp + 0x48], ecx
je 0x1017380d
cmp eax, 1
je 0x1017380d
mov dx, word [edx + 0x18]
and dx, 0xfff
movzx eax, dx
jmp 0x1017380f
xor eax, eax
cmp byte [esp + 0x94], 0
movzx eax, ax
mov dword [esp + 0x34], eax
jne 0x10173835
cmp ecx, 1
jle 0x10173835
test bl, bl
jne 0x10173835
cmp eax, edi
mov byte [esp + 0x84], 1
jle 0x1017383d
mov byte [esp + 0x84], 0
test byte [ebp + 0x74], 1
jne 0x1017384d
mov dword [esp + 0x24], 0
jmp 0x10173861
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], ebp
call fcn.1030ad1f
add eax, 8
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], 0
jbe 0x10173b8e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
xor ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebx
jmp 0x10173894
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + eax]
mov edx, dword [ebx + eax + 4]
mov edi, dword [ebx + eax + 8]
add ecx, dword [esp + 0x8c]
add edx, dword [esp + 0x90]
mov eax, dword [ebx + eax + 0xc]
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.100a5db0
lea eax, [esp + 0x4c]
mov ecx, esi
call fcn.100a8be0
mov esi, dword [esp + 0x88]
mov ecx, 9
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x60]
call fcn.100a9aa0
cmp byte [esp + 0x94], 0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
lea esi, [edx + ecx]
mov ecx, dword [esp + 0x28]
lea edi, [ecx + eax]
je 0x1017393d
mov edx, dword [esp + 0x88]
cmp dword [edx + 0x14], 8
lea ecx, [esp + 0x5c]
sete al
push eax
push edi
push esi
push ecx
mov eax, ebp
call fcn.101741f0
jmp 0x10173987
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0xe4], 1
jne 0x1017395d
mov edx, dword [ebp]
mov eax, dword [edx + 0xa8]
mov ecx, ebp
call eax
test al, al
je 0x10173987
mov edx, dword [ebp]
mov eax, dword [edx + 0xec]
mov ecx, ebp
call eax
test al, al
push edi
push esi
je 0x1017397c
push ebp
lea eax, [esp + 0x68]
call fcn.1030ad1f
jmp 0x10173987
lea ecx, [esp + 0x64]
push ecx
push ebp
call fcn.10173c00
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
add ecx, eax
test dword [edx], 0x4000000
mov edx, dword [esp + 0x1c]
je 0x101739ac
add dword [esp + 0x18], ecx
add eax, edx
add dword [esp + 0x14], eax
jmp 0x101739b6
sub dword [esp + 0x18], ecx
add eax, edx
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov esi, dword [ecx]
sub dword [esp + 0x28], eax
cmp byte [esi + 0x64], 0
jne 0x10173a6c
cmp dword [esi + 0x68], 0
je 0x10173a6c
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
imul edx, edx, 0x68
lea edi, [edx + eax - 0x68]
mov eax, edi
mov ecx, esi
call fcn.100c1a60
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
fld dword [edi + 0x4c]
fstp dword [esi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x60], eax
mov cl, byte [edi + 0x64]
mov byte [esi + 0x64], cl
mov esi, dword [edx]
mov edi, dword [esi + 0x68]
add esi, 0x68
sub edi, 1
call fcn.100a71a0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
cmp dword [eax + 4], 0
jne 0x10173a6c
mov esi, dword [eax + 0x1c]
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x10173a65
push esi
mov dword [eax + 0x1c], ecx
call fcn.10246b70
add esp, 4
push esi
call fcn.102f353f
add esp, 4
jmp 0x10173a6c
mov dword [eax + 4], 2
cmp byte [esp + 0x84], 0
je 0x10173b6a
mov edx, dword [esp + 0x88]
cmp dword [edx + 0x14], 4
jne 0x10173b6a
mov eax, dword [esp + 0x3c]
add eax, 0xffffffff
cmp dword [esp + 0x2c], eax
jae 0x10173b6a
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [ebp]
sar eax, 1
sub edi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x38]
mov esi, dword [eax]
mov eax, dword [edx + 0x23c]
add edi, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
shr esi, 0x1a
mov ecx, ebp
and esi, 1
call eax
mov edx, dword [ebp]
mov ebx, eax
mov eax, dword [edx + 0x22c]
mov ecx, ebp
call eax
add ebx, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
xor edx, edx
add ecx, 0x5c
cmp esi, 1
push 0
setne dl
push 0
push eax
push ecx
mov esi, ebp
add edx, 2
push edx
call fcn.10069b30
mov esi, dword [esp + 0xac]
mov edx, dword [ebp]
add eax, ebx
add eax, esi
push eax
mov eax, dword [esp + 0x54]
lea ecx, [edi + eax]
add ecx, dword [esp + 0xac]
mov eax, dword [edx + 0x23c]
push ecx
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov ebx, eax
mov eax, dword [edx + 0x22c]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
add ebx, esi
add eax, ebx
push eax
mov eax, dword [edx]
add edi, ecx
push edi
push eax
mov ecx, ebp
call fcn.100df9b0
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add eax, 1
add ebx, 0x10
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ebx
jb 0x10173890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x14