Function at 0x1008d3f0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
push esi
push edi
mov edi, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
cmp dword [edi + 0x460], 0
jge 0x1008d476
test byte [edi], 2
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
push eax
mov dword [esp + 0x74], 0x1b00d9
je 0x1008d467
mov dword [esp + 0x74], 0x20002
call fcn.100c9710
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x460], eax
cmp dword [edi + 0x464], 0
jge 0x1008d4df
test byte [edi], 4
jne 0x1008d4df
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0xffffffff
push eax
lea ecx, [edi + 0x40]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x74], 0x400041
call fcn.100c9710
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x464], eax
mov ecx, edi
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100c6770
mov ecx, dword [edi + 0x4c]
xor esi, esi
mov byte [esp + 0x13], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], ecx
lea edx, [esi + 8]
test ecx, ecx
jle 0x1008d568
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x1008d568
mov ecx, dword [0x1013a848]
test ecx, ecx
je 0x1008d553
inc dword [ecx + 0x370]
imul eax, eax, 0x54
push eax
call fcn.100f6549
add esp, 4
mov dword [esp + 0x40], eax
mov edx, 8
mov edi, dword [edi + 0x34]
mov dword [esp + 0x30], edi
test edi, edi
jle 0x1008d5a3
cmp edi, 8
mov ecx, edi
cmovl ecx, edx
test ecx, ecx
jle 0x1008d5a3
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008d58e
inc dword [eax + 0x370]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.100f6549
add esp, 4
mov dword [esp + 0x3c], eax
mov esi, eax
imul ecx, dword [esp + 0x4c], 0x54
push ecx
push 0
push dword [esp + 0x48]
call fcn.100eae50
add esp, 0xc
lea eax, [edi + edi*2]
shl eax, 3
push eax
push 0
push esi
call fcn.100eae50
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], 0
cmp dword [edx + 0x4c], 0
jle 0x1008d6ed
mov edi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x54], eax
add edi, 0x34
nop dword [eax]
mov ecx, dword [edx + 0x54]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], edx
jle 0x1008d73a
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x1008d63b
mov eax, dword [esp + 0x28]
or esi, esi
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1008d62f
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [esp + 0x14]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x34]
jl 0x1008d612
cmp eax, 0xffffffff
je 0x1008d73a
push dword [ebp + 8]
mov esi, dword [esp + 0x2c]
lea ecx, [edi - 0x34]
push esi
push dword [esp + 0x28]
call fcn.1008c560
test al, al
je 0x1008d73a
mov eax, dword [esi + 0x40]
mov edx, 0x10125244
shr eax, 8
and al, 1
or byte [esp + 0x13], al
mov eax, dword [edi - 4]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x28], ecx
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1008d6af
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1008d6ab
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x1008d690
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
inc dword [esi + ecx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add eax, 0x78
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
inc esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x54], eax
cmp esi, dword [edx + 0x4c]
jl 0x1008d5f0
mov eax, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0x58], esi
test eax, eax
jle 0x1008da82
mov esi, dword [esp + 0x40]
add esi, 0x44
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
nop
mov eax, dword [esi - 0x14]
mov edi, dword [esi - 0x10]
add edi, 0x20
sar edi, 5
lea ecx, [eax + eax*2]
mov eax, dword [esi - 4]
mov dword [esp + 0x1c], ecx
cmp edi, eax
jle 0x1008d759
test eax, eax
je 0x1008d744
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esi - 4]
jmp 0x1008d749
mov byte [esp + 0x13], 0
jmp 0x1008e725
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [esi - 8]
push eax
call fcn.100897b0
lea eax, [esi - 8]
mov dword [eax], edi
lea eax, [edi*4]
push eax
push 0
push dword [esi]
call fcn.100eae50
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x3c]
lea ecx, [edx*8 + 0xc]
add ecx, eax
mov dword [esp + 0x28], ecx
cmp dword [ecx], 0
jne 0x1008d7e7
mov edi, dword [eax + edx*8 + 4]
mov eax, dword [ecx + 4]
add edi, 0x20
sar edi, 5
mov dword [esp + 0x20], eax
cmp edi, eax
jle 0x1008d7cc
test eax, eax
je 0x1008d7b2
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x20]
jmp 0x1008d7b7
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.100897b0
mov ecx, dword [esp + 0x28]
lea eax, [edi*4]
mov dword [ecx], edi
push eax
push 0
push dword [ecx + 8]
call fcn.100eae50
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esi - 0x18]
mov dword [esp + 0x34], eax
cmp word [eax], 0
je 0x1008d8d4
nop dword [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1008d8d0
movzx edi, word [eax]
cmp edi, ecx
ja 0x1008d8b7
mov eax, dword [esp + 0x3c]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 0x48], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x1008d8a2
mov eax, dword [esp + 0x2c]
mov eax, dword [eax - 0x2c]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1008d8a2
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x1008d8a2
mov eax, dword [ecx + 0xc]
mov edx, edi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 0x10]
jae 0x1008d8a2
test eax, eax
je 0x1008d8a2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
inc dword [eax - 0xc]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x58]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x34]
inc edi
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1008d818
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x34], eax
cmp word [eax], 0
jne 0x1008d800
mov esi, dword [esp + 0x2c]
add esi, 0x54
sub dword [esp + 0x24], 1
mov dword [esp + 0x2c], esi
jne 0x1008d710
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
add esi, 0x50
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], eax
nop dword [eax]
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x1008d967
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008d917
inc dword [eax + 0x370]
mov eax, edi
shl eax, 5
push eax
call fcn.100f6549
mov edx, dword [esi]
add esp, 4
mov dword [esp + 0x20], eax
test edx, edx
je 0x1008d962
mov ecx, dword [esi - 8]
shl ecx, 5
push ecx
push edx
push eax
call fcn.100ea8d0
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x1008d955
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008d955
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x64], eax
cmp ecx, eax
jae 0x1008da36
mov eax, dword [edx]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1008da25
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x20], eax
je 0x1008da1b
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [esp + 0x48]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movaps xmmword [esp + 0x80], xmm0
add eax, edi
movzx eax, ax
mov dword [esp + 0x88], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x1008d9fb
inc ecx
test eax, eax
je 0x1008d9e1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x1008d9e6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.1008e970
mov edx, dword [esp + 0x28]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
mov ecx, dword [esp + 0x34]
shl eax, 5
add eax, dword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x10], xmm0
inc dword [esi - 8]
mov esi, ecx
inc edi
cmp edi, 0x20
jb 0x1008d996
add edx, 4
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x64]
jb 0x1008d986
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x1008da6a
mov eax, dword [0x1013a848]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x1008da5a
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [esp + 0x24], 1
mov dword [esp + 0x34], esi
jne 0x1008d900
mov esi, dword [esp + 0x58]
jmp 0x1008da84
xor esi, esi
cmp dword [esp + 0x30], 0
jle 0x1008dad8
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x1008dacc
mov eax, dword [0x1013a848]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x1008dab9
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [esp + 0x30], eax
jne 0x1008da96
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1008db00
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008daef
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov dword [esp + 0x3c], 0
xor ecx, ecx
mov dword [esp + 0x28], ecx
test esi, esi
jle 0x1008db3d
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1008db3d
mov ecx, dword [0x1013a848]
test ecx, ecx
je 0x1008db2b
inc dword [ecx + 0x370]
shl eax, 4
push eax
call fcn.100f6549
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, eax
shl esi, 4
push esi
push 0
push ecx
call fcn.100eae50
xor eax, eax
add esp, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008db61
inc dword [eax + 0x370]
push 0x40000
call fcn.100f6549
mov ecx, dword [0x1013a848]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x1008db80
inc dword [ecx + 0x370]
push 0x20
call fcn.100f6549
movss xmm0, dword [0x1012ad2c]
xor ecx, ecx
mov dword [esp + 0x38], eax
xor edi, edi
mov dword [esp + 0xb0], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [esp + 0x58], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa8], 8
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
test eax, eax
jle 0x1008df29
mov esi, dword [esp + 0x40]
xor edx, edx
add esi, 0x48
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], esi
nop dword [eax + eax]
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x1008defc
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [esp + 0x28]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [esp + 0x38], edi
movss dword [esp + 0x20], xmm1
lahf
test ah, 0x44
jnp 0x1008dc78
mov byte [esp + 0x1b], 1
xor edi, edi
nop dword [eax]
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012b250]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1010c6a0
movss xmm1, dword [esp + 0x20]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + edi + 0xe0], dl
inc edi
cmp edi, 0x100
jb 0x1008dc30
jmp 0x1008dc7d
mov byte [esp + 0x1b], 0
cmp dword [esi], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
jle 0x1008def8
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], eax
mov edi, dword [esi + 8]
add edi, eax
mov eax, dword [esi - 0x30]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1008ded9
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x1008ded9
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x18]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 0x10]
jae 0x1008ded9
test eax, eax
je 0x1008ded9
push dword [esi - 0x28]
mov ecx, dword [esi - 0x30]
mov edx, eax
call fcn.10031bf0
test eax, eax
jne 0x1008ded9
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x24], eax
je 0x1008dd16
mov ecx, eax
call fcn.10035c20
mov eax, dword [esp + 0x24]
test byte [esi - 0x2c], 0x40
je 0x1008dd55
test eax, eax
je 0x1008dd62
cmp dword [eax + 0x48], 0x6f75746c
jne 0x1008dd55
lea ecx, [eax + 0x6c]
mov dword [esp + 0x70], 0x10000
lea edx, [esp + 0x70]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0x366a
mov dword [esp + 0x7c], 0x10000
call fcn.10033ff0
mov eax, dword [esp + 0x24]
add eax, 0x18
je 0x1008ded9
mov eax, dword [esi - 0x30]
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1008ddea
mov eax, dword [ecx + 4]
test eax, eax
je 0x1008ddea
mov eax, dword [eax + 0x60]
mov edx, ecx
push dword [esi - 0x24]
mov ecx, dword [eax + 4]
call fcn.100333f0
test eax, eax
jne 0x1008ddea
mov eax, dword [esi - 0x30]
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx + 0x50]
add ecx, 0x4c
mov dword [edi], eax
mov dword [esp + 0x24], ecx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [ecx + 0x12], 7
sete al
mov byte [edi + 0x14], al
jmp 0x1008ddf2
mov dword [esp + 0x24], 0
mov eax, dword [edi + 4]
imul eax, dword [edi]
mov edx, dword [esp + 0x30]
shl eax, 2
mov dword [esp + 0x48], eax
add eax, edx
cmp eax, 0x40000
jle 0x1008de5f
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008de21
inc dword [eax + 0x370]
push 0x40000
call fcn.100f6549
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0xa4]
push eax
call fcn.1008e8d0
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], ecx
jmp 0x1008de67
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [esp + 0xe0]
add ecx, edx
add edx, dword [esp + 0x48]
mov dword [esp + 0x30], edx
xor edx, edx
cmp byte [esp + 0x1b], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [esp + 0x30]
call fcn.1008c7d0
mov eax, dword [esp + 0x64]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [esp + 0x2c]
mov word [eax + esi + 4], cx
mov esi, dword [esp + 0x60]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [esp + 0x2c]
mov eax, dword [esi - 0x20]
mov word [eax + edx + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
imul ecx, eax
add dword [esp + 0x50], ecx
mov eax, dword [esp + 0x54]
add dword [esp + 0x1c], 0x20
inc eax
add dword [esp + 0x2c], 0x10
cmp eax, dword [esi]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
jl 0x1008dca7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
add esi, 0x54
movss xmm0, dword [0x1012ad2c]
add edx, 0x78
sub dword [esp + 0x5c], 1
mov edi, dword [esp + 0x38]
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], edx
jne 0x1008dbf0
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 8]
mov dword [edi + 0x20], 0
test esi, esi
jg 0x1008df86
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1012aef0]
jb 0x1008df62
mov esi, 0x1000
jmp 0x1008df86
comiss xmm0, dword [0x1012aedc]
jb 0x1008df72
mov esi, 0x800
jmp 0x1008df86
comiss xmm0, dword [0x1012aec4]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x1c], esi
xor ecx, ecx
sub esi, dword [edi + 0xc]
mov dword [esp + 0x20], ecx
test esi, esi
jle 0x1008dfc9
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1008dfc9
mov ecx, dword [0x1013a848]
test ecx, ecx
je 0x1008dfb7
inc dword [ecx + 0x370]
shl eax, 3
push eax
call fcn.100f6549
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, eax
mov edx, dword [edi + 0x1c]
push esi
push ecx
push 0x8000
lea ecx, [esp + 0xbc]
call fcn.1008ccb0
mov edi, dword [edi + 0x40]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edi
test edi, edi
jle 0x1008e020
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x1008e020
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e010
inc dword [eax + 0x370]
shl ecx, 4
push ecx
call fcn.100f6549
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, edi
shl ecx, 4
push ecx
push 0
push eax
call fcn.100eae50
mov eax, dword [esp + 0x20]
xor esi, esi
add esp, 0xc
cmp dword [eax + 0x40], esi
jle 0x1008e06f
mov edx, dword [esp + 0x1c]
xor ecx, ecx
add edx, 6
mov edi, eax
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x1008e047
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb0]
push edi
call fcn.1008d1e0
test edi, edi
jle 0x1008e0d7
mov edx, dword [esp + 0x1c]
xor esi, esi
add edx, 0xa
nop dword [eax]
cmp dword [edx + 2], 0
je 0x1008e0cc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx - 2]
mov word [esi + ecx + 4], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx]
mov word [esi + ecx + 6], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x1008e090
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1008e0f8
mov ecx, dword [0x1013a848]
test ecx, ecx
je 0x1008e0ef
dec dword [ecx + 0x370]
push eax
call fcn.100f57a7
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x1008e166
mov esi, dword [esp + 0x40]
add esi, 0x38
mov dword [esp + 0x38], eax
nop dword [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x1008e15c
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xb0]
push eax
call fcn.1008d1e0
xor edi, edi
cmp dword [esi], edi
jle 0x1008e15c
xor edx, edx
nop
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x1008e154
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1008e130
add esi, 0x54
sub dword [esp + 0x38], 1
jne 0x1008e110
mov edi, dword [esp + 0x14]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x1008e197
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x1012ad2c]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
cmp byte [esp + 0x13], 0
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1013a848]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
je 0x1008e1fa
shl ecx, 2
test eax, eax
je 0x1008e1e5
inc dword [eax + 0x370]
push ecx
call fcn.100f6549
mov ecx, dword [edi + 0x1c]
imul ecx, dword [edi + 0x20]
mov dword [edi + 0x18], eax
shl ecx, 2
jmp 0x1008e214
test eax, eax
je 0x1008e204
inc dword [eax + 0x370]
push ecx
call fcn.100f6549
mov ecx, dword [edi + 0x1c]
imul ecx, dword [edi + 0x20]
mov dword [edi + 0x14], eax
add esp, 4
push ecx
push 0
push eax
call fcn.100eae50
mov ecx, dword [esp + 0x58]
xor al, al
add esp, 0xc
mov byte [esp + 0x1b], al
test ecx, ecx
jle 0x1008e60a
mov eax, dword [esp + 0x40]
xor esi, esi
add eax, 8
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
nop word [eax + eax]
cmp dword [eax + 0x30], 0
je 0x1008e5e7
mov ecx, dword [esp + 0x14]
movss xmm0, dword [eax - 4]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax]
mov edx, dword [ecx + 0x54]
add edx, esi
movss dword [esp + 0x68], xmm0
mov dword [esp + 0x94], edx
cmp byte [edx + 0x3c], 0
mov edi, dword [edx + 0x74]
mov dword [esp + 0xa0], edi
jne 0x1008e2c9
mov ecx, edi
call fcn.100c78b0
mov edx, dword [esp + 0x94]
movss xmm0, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
xor eax, eax
movss dword [edi + 0x44], xmm0
movss xmm0, dword [esp + 0x68]
mov dword [edi + 0x34], edx
mov word [edi + 0x38], ax
mov dword [edi + 0x30], ecx
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
addss xmm0, dword [0x1012acd8]
inc word [edi + 0x38]
movss xmm1, dword [edx + 0x28]
movss dword [esp + 0x68], xmm1
mov dword [esp + 0x6c], 0
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x30], 0
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x98], xmm0
jle 0x1008e5d8
xor edx, edx
xor esi, esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], esi
nop word [eax + eax]
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, esi
add eax, edx
cmp word [eax + 4], 0
jne 0x1008e34c
cmp word [eax + 6], 0
je 0x1008e5b4
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
add eax, dword [esp + 0x9c]
add edx, dword [esp + 0x9c]
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x38], eax
imul eax, dword [esp + 0x90]
mov dword [esp + 0x30], edx
mov edx, dword [edi]
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x1008e407
add eax, ecx
mov dword [esp + 0x44], 0
add eax, dword [esp + 0x30]
mov ecx, dword [edi + 4]
mov dword [esp + 0x50], eax
test ecx, ecx
jle 0x1008e49c
lea ecx, [edx*4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp edx, ecx
jle 0x1008e3e1
add esi, 3
mov edx, dword [esp + 0x50]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x1008e3c5
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
inc dword [esp + 0x44]
add eax, dword [esp + 0x38]
add esi, dword [esp + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x44], ecx
jl 0x1008e3b8
jmp 0x1008e49c
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
lea eax, [eax + ecx*4]
mov ecx, dword [edi + 4]
mov dword [esp + 0x44], eax
test ecx, ecx
jle 0x1008e49c
mov eax, dword [esp + 0x38]
mov ecx, edx
shl eax, 2
mov dword [esp + 0x50], eax
lea eax, [edx*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
jmp 0x1008e44c
mov ecx, dword [esp + 0x38]
xor esi, esi
mov edx, ecx
test ecx, ecx
jle 0x1008e478
mov ecx, dword [esp + 0x44]
sub eax, ecx
mov dword [esp + 0x38], eax
nop
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [esp + 0x38]
cmp esi, edx
jl 0x1008e460
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
inc esi
add dword [esp + 0x44], ecx
add eax, dword [esp + 0x2c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
cmp esi, ecx
jl 0x1008e448
movd xmm4, dword [edi + 0xc]
sub esp, 0x20
mov eax, dword [esp + 0x34]
movd xmm3, dword [edi + 8]
cvtdq2ps xmm4, xmm4
mov esi, dword [esp + 0xb0]
cvtdq2ps xmm3, xmm3
addss xmm4, xmm0
movd xmm0, dword [eax + 0x20]
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
movss xmm1, dword [0x1012ad2c]
movaps xmm2, xmm1
divss xmm2, xmm0
movd xmm0, dword [eax + 0x1c]
lea eax, [esi + ecx]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
add eax, edx
mulss xmm0, xmm2
movss dword [esp + 0x18], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
mulss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0xc0]
mulss xmm0, xmm2
movss dword [esp + 0x10], xmm0
movd xmm0, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
push dword [esp + 0xb8]
call fcn.100c7d70
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
lea eax, [eax + eax*4]
mov esi, dword [esp + 0x60]
je 0x1008e5b0
or dword [ecx + eax*8 - 0x28], 1
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
add esi, 0x20
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x10
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], edx
cmp edi, dword [eax + 0x30]
jl 0x1008e330
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x20], 0
add eax, 0x54
add esi, 0x78
sub ecx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x48], ecx
jne 0x1008e250
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0x1b]
xor esi, esi
mov byte [edi + 0x11], al
cmp dword [esp + 0x58], esi
jle 0x1008e64a
mov edi, dword [esp + 0x34]
nop dword [eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1008e636
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e636
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
inc esi
add esp, 4
cmp esi, dword [esp + 0x58]
jl 0x1008e620
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x1008e6b9
mov esi, dword [esp + 0x40]
add esi, 0x18
nop dword [eax]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1008e67f
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e676
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1008e69e
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e695
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1008e6af
call fcn.10032d00
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x4c], 1
jne 0x1008e660
mov ecx, edi
call fcn.100c7340
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x1008e6e5
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e6dc
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1008e705
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e6fc
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1008e725
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e71c
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1008e745
mov eax, dword [0x1013a848]
test eax, eax
je 0x1008e73c
dec dword [eax + 0x370]
push ecx
call fcn.100f57a7
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1008e766
mov ecx, dword [0x1013a848]
test ecx, ecx
je 0x1008e75d
dec dword [ecx + 0x370]
push eax
call fcn.100f57a7
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4