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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
push 0x38
lea eax, [esp + 0x3c]
mov dword [esp + 0x30], 0
mov esi, edx
mov dword [esp + 0x18], 0
mov edi, ecx
mov dword [esp + 0x14], esi
xorps xmm0, xmm0
mov dword [esp + 0xc], edi
push 0
push eax
movlpd qword [esp + 0x84], xmm0
call fcn.101ee530
add esp, 0xc
lea eax, [esp + 0x38]
mov edx, esi
mov ecx, edi
push eax
push 0
push 1
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.101688a0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10174f15
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10174f15
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x10174cfa
lea eax, [esp + 0xc]
mov ecx, edi
push esi
push eax
lea edx, [esi + 0xf]
call fcn.10171680
mov esi, eax
add esp, 8
test esi, esi
je 0x10174c44
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x10174ce9
mov eax, dword [ebp + 8]
mov ecx, 0x400
imul ecx
mov ecx, dword [esp + 8]
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
adc edx, edi
push edx
push eax
push 1
push dword [esp + 0x18]
call fcn.101079a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
mov esi, dword [esp + 0x1c]
adc edx, edi
add eax, 0x3ff
adc edx, 0
push edx
push eax
push 2
push esi
call fcn.101079a0
push esi
call fcn.101066b0
add esp, 0x24
cmp eax, 0x64
jne 0x10174cc6
push 0
push esi
call fcn.10107030
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x10174cd2
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
push esi
mov dword [esp + 0x24], eax
call fcn.10105890
mov edi, dword [esp + 0xc]
add esp, 4
mov edx, dword [esp + 0x1c]
mov esi, eax
test esi, esi
jne 0x10174f15
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
jmp 0x10174d0e
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x1c], edx
cmp eax, 0xfffffffe
jne 0x10174d42
cmp ecx, 1
jne 0x10174d2c
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
jne 0x10174d2c
lea esi, [ecx + 0x64]
jmp 0x10174f15
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, 3
mov dword [esp + 0x24], edx
jmp 0x10174e63
inc eax
mov ecx, 0x400
mov dword [esp + 0x78], eax
cdq
mov esi, eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 8]
imul ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], edx
imul dword [edi + 0xfc]
mov ecx, edx
mov edx, 8
shld ecx, eax, 0xa
shl eax, 0xa
add eax, esi
adc ecx, dword [esp + 0xc]
add eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
adc ecx, dword [esp + 0x70]
xor eax, eax
push eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, edi
push eax
call fcn.10171680
mov esi, eax
add esp, 8
test esi, esi
jne 0x10174e3b
mov eax, dword [esp + 0x10]
imul dword [edi + 0xfc]
mov esi, dword [esp + 0x30]
shld edx, eax, 0xa
shl eax, 0xa
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0xc]
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x70]
push edx
push eax
push 1
push esi
call fcn.101079a0
push esi
call fcn.101066b0
add esp, 0x14
cmp eax, 0x64
jne 0x10174dfe
push 0
push esi
call fcn.10106f50
add esp, 8
mov dword [esp + 0x74], eax
push esi
call fcn.10105890
mov esi, eax
add esp, 4
test esi, esi
jne 0x10174e3b
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jl 0x10174e37
push dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.10174b80
add esp, 8
mov dword [esp + 0x2c], 0
mov esi, eax
jmp 0x10174e3b
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0xc], 0xffffffff
je 0x10174e5e
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jl 0x10174e5e
jg 0x10174e57
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jbe 0x10174e5e
mov eax, 3
jmp 0x10174e63
mov eax, 1
test esi, esi
jne 0x10174f15
xorps xmm0, xmm0
lea edx, [esp + 0x38]
movaps xmmword [esp + 0x80], xmm0
mov ecx, edi
push dword [esp + 0x84]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x84]
push dword [esp + 0x84]
mov dword [esp + 0x4c], eax
call fcn.10173eb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10174f15
nop word [eax + eax]
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.10173fc0
mov esi, eax
cmp esi, 0x64
jne 0x10174f34
push dword [esp + 0x6c]
lea edx, [esp + 0x18]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.10173820
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10174eb0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10174f15
push dword [edi + 0x30]
call fcn.100dfd40
add esp, 4
push dword [edi + 0x24]
call fcn.100dfd40
mov ecx, dword [edi]
add esp, 4
call fcn.101736d0
push edi
call fcn.100dfd40
add esp, 4
lea ecx, [esp + 0x38]
call fcn.10174710
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x10174ee7
cmp dword [ebp + 0xc], 0xffffffff
je 0x101750d7
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], eax
nop
cmp eax, dword [esp + 0x3c]
jge 0x10174fd1
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx + eax*4]
xor ecx, ecx
mov dword [esp + 0x30], esi
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x10174fbf
push ecx
lea eax, [esp + 0x7c]
lea edx, [ecx + 0x11]
mov ecx, edi
push eax
call fcn.10171680
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x10174fbf
push dword [esi + 0xc]
push dword [esi + 8]
mov esi, dword [esp + 0x80]
push 1
push esi
call fcn.101079a0
mov eax, dword [esp + 0x40]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push 2
push esi
call fcn.101079a0
push esi
call fcn.101066b0
add esp, 0x24
push esi
call fcn.10105890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x10174f50
jmp 0x101750cd
test ecx, ecx
jne 0x101750cd
cmp dword [ebp + 0xc], 0xfffffffe
lea eax, [esp + 0xc]
push ecx
mov ecx, edi
push eax
jne 0x1017506a
mov edx, 0x1a
call fcn.10171680
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x101750cd
mov eax, dword [ebp + 8]
mov ecx, 0x400
imul ecx
mov ecx, dword [esp + 8]
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
adc edx, edi
push edx
push eax
push 1
push dword [esp + 0x18]
call fcn.101079a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
mov esi, dword [esp + 0x1c]
adc edx, edi
add eax, 0x3ff
adc edx, 0
push edx
push eax
push 2
push esi
call fcn.101079a0
add esp, 0x20
jmp 0x101750b9
mov edx, 0x10
call fcn.10171680
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x101750cd
mov eax, dword [esp + 0x10]
imul dword [edi + 0xfc]
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 8]
mov edx, 0x400
imul edx
shld ecx, esi, 0xa
shl esi, 0xa
add esi, eax
mov eax, dword [ebp + 0xc]
adc ecx, edx
cdq
add esi, eax
adc ecx, edx
push ecx
push esi
mov esi, dword [esp + 0x14]
push 1
push esi
call fcn.101079a0
add esp, 0x10
push esi
call fcn.101066b0
add esp, 4
push esi
call fcn.10105890
add esp, 4
mov ecx, eax
mov esi, ecx
test ecx, ecx
jne 0x10174ee7
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10174f15
cmp dword [edi], 0
mov esi, dword [edi + 0x2c]
mov edx, dword [edi + 0x30]
push esi
je 0x101751b0
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, eax
push dword [esp + 0x18]
mov dword [esp + 0x30], eax
add ecx, 1
mov eax, dword [esp + 0x1c]
push dword [esp + 0x30]
adc eax, 0
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x14]
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [edi + 0x14], eax
call fcn.10173070
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x101751dd
mov edx, dword [edi]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x80]
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [edi + 0xc]
push dword [edi + 8]
push 1
call fcn.101735c0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x101751dd
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push dword [edi + 0xc]
push dword [edi + 8]
jmp 0x101751c3
push edx
push dword [edi + 0x3c]
push dword [edi + 0x38]
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
push dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
call fcn.10173100
mov esi, eax
add esp, 0x30
mov eax, dword [esp + 8]
inc dword [eax + 0x34]
test esi, esi
jne 0x10174eeb
cmp dword [ebp + 0xc], 0xffffffff
mov edx, dword [esp + 0x24]
je 0x10175212
cmp edx, dword [esp + 0x1c]
jg 0x10174eeb
mov ecx, dword [esp + 0x18]
jl 0x10175216
cmp ecx, dword [esp + 0x20]
jae 0x10174eeb
jmp 0x10175216
mov ecx, dword [esp + 0x18]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edx
push ecx
mov ecx, eax
call fcn.10174950
add esp, 0x10
mov esi, eax
jmp 0x10174eeb