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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xe8
push esi
push edi
mov edi, dword [0x1033cac0]
mov esi, ecx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 8], edi
mov eax, dword [edi + 0x1cec]
mov byte [eax + 0x8c], 1
mov edx, dword [edi + 0x1cec]
mov dword [ebp - 0xb0], edx
cmp byte [edx + 0x8f], 0
jne 0x1018e839
mov eax, dword [ebx + 0x14]
mov ecx, dword [edx + 0xc4]
shr eax, 9
and eax, 0xffffff01
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x14]
shr eax, 0xa
and eax, 0xffffff01
mov dword [ebp - 0xe4], eax
mov eax, dword [edx + 0xcc]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10166b40
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
cmp dword [edi + 0x1d24], esi
jne 0x1018c259
mov dword [edi + 0x1d28], esi
cmp dword [edi + 0x1d5c], esi
jne 0x1018c268
mov byte [edi + 0x1d60], 1
mov eax, dword [ebp - 0xb4]
mov ecx, eax
mov dword [ebp - 0xc], esi
cmp eax, 0xffffffff
jae 0x1018c28e
mov dl, byte [ecx]
test dl, dl
je 0x1018c28e
cmp dl, 0x23
jne 0x1018c288
cmp byte [ecx + 1], dl
je 0x1018c28e
inc ecx
cmp ecx, 0xffffffff
jb 0x1018c278
movss xmm0, dword [edi + 0x1a80]
xorps xmm1, xmm1
movss xmm2, dword [0x102ddbac]
cmp eax, ecx
jne 0x1018c2af
movss dword [ebp - 0xbc], xmm1
jmp 0x1018c2f5
push 0
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x1a7c]
lea eax, [ebp - 0x58]
mov dword [esp], 0xbf800000
movaps xmm3, xmm2
push eax
movaps xmm2, xmm0
call fcn.10180790
movss xmm0, dword [ebp - 0x58]
addss xmm0, dword [0x102dd874]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [ebp - 0x54]
movss xmm2, dword [edi + 0x1554]
mulss xmm2, dword [0x102dd910]
addss xmm2, xmm0
call fcn.1015b580
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x58]
movaps xmm1, xmm0
push dword [eax + 4]
push dword [eax]
call fcn.1015b4b0
movss xmm1, dword [ebp - 0xbc]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x1018c33e
addss xmm1, dword [edi + 0x1568]
jmp 0x1018c341
xorps xmm1, xmm1
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x58]
movss xmm3, dword [ebp - 0x58]
movss xmm2, dword [ebp - 0x54]
addss xmm1, xmm3
movss dword [ebp - 0xac], xmm3
movss xmm4, dword [eax + 0xd0]
movss xmm6, dword [eax + 0xd4]
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [ebp - 0x70], xmm4
addss xmm1, xmm4
movss dword [ebp - 0x7c], xmm6
movaps xmm5, xmm6
movss dword [ebp - 0x94], xmm2
addss xmm5, xmm2
movss dword [ebp - 0x90], xmm4
movss dword [ebp - 0x8c], xmm6
movss dword [ebp - 0x88], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [ebp - 0xd0], xmm1
subss xmm1, xmm4
movss dword [ebp - 0xd8], xmm4
movss dword [ebp - 0xb8], xmm5
movss dword [ebp - 0x84], xmm5
movss dword [ebp - 0xd4], xmm6
movss dword [ebp - 0xcc], xmm0
subss xmm0, xmm6
movss dword [ebp - 0x58], xmm1
movss xmm1, dword [edi + 0x1554]
movss dword [ebp - 0x54], xmm0
call fcn.1015bc10
test dword [ebx + 0x14], 0x10000000
jne 0x1018c455
push ecx
lea eax, [ebp - 0x90]
mov edx, esi
push eax
lea ecx, [ebp - 0xd8]
call fcn.1015ba10
add esp, 8
test al, al
je 0x1018e839
movss xmm0, dword [ebp - 0x84]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x90]
movss dword [ebp - 0x70], xmm0
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10162ab0
mov dl, al
mov byte [ebp - 0x1d], dl
test dl, dl
je 0x1018c475
mov dword [edi + 0x1f90], 1
mov eax, dword [0x1033cac0]
xor ecx, ecx
add eax, 0x202c
cmp dword [eax], esi
cmovne eax, ecx
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx + 0x120]
shr ecx, 8
and ecx, 0xffffff01
mov dword [ebp - 0x74], ecx
test dl, dl
je 0x1018c4b5
cmp byte [edi + 0x3d8], 0
je 0x1018c4b5
mov dl, 1
jmp 0x1018c4b7
xor dl, dl
mov eax, dword [edi + 0x1d24]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 0x29], dl
cmp eax, dword [ebp - 0x24]
je 0x1018c4f8
mov esi, dword [ebp - 0x24]
cmp dword [edi + 0x1e68], esi
mov esi, dword [ebp - 0x14]
je 0x1018c4ed
mov esi, dword [ebp - 0x24]
cmp dword [edi + 0x1e5c], esi
mov esi, dword [ebp - 0x14]
jne 0x1018c4f8
cmp dword [edi + 0x1e80], 2
jne 0x1018c4f8
mov dh, 1
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x15], dh
jmp 0x1018c506
xor dh, dh
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x15], dh
cmp eax, dword [ebp - 0x24]
je 0x1018c516
test byte [ebx + 0x14], 0x10
jne 0x1018c510
test dh, dh
je 0x1018c516
mov byte [ebp - 0x28], 1
jmp 0x1018c51a
mov byte [ebp - 0x28], 0
test dl, dl
jne 0x1018c529
test dh, dh
jne 0x1018c529
mov byte [ebp - 0xd], dh
test cl, cl
je 0x1018c52d
mov byte [ebp - 0xd], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033a628]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10347d4c]
cmp eax, dword [ecx + 4]
jg 0x1018e844
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100542d0
mov edi, dword [ebp - 0xa0]
mov eax, dword [0x10347d50]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0xd], 0
jne 0x1018c57c
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [edi + 0x10]
jae 0x1018c581
mov edi, eax
mov dword [ebp - 0x34], eax
cmp edi, eax
jne 0x1018c638
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100542d0
mov edi, dword [ebp - 0x24]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xa8], xmm0
cmp byte [eax + 0xd], 0
jne 0x1018c5b3
cmp edi, dword [eax + 0x10]
jae 0x1018c60b
cmp dword [0x10347d54], 0x71c71c7
je 0x1018e89a
push 0x24
call fcn.100c366d
mov ecx, dword [ebp - 0x1c]
add esp, 4
movaps xmm0, xmmword [0x102ddc20]
mov dword [eax + 0x10], edi
movups xmmword [eax + 0x14], xmm0
push eax
push dword [ebp - 0xa4]
mov dword [eax], ecx
push dword [ebp - 0xa8]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x10347d50
mov word [eax + 0xc], 0
call fcn.10184eb0
mov eax, dword [0x10347d50]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100542d0
mov edi, dword [ebp - 0xa0]
mov dword [ebp - 0x34], edi
cmp byte [edi + 0xd], 0
jne 0x1018c632
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 0x10]
jae 0x1018c638
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edi
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x54], 1
test al, al
je 0x1018c7a1
cmp dword [edx + 0x1d24], ecx
je 0x1018c80a
mov esi, dword [ebx + 8]
lea ecx, [edx + 0x202c]
mov dword [ecx + 0x1630], 0xbdcccccd
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0x3f800000
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1018c683
sub esi, edx
add ecx, 0x24
inc esi
push esi
call fcn.10043460
push esi
mov esi, dword [ebp - 0x14]
push dword [ebx + 8]
push dword [esi + 0x2c]
call fcn.100c5a80
mov eax, dword [ebx + 0xc]
lea ecx, [esi + 0xc]
add esp, 0xc
mov dword [ebp - 0xc], 0
inc eax
push eax
call fcn.100436b0
lea ecx, [esi + 0x18]
push 0
call fcn.10043460
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0xc]
mov ecx, dword [esi + 0x14]
push eax
push 0
push dword [ebx + 8]
mov byte [esi + 0x30], 0
call fcn.10166560
mov dword [esi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
sub eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x24]
cmp dword [esi], eax
jne 0x1018c70b
cmp dword [ebp - 0x64], 0
jne 0x1018c70b
mov ecx, esi
call fcn.10047c20
mov eax, dword [ebp - 0x28]
mov ecx, 1
jmp 0x1018c775
cmp byte [ebp - 0x74], 0
mov ecx, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
movzx eax, al
cmovne eax, ecx
mov dword [esi + 0x1624], 0x630000
mov dword [esi + 0x1628], 0
mov dword [esi + 0x162c], 0x3e7
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0
mov word [esi + 0x4d], 1
mov dword [esi + 0x54], 0
mov byte [esi + 0x4c], 0
mov byte [esi + 0x4f], 1
mov byte [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [ebp - 0x28], eax
test dword [ebx + 0x14], 0x100
je 0x1018c782
mov byte [esi + 0x44], 1
cmp byte [ebp - 0x29], 0
mov edx, dword [ebp - 8]
je 0x1018c79b
cmp byte [edx + 0xfc], 0
movzx eax, al
cmovne eax, ecx
mov byte [ebp - 0x28], al
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp - 0xd]
cmp dword [edx + 0x1d24], ecx
je 0x1018c80a
test al, al
je 0x1018c80a
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x24]
call fcn.10162e40
call fcn.10159470
mov ecx, edx
call fcn.1015d770
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1d40]
or dword [edx + 0x1d38], 3
or eax, 0x180
or dword [edx + 0x1d3c], 2
test byte [ebx + 0x14], 0x40
mov ecx, dword [edx + 0x1d44]
mov dword [edx + 0x1d40], eax
mov dword [edx + 0x1d44], ecx
je 0x1018c80a
or eax, 1
mov dword [edx + 0x1d44], ecx
mov dword [edx + 0x1d40], eax
mov eax, dword [ebp - 0x24]
cmp dword [edx + 0x1d24], eax
jne 0x1018c824
test esi, esi
jne 0x1018c824
call fcn.10162db0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 0x1d24]
mov dword [ebp - 0x80], ecx
cmp ecx, eax
jne 0x1018c852
cmp byte [edx + 0x3d8], 0
je 0x1018c852
mov ecx, dword [ebp - 0x50]
mov eax, 1
cmp byte [ebp - 0xd], 0
movzx ecx, cl
cmove ecx, eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x80]
test esi, esi
je 0x1018c869
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
mov eax, dword [ebp - 0x24]
je 0x1018c86c
cmp ecx, eax
jne 0x1018c86c
mov cl, 1
jmp 0x1018c86e
mov eax, dword [ebp - 0x24]
xor cl, cl
cmp byte [ebp - 0x40], 0
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 0x35], cl
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x29], 0
je 0x1018c8f0
test esi, esi
je 0x1018c8f0
cmp dword [ebp - 0x80], eax
je 0x1018c88f
test cl, cl
je 0x1018c8f9
mov eax, dword [ebx + 0xc]
lea ecx, [esi + 0xc]
inc eax
mov dword [ebp - 0xc], 0
push eax
call fcn.100436b0
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0xc]
mov esi, dword [ebp - 0x14]
push eax
push 0
push dword [ebx + 8]
mov ecx, dword [esi + 0x14]
call fcn.10166560
mov dword [esi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, esi
sub eax, dword [ebx + 8]
mov dword [esi + 8], eax
call fcn.10047c20
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [esi + 0x40]
movzx eax, byte [ebp - 0x35]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x6c]
cmovne ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x80], eax
je 0x1018c901
test cl, cl
jne 0x1018c901
cmp dword [edx + 0x1d24], eax
jne 0x1018c915
cmp byte [ebp - 0x40], 0
jne 0x1018c915
test esi, esi
je 0x1018c915
cmp byte [esi + 0x30], 0
je 0x1018c915
mov al, 1
jmp 0x1018c917
xor al, al
cmp dword [ebp - 0x98], 0
mov byte [ebp - 0x35], al
je 0x1018c938
test al, al
je 0x1018c92c
mov eax, dword [esi + 0x20]
jmp 0x1018c92f
mov eax, dword [ebx + 8]
cmp byte [eax], 0
jne 0x1018c938
mov al, 1
jmp 0x1018c93a
xor al, al
cmp byte [ebp - 0xe4], 0
mov byte [ebp - 0x41], al
je 0x1018c9d5
test al, al
jne 0x1018c9d5
mov edx, dword [edx + 0x1a7c]
cmp dword [edx + 0x14], 0x2a
ja 0x1018c963
mov eax, dword [edx + 0x2c]
jmp 0x1018c97f
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0xa8]
cmp eax, 0xffffffff
jne 0x1018c976
mov eax, dword [edx + 0x2c]
jmp 0x1018c97f
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
add ecx, 0x3668
mov eax, dword [edx + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x1a7c]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x1a7c]
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [edx + 0x1a7c]
mov eax, dword [eax + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [edx + 0x1a7c]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.1016d4a0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
movss xmm0, dword [0x102dd82c]
cmp dword [edx + 0x1d24], eax
jne 0x1018cccd
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x34], eax
mov byte [esi + 0x1636], 0
mov dword [esi + 0x1638], ecx
cmp byte [edx + 0xec], 0
movss xmm2, dword [edx + 0x1a80]
sete al
mov dword [edx + 0x39d0], 1
cmp byte [ebp - 0x28], 0
mov byte [edx + 0x1d31], al
movss xmm7, dword [edx + 0xe4]
subss xmm7, dword [ebp - 0x70]
mulss xmm2, xmm0
subss xmm7, dword [edx + 0x1550]
jne 0x1018cb5a
mov al, byte [ebp - 0x1d]
test al, al
je 0x1018ca5e
cmp byte [edx + 0x3dd], 0
jne 0x1018cb5a
cmp byte [edx + 0x3d8], 0
je 0x1018cac4
cmp byte [esi + 0x1635], 0
jne 0x1018cac4
test al, al
je 0x1018cb75
cmp byte [esi + 0x4f], 0
je 0x1018ca98
push 0
mov edx, esi
lea ecx, [ebp - 0xe0]
call fcn.10190d00
movss xmm2, dword [ebp - 0xd4]
add esp, 4
movaps xmm1, xmm7
mov ecx, esi
call fcn.10190860
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x4e], 0
mov dword [esi + 0x1630], 0xbdcccccd
jmp 0x1018cb75
cmp byte [edx + 0xec], 0
je 0x1018cb75
cmp byte [esi + 0x1635], 0
jne 0x1018cb7e
movss xmm0, dword [edx + 0x374]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1018cb03
movss xmm0, dword [edx + 0x378]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1018cb75
cmp byte [esi + 0x4f], 0
je 0x1018cb23
push 0
mov edx, esi
lea ecx, [ebp - 0xe0]
call fcn.10190d00
movss xmm2, dword [ebp - 0xd4]
add esp, 4
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1018cb31
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, esi
call fcn.10190860
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x1630], 0xbdcccccd
mov byte [esi + 0x1634], 1
jmp 0x1018cb75
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
mov byte [esi + 0x1635], 1
cmp byte [esi + 0x1635], 0
je 0x1018cb8e
cmp byte [edx + 0xec], 0
jne 0x1018cb8e
mov byte [esi + 0x1635], 0
cmp byte [edx + 0xfc], 0
je 0x1018cba4
cmp byte [edx + 0xfe], 0
mov byte [ebp - 1], 1
je 0x1018cba8
mov byte [ebp - 1], 0
test cl, 0x40
je 0x1018cc20
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1018cc20
call fcn.10160330
mov edx, dword [ebp - 8]
test al, al
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x40]
je 0x1018cc26
test al, al
jne 0x1018cc26
cmp byte [edx + 0xfd], al
jne 0x1018cc26
test cl, cl
jne 0x1018cc26
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 9
push eax
lea ecx, [edx + 0x1508]
call fcn.10049210
test al, al
jne 0x1018cc1d
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xc]
push 2
sub esp, 8
mov dword [ebp - 0xc], 9
call fcn.1018e900
add esp, 0xc
test al, al
je 0x1018cc1d
push dword [ebp - 0xc]
mov ecx, esi
call fcn.1018ebd0
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x40]
cmp dword [edx + 0x1508], 0
jle 0x1018ccca
test al, al
jne 0x1018ccba
test cl, cl
jne 0x1018ccba
cmp byte [ebp - 0x15], cl
jne 0x1018ccba
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
nop dword [eax + eax]
mov eax, dword [edx + 0x1510]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x1c], eax
cmp eax, 9
jne 0x1018cc6a
cmp byte [edx + 0xfd], 0
jne 0x1018cca8
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x1c]
push 2
sub esp, 8
call fcn.1018e900
add esp, 0xc
test al, al
je 0x1018cca2
push dword [ebp - 0x1c]
lea edx, [esi + 0x38]
mov ecx, esi
call fcn.1018f590
add esp, 4
mov byte [esi + 0x1634], 1
mov dword [esi + 0x1630], 0xbdcccccd
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc edi
add ecx, 4
mov dword [ebp - 0xc], ecx
cmp edi, dword [edx + 0x1508]
jl 0x1018cc50
mov edi, dword [ebp - 0x34]
push 0
lea ecx, [edx + 0x1508]
call fcn.100436b0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
xor cl, cl
mov byte [ebp - 1], cl
cmp dword [edx + 0x1d24], eax
jne 0x1018d900
cmp byte [edx + 0x1d30], cl
jne 0x1018d6ea
cmp byte [ebp - 0x50], cl
jne 0x1018d6ea
movss xmm0, dword [ebp - 0x94]
mov ecx, 1
subss xmm0, dword [edx + 0x1554]
divss xmm0, dword [edx + 0x1a80]
cvttss2si eax, xmm0
cmp eax, ecx
cmovge ecx, eax
mov eax, 0x400000
mov dword [esi + 0x48], ecx
xor esi, esi
cmp byte [edx + 0xfd], 0
cmovne esi, eax
cmp dword [edx + 0x37c], 1
mov al, byte [edx + 0xfc]
mov byte [ebp - 0x15], al
jne 0x1018cd60
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1018cd60
call fcn.10160330
test al, al
je 0x1018cd5d
mov byte [ebp - 0xd], 1
jmp 0x1018cd6e
mov edx, dword [ebp - 8]
xor al, al
cmp dword [edx + 0x37c], 1
mov byte [ebp - 0xd], al
jne 0x1018cd89
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1018cd89
call fcn.10160330
test al, al
je 0x1018cd89
mov byte [ebp - 0x5d], 1
jmp 0x1018cd99
mov eax, dword [ebp - 8]
mov byte [ebp - 0x5d], 0
cmp dword [eax + 0x37c], 1
jne 0x1018cdb2
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1018cdb2
call fcn.10160330
mov byte [ebp - 0x1d], 1
test al, al
jne 0x1018cdb6
mov byte [ebp - 0x1d], 0
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1018ce0e
call fcn.10160330
test al, al
je 0x1018ce0e
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0x15], 0
cmovne eax, ecx
or eax, esi
push eax
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.1018ebd0
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1018d6e2
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x24]
jne 0x1018d6e2
mov al, 1
jmp 0x1018d6e4
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1018ce2d
call fcn.10160330
test al, al
je 0x1018ce2d
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x1018cdd5
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1018ce5f
call fcn.10160330
test al, al
je 0x1018ce5f
mov ecx, dword [ebp - 8]
mov eax, esi
or eax, 0x200006
or esi, 0x200004
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
jmp 0x1018cddf
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1018ce94
call fcn.10160330
test al, al
je 0x1018ce94
mov ecx, dword [ebp - 8]
mov eax, esi
or eax, 0x200007
or esi, 0x200005
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
jmp 0x1018cddf
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1018cebb
call fcn.10160330
test al, al
je 0x1018cebb
cmp byte [ebp - 0x40], 0
jne 0x1018cebb
or esi, 0x200008
push esi
jmp 0x1018cddf
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1018cefd
call fcn.10160330
test al, al
je 0x1018cefd
cmp byte [ebp - 0x40], 0
jne 0x1018cefd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ecx + 0x40]
jne 0x1018cef1
cmp byte [ebp - 0x15], 0
je 0x1018cef1
push 0x60000c
call fcn.1018ebd0
or esi, 0x200009
push esi
jmp 0x1018cddf
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1018cf12
call fcn.10160330
test al, al
jne 0x1018cf27
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1018cf5a
call fcn.10160330
test al, al
je 0x1018cf5a
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 8]
shr eax, 7
test al, 1
mov al, byte [edx + 0xfc]
je 0x1018cf46
test al, al
je 0x1018cf4a
mov esi, dword [ebp - 0x14]
jmp 0x1018cdec
test al, al
je 0x1018cf3e
mov esi, dword [ebp - 0x14]
mov byte [ebp - 0x50], 1
mov byte [ebp - 0x29], 1
jmp 0x1018cdec
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1018cf7f
call fcn.10160330
test al, al
je 0x1018cf7f
mov esi, dword [ebp - 0x14]
mov cl, 1
mov edx, dword [ebp - 8]
mov byte [ebp - 0x50], cl
jmp 0x1018cdef
mov eax, dword [ebp - 8]
cmp dword [eax + 0x37c], 1
jne 0x1018cfc6
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1018cfc3
call fcn.10160330
test al, al
je 0x1018cfc3
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
mov byte [esi + 0x1634], 1
jmp 0x1018cde9
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0xd]
test dl, dl
jne 0x1018d339
cmp byte [ebp - 0x5d], dl
jne 0x1018d339
cmp byte [ebp - 0x1d], dl
je 0x1018cfff
mov eax, dword [0x1033cac0]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1018d007
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1018d00c
mov esi, dword [ebp - 0x14]
jmp 0x1018cde9
mov esi, 0x102d5374
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1018d011
sub ecx, edx
lea ecx, [ecx*4 + 4]
call fcn.10168840
mov ecx, eax
xor eax, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x3c], eax
cmp byte [esi], al
je 0x1018d07f
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.10166730
add esp, 4
add esi, eax
cmp dword [ebp - 0x1c], 0
je 0x1018d073
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x1c]
push 5
sub esp, 8
call fcn.1018e900
add esp, 0xc
test al, al
je 0x1018d06e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + edi*4], eax
inc edi
cmp byte [esi], 0
jne 0x1018d036
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + eax*4], 0
test eax, eax
jle 0x1018d30e
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x40]
lea eax, [ecx + 0x38]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
cmp edx, esi
je 0x1018d0e4
cmp edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x30]
jle 0x1018d0b8
mov dword [eax + 4], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], esi
cmp esi, edx
jle 0x1018d0c7
mov dword [eax + 8], edx
mov dword [ebp - 0x4c], edx
jmp 0x1018d0ca
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov esi, edx
mov edx, dword [ebp - 0x48]
cmp edx, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
jne 0x1018d0e4
mov esi, dword [ebp - 0x4c]
mov dword [eax], edx
mov dword [ebp - 0x28], edx
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
cmp edi, dword [ebp - 0x30]
jle 0x1018d0f6
mov edi, dword [ebp - 0x30]
mov dword [eax], edi
mov dword [ebp - 0x48], edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x30], edi
cmp edx, esi
je 0x1018d13c
mov dword [ebp - 0x4c], edx
cmp edx, edi
mov edx, edi
jle 0x1018d10f
mov dword [eax + 4], edx
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
cmp esi, edx
jle 0x1018d11f
mov dword [eax + 8], edx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x1c]
mov edi, esi
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], edx
cmp edx, edi
jne 0x1018d13c
mov dword [eax], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x28], edx
mov edi, dword [ebp - 0x48]
cmp edi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
jle 0x1018d14f
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
cmp edx, esi
je 0x1018d2ac
jge 0x1018d28c
lea ecx, [eax + 0x20]
mov eax, 0x63
sub esi, edx
mov dword [ecx + 0x15d4], 0x3e7
mov dword [ebp - 0x1c], ecx
mov word [ecx + 0x15ce], ax
cmp word [ecx + 0x15cc], ax
jne 0x1018d18c
call fcn.1018f4c0
mov ecx, dword [ebp - 0x1c]
cmp esi, 0x3e7
jle 0x1018d1a8
xor eax, eax
mov word [ecx + 0x15cc], ax
mov dword [ecx + 0x15d0], eax
jmp 0x1018d270
mov eax, dword [ecx + 0x15d0]
add eax, esi
cmp eax, 0x3e7
jle 0x1018d1dc
mov edi, dword [ebp - 0x1c]
nop word [eax + eax]
mov ecx, edi
call fcn.1018f4c0
mov eax, dword [edi + 0x15d0]
add eax, esi
cmp eax, 0x3e7
jg 0x1018d1c0
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + 0x15cc]
movsx edx, ax
inc eax
shl edx, 4
add edx, ecx
mov word [ecx + 0x15cc], ax
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x1018d270
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], 0
test esi, esi
jne 0x1018d219
mov dword [eax + 0xc], 0xffffffff
jmp 0x1018d273
mov edi, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x15d0]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [ecx + 0x15d0], esi
mov edi, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
add eax, 0x18c
lea eax, [ecx + eax*4]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1018d273
xor ecx, ecx
test esi, esi
jle 0x1018d273
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
lea edi, [eax*4]
mov eax, dword [edx + 0x14]
lea edi, [edi + 4]
mov edx, dword [ebp - 0x64]
mov eax, dword [edi + eax - 4]
mov dword [edx + ecx*4], eax
inc ecx
mov edx, dword [ebp - 0x14]
cmp ecx, esi
jl 0x1018d255
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
push esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10190b40
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x38]
add esp, 4
mov dword [eax + 8], ecx
jmp 0x1018d2a6
sub edx, esi
push edx
push esi
mov edx, eax
call fcn.101905b0
mov eax, dword [ebp - 0x14]
add esp, 8
add eax, 0x38
mov ecx, dword [eax + 8]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov byte [eax + 0x16], 0
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0xc]
mov edx, dword [eax]
call fcn.101909e0
add esp, 8
test al, al
je 0x1018d2ee
push dword [ebp - 0x3c]
mov edx, dword [esi + 0x38]
lea ecx, [esi + 0x58]
push 0
call fcn.1018f1f0
mov eax, dword [ebp - 0x3c]
add esp, 8
add dword [esi + 0x38], eax
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x4e], 0
mov byte [esi + 0x1634], 1
jmp 0x1018d311
movzx eax, word [esi + 0x1624]
test ax, ax
je 0x1018d302
dec eax
mov word [esi + 0x1624], ax
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x1634], 1
jmp 0x1018d311
mov esi, dword [ebp - 0x14]
test ecx, ecx
je 0x1018d324
mov eax, dword [0x1033cac0]
test eax, eax
je 0x1018d324
dec dword [eax + 0x370]
push dword [0x1033cb10]
push ecx
call dword [0x10338d38]
add esp, 8
jmp 0x1018cde9
cmp dword [eax + 0xd4], 0
je 0x1018d3e3
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
je 0x1018d366
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov al, byte [ebp - 0xd]
mov dword [ebp - 0xc], edx
mov byte [ebp - 0xd], al
jmp 0x1018d373
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], dl
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
lea edx, [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
lea ecx, [eax + ecx*4]
call fcn.10166110
inc eax
mov ecx, eax
mov dword [ebp - 0x64], eax
call fcn.10168840
mov esi, dword [esi + 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
lea ecx, [esi + ecx*4]
push ecx
lea ecx, [esi + eax*4]
mov esi, dword [ebp - 0x74]
push ecx
mov ecx, esi
call fcn.10166180
add esp, 8
mov ecx, esi
call fcn.101629d0
test esi, esi
je 0x1018d3d0
mov eax, dword [0x1033cac0]
test eax, eax
je 0x1018d3d0
dec dword [eax + 0x370]
push dword [0x1033cb10]
push esi
call dword [0x10338d38]
mov dl, byte [ebp - 0xd]
add esp, 8
mov esi, dword [ebp - 0x14]
test dl, dl
je 0x1018cde9
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1018d40a
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
lea ecx, [esi + 0x38]
mov byte [esi + 0x1634], 1
mov eax, dword [ecx + 8]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], ecx
cmp ecx, eax
je 0x1018cde9
mov edx, dword [esi + 4]
cmp ecx, edx
jle 0x1018d43a
mov dword [esi + 0x3c], edx
mov ecx, edx
mov dword [ebp - 0x30], edx
cmp eax, edx
jle 0x1018d446
mov dword [esi + 0x40], edx
mov eax, edx
mov dword [ebp - 0x28], edx
cmp ecx, eax
jne 0x1018d44d
mov dword [esi + 0x38], ecx
cmp dword [esi + 0x38], edx
jle 0x1018d455
mov dword [esi + 0x38], edx
cmp ecx, eax
je 0x1018d6d6
mov esi, dword [ebp - 0x64]
add esi, 0x20
mov dword [esi + 0x15d4], 0x3e7
cmp ecx, eax
jge 0x1018d5a6
sub eax, ecx
mov dword [ebp - 0x28], eax
mov eax, 0x63
mov word [esi + 0x15ce], ax
cmp word [esi + 0x15cc], ax
jne 0x1018d496
mov ecx, esi
call fcn.1018f4c0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x3e7
jle 0x1018d4b5
xor eax, eax
mov word [esi + 0x15cc], ax
mov dword [esi + 0x15d0], eax
jmp 0x1018d57b
mov eax, dword [esi + 0x15d0]
add eax, ecx
cmp eax, 0x3e7
jle 0x1018d4e3
mov edi, dword [ebp - 0x28]
mov ecx, esi
call fcn.1018f4c0
mov eax, dword [esi + 0x15d0]
add eax, edi
cmp eax, 0x3e7
jg 0x1018d4c7
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
movzx eax, word [esi + 0x15cc]
movsx edx, ax
inc eax
shl edx, 4
add edx, esi
mov word [esi + 0x15cc], ax
mov dword [ebp - 0xc], edx
test edx, edx
je 0x1018d57b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1018d520
mov dword [eax + 0xc], 0xffffffff
jmp 0x1018d57e
mov edi, dword [ebp - 0xc]
mov eax, dword [esi + 0x15d0]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0x15d0], ecx
mov edi, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
add eax, 0x18c
lea eax, [esi + eax*4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1018d57e
xor esi, esi
test ecx, ecx
jle 0x1018d57e
mov edi, dword [ebp - 0x14]
lea eax, [edx*4]
mov dword [ebp - 0x64], eax
mov edx, eax
nop
mov eax, dword [edi + 0x14]
lea edx, [edx + 4]
mov ecx, dword [ebp - 0x74]
mov eax, dword [edx + eax - 4]
mov dword [ecx + esi*4], eax
inc esi
mov ecx, dword [ebp - 0x28]
cmp esi, ecx
jl 0x1018d560
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.10190b40
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x38]
mov edx, eax
mov dword [eax + 8], ecx
add esp, 4
mov byte [edx + 0x16], 0
mov dword [eax], ecx
mov byte [eax + 0x16], 0
jmp 0x1018cde9
sub ecx, eax
mov eax, 0x63
mov dword [ebp - 0x30], ecx
mov word [esi + 0x15ce], ax
cmp word [esi + 0x15cc], ax
jne 0x1018d5ca
mov ecx, esi
call fcn.1018f4c0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x3e7
jle 0x1018d5e6
xor eax, eax
mov word [esi + 0x15cc], ax
mov dword [esi + 0x15d0], eax
jmp 0x1018d6ab
mov eax, dword [esi + 0x15d0]
add eax, ecx
cmp eax, 0x3e7
jle 0x1018d614
mov edi, dword [ebp - 0x30]
mov ecx, esi
call fcn.1018f4c0
mov eax, dword [esi + 0x15d0]
add eax, edi
cmp eax, 0x3e7
jg 0x1018d5f8
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
movzx eax, word [esi + 0x15cc]
movsx edx, ax
inc eax
shl edx, 4
add edx, esi
mov word [esi + 0x15cc], ax
mov dword [ebp - 0xc], edx
test edx, edx
je 0x1018d6ab
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1018d651
mov dword [eax + 0xc], 0xffffffff
jmp 0x1018d6ae
mov edi, dword [ebp - 0xc]
mov eax, dword [esi + 0x15d0]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0x15d0], ecx
mov edi, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
add eax, 0x18c
lea eax, [esi + eax*4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1018d6ae
xor esi, esi
test ecx, ecx
jle 0x1018d6ae
mov edi, dword [ebp - 0x14]
lea eax, [edx*4]
mov dword [ebp - 0x64], eax
mov edx, eax
nop
mov eax, dword [edi + 0x14]
lea edx, [edx + 4]
mov ecx, dword [ebp - 0x74]
mov eax, dword [edx + eax - 4]
mov dword [ecx + esi*4], eax
inc esi
mov ecx, dword [ebp - 0x30]
cmp esi, ecx
jl 0x1018d690
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.10190b40
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x38]
mov edx, eax
mov dword [eax + 4], ecx
add esp, 4
mov byte [edx + 0x16], 0
mov dword [eax], ecx
mov byte [eax + 0x16], 0
jmp 0x1018cde9
lea eax, [esi + 0x38]
mov byte [eax + 0x16], 0
jmp 0x1018cde9
xor al, al
or byte [ebp - 0x6c], al
mov eax, dword [ebp - 0x24]
cmp dword [edx + 0x1d24], eax
jne 0x1018d900
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x3c], 0
test cl, cl
je 0x1018d842
cmp byte [ebp - 0x40], 0
jne 0x1018d836
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebx + 8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1018d740
test dl, dl
je 0x1018d73c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1018d740
add eax, 2
add ecx, 2
test dl, dl
jne 0x1018d720
xor eax, eax
jmp 0x1018d745
sbb eax, eax
or eax, 1
test eax, eax
je 0x1018d836
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x2c]
dec eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
test eax, eax
jle 0x1018d7b7
lea esi, [eax + ecx]
mov edx, esi
call fcn.101663b0
inc eax
lea ecx, [ebp - 0xa8]
push eax
call fcn.100436b0
mov ecx, dword [ebp - 0xa0]
push 0
push esi
push dword [ebp - 0xc]
mov esi, dword [ebp - 0xa8]
mov edx, esi
call fcn.10166560
lea ecx, [esi - 1]
add esp, 0xc
mov esi, dword [ebp - 0x14]
jmp 0x1018d7b9
xor ecx, ecx
mov eax, dword [esi + 4]
xor edx, edx
push ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [esi + 0x58]
push eax
mov dword [ebp - 0x64], eax
call fcn.1018f1f0
add esp, 8
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1018d7f4
mov edx, dword [ebp - 0x64]
xor ecx, ecx
test edx, edx
jle 0x1018d7f4
mov edi, eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x1018d7e3
mov edi, dword [ebp - 0x34]
push dword [esi + 4]
xor edx, edx
mov ecx, esi
call fcn.10190b40
mov eax, dword [ebp - 0x1c]
add esp, 4
test eax, eax
jle 0x1018d82b
push eax
push dword [ebp - 0xa0]
xor edx, edx
mov ecx, esi
call fcn.101909e0
add esp, 8
test al, al
je 0x1018d82b
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
lea ecx, [ebp - 0xa8]
call fcn.10043750
cmp byte [ebp - 0x29], 0
je 0x1018d8b4
test byte [ebx + 0x14], 0x20
je 0x1018d8b4
cmp byte [ebp - 0x40], 0
jne 0x1018d8b4
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x18]
mov byte [esi + 0x30], 1
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 1]
push eax
call fcn.10043460
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 0x18]
mov esi, eax
push 0
push dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
call fcn.10166180
mov ecx, dword [ebx + 8]
add esp, 8
mov eax, dword [esi + 0x20]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1018d8a0
test dl, dl
je 0x1018d89c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1018d8a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1018d880
xor eax, eax
jmp 0x1018d8a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1018d8b4
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
jmp 0x1018d8b7
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x1018d8f0
mov edx, dword [ebx + 0xc]
inc eax
cmp eax, edx
cmovl edx, eax
mov dword [ebx + 0xc], edx
cmp edx, 1
jb 0x1018d8ec
jbe 0x1018d8e4
lea eax, [edx - 1]
push eax
push ecx
push dword [ebx + 8]
call fcn.100f3d30
mov edx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [ebx + 8]
mov byte [edx + eax - 1], 0
mov byte [ebp - 0x42], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x1638], 0
cmp byte [ebp - 0x50], 0
je 0x1018d913
cmp dword [edx + 0x1d24], eax
jne 0x1018d913
call fcn.10162db0
mov eax, dword [ebp - 8]
mov ecx, 0x2f
movss xmm1, dword [0x102dd87c]
movss xmm7, dword [eax + 0x1558]
call fcn.10168c50
mov ecx, dword [ebp - 0x88]
mov esi, eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x78], ecx
mov ecx, dword [0x1033cac0]
push 0
push ecx
movss dword [esp], xmm7
mov eax, dword [ecx + 0x1cec]
lea ecx, [ebp - 0x68]
push esi
push ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [eax + 0x284]
mov dword [ebp - 0x74], edx
call fcn.10180aa0
cmp byte [ebp - 0x35], 0
movss xmm3, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x94]
movss xmm1, dword [ebp - 0xac]
movss xmm2, dword [ebp - 0x70]
movss xmm4, dword [0x102dd910]
addss xmm1, xmm2
mov esi, dword [ebp - 0x14]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [eax + 0x1550]
mulss xmm0, xmm4
movss dword [ebp - 0xac], xmm1
movss dword [ebp - 0xd0], xmm1
movss xmm1, dword [ebp - 0xb8]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0xd8], xmm2
movss dword [ebp - 0xd4], xmm3
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 0x1a80]
divss xmm1, xmm4
divss xmm0, xmm4
subss xmm1, xmm0
movss dword [ebp - 0x74], xmm1
je 0x1018da22
mov ecx, dword [esi + 0x20]
mov dword [ebx + 8], ecx
jmp 0x1018da25
mov ecx, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x30], eax
cmp byte [ebp - 0x41], al
je 0x1018da51
mov eax, dword [ebp - 0x98]
mov ecx, eax
mov dword [ebx + 8], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1018da40
mov eax, dword [ebp - 0x98]
sub ecx, edx
jmp 0x1018da58
test esi, esi
je 0x1018da5d
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x80]
xorps xmm4, xmm4
movss dword [ebp - 0x64], xmm4
cmp eax, dword [ebp - 0x24]
je 0x1018da77
cmp byte [ebp - 0x6c], 0
je 0x1018e14a
mov ecx, dword [esi + 0x14]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x80]
xorps xmm0, xmm0
xorps xmm3, xmm3
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x4c], xmm3
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xc], 0xfffffc18
cmp eax, dword [ebp - 0x24]
jne 0x1018dabb
mov eax, dword [esi + 0x38]
lea edx, [ecx + eax*4]
or eax, 0xffffffff
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xc], eax
cmp byte [ebp - 0x6c], 0
je 0x1018dad9
mov ecx, dword [esi + 0x40]
cmp dword [esi + 0x3c], ecx
mov eax, dword [ebp - 0x50]
cmovl ecx, dword [esi + 0x3c]
lea eax, [eax + ecx*4]
or ecx, 0xffffffff
mov dword [ebp - 0x1c], eax
jmp 0x1018dade
mov ecx, 0xfffffc18
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0x54]
cmp ecx, 0xffffffff
mov dword [ebp - 0xc], eax
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x94], ecx
mov ecx, edx
cmp edx, dword [ebp - 0x50]
jbe 0x1018db16
mov edi, dword [ebp - 0x50]
cmp dword [ecx - 4], 0xa
je 0x1018db13
add ecx, 0xfffffffc
cmp ecx, edi
ja 0x1018db06
mov edi, dword [ebp - 0x34]
mov eax, dword [0x1033cac0]
movaps xmm1, xmm4
movaps xmm2, xmm4
mov edx, dword [eax + 0x1a7c]
movss xmm3, dword [eax + 0x1a80]
mov eax, dword [ebp - 0x98]
divss xmm3, dword [edx + 0x10]
cmp ecx, eax
jae 0x1018db88
mov edi, edx
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1018db53
maxss xmm1, xmm2
movaps xmm2, xmm4
jmp 0x1018db79
cmp edx, 0xd
je 0x1018db79
cmp edx, dword [edi]
jge 0x1018db6c
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [ebp - 0x98]
jmp 0x1018db71
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm3
addss xmm2, xmm0
cmp ecx, eax
jb 0x1018db40
comiss xmm2, xmm1
mov edi, dword [ebp - 0x34]
jbe 0x1018db88
movaps xmm1, xmm2
addss xmm1, dword [0x102dd87c]
movss xmm0, dword [edi + 0x1c]
sub esp, 8
subss xmm0, xmm1
movss dword [edi + 0x18], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ef210
movss xmm3, dword [0x102dd87c]
add esp, 8
fstp dword [ebp - 0x54]
comiss xmm3, dword [ebp - 0x54]
jbe 0x1018dbc8
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
movss xmm2, dword [edi + 0x18]
movss xmm1, dword [edi + 0x1c]
comiss xmm1, xmm2
mov ecx, dword [ebp - 8]
jbe 0x1018dbfd
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102dda40]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi + 0x1c], xmm1
jmp 0x1018dc23
comiss xmm2, xmm1
jbe 0x1018dc23
movaps xmm0, xmm2
subss xmm0, xmm1
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102dda24]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi + 0x1c], xmm0
cmp dword [ebp - 0x94], 0
movd xmm0, dword [ebp - 0xc]
movss xmm7, dword [ecx + 0x1a80]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
movss dword [ebp - 0x98], xmm0
jl 0x1018dd0a
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [ebp - 0x50]
cmp eax, edx
jbe 0x1018dc65
cmp dword [ecx - 4], 0xa
je 0x1018dc65
add ecx, 0xfffffffc
cmp ecx, edx
ja 0x1018dc58
mov eax, dword [0x1033cac0]
xorps xmm3, xmm3
xorps xmm0, xmm0
movss dword [ebp - 0x4c], xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x1a7c]
movss xmm2, dword [eax + 0x1a80]
mov eax, dword [ebp - 0x1c]
divss xmm2, dword [edx + 0x10]
cmp ecx, eax
jae 0x1018dce3
mov edi, edx
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1018dca7
maxss xmm3, xmm1
movaps xmm1, xmm0
jmp 0x1018dccd
cmp edx, 0xd
je 0x1018dccd
cmp edx, dword [edi]
jge 0x1018dcbd
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [ebp - 0x1c]
jmp 0x1018dcc2
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cmp ecx, eax
jb 0x1018dc94
comiss xmm1, xmm3
mov edi, dword [ebp - 0x34]
movss dword [ebp - 0x4c], xmm3
jbe 0x1018dce3
movss dword [ebp - 0x4c], xmm1
movd xmm0, dword [ebp - 0x94]
mov eax, dword [ebp - 8]
movss xmm3, dword [0x102dd87c]
cvtdq2ps xmm0, xmm0
movss xmm7, dword [eax + 0x1a80]
mulss xmm0, xmm7
movss dword [ebp - 0x3c], xmm0
cmp byte [ebp - 0x6c], 0
je 0x1018df28
mov ecx, dword [esi + 0x3c]
movaps xmm1, xmm3
mov edx, dword [esi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov eax, edx
cmovl eax, ecx
cmovge edx, ecx
mov ecx, 0x31
lea esi, [esi + eax*4]
mov eax, dword [ebp - 0x50]
lea eax, [eax + edx*4]
mov dword [ebp - 0xc], eax
call fcn.10168c50
movss xmm5, dword [ebp - 0x3c]
addss xmm5, dword [ebp - 0x74]
movss xmm4, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
addss xmm4, dword [ebp - 0x48]
movss dword [ebp - 0x3c], xmm5
cmp esi, ecx
jae 0x1018df25
movss xmm6, dword [ebp - 0x28]
mov edi, dword [ebp - 8]
nop
addss xmm7, xmm6
comiss xmm5, xmm7
ja 0x1018df22
movss xmm0, dword [ebp - 0x7c]
comiss xmm0, xmm5
jbe 0x1018dda7
cmp esi, ecx
jae 0x1018df04
nop
mov eax, dword [esi]
add esi, 4
cmp eax, 0xa
je 0x1018df04
cmp esi, ecx
jb 0x1018dd90
jmp 0x1018df22
mov eax, dword [0x1033cac0]
xorps xmm7, xmm7
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x1a7c]
movss xmm2, dword [eax + 0x1a80]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x1018de10
nop dword [eax]
mov ecx, dword [esi]
add esi, 4
cmp ecx, 0xa
je 0x1018de03
cmp ecx, 0xd
je 0x1018ddfa
cmp ecx, dword [edx]
jge 0x1018dded
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1018ddf2
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [ebp - 0xc]
cmp esi, ecx
jb 0x1018ddd0
jmp 0x1018de10
mov ecx, dword [ebp - 0xc]
movaps xmm3, xmm7
maxss xmm3, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm3
comiss xmm7, xmm1
jb 0x1018de49
mov eax, dword [edi + 0x1a7c]
cmp dword [eax], 0x20
jle 0x1018de31
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1018de36
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x102dd82c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [0x102dd82c]
movss xmm2, dword [0x102ddbd0]
movaps xmm0, xmm5
subss xmm2, dword [edi + 0x1a80]
addss xmm0, dword [0x102dd910]
movss xmm3, dword [ebp - 0xac]
addss xmm1, xmm4
addss xmm4, xmm7
movss xmm7, dword [ebp - 0x70]
addss xmm2, xmm5
minss xmm0, xmm6
minss xmm1, xmm3
maxss xmm4, xmm7
maxss xmm2, dword [ebp - 0x7c]
comiss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x90], xmm4
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x84], xmm0
jbe 0x1018df04
comiss xmm6, xmm2
jbe 0x1018df04
comiss xmm1, xmm7
jbe 0x1018df04
comiss xmm3, xmm4
jbe 0x1018df04
push 0
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x88]
push dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x284]
call fcn.10180aa0
movss xmm5, dword [ebp - 0x3c]
movss xmm6, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
movss xmm7, dword [edi + 0x1a80]
movss xmm4, dword [ebp - 0x48]
addss xmm5, xmm7
movss dword [ebp - 0x3c], xmm5
cmp esi, ecx
jb 0x1018dd70
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x24]
jne 0x1018e147
mov eax, dword [ebp - 8]
movss xmm1, dword [eax + 0x18]
addss xmm1, dword [esi + 0x1630]
movss dword [esi + 0x1630], xmm1
mov esi, eax
cmp byte [esi + 0xb2], 0
je 0x1018df98
xorps xmm3, xmm3
comiss xmm3, xmm1
jae 0x1018df98
movss xmm0, dword [0x102dd8bc]
sub esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ef390
movss xmm0, dword [0x102dd84c]
add esp, 0x10
fstp dword [ebp - 0x54]
comiss xmm0, dword [ebp - 0x54]
jae 0x1018df98
xor cl, cl
jmp 0x1018df9a
mov cl, 1
movss xmm1, dword [ebp - 0x48]
addss xmm1, dword [edi + 0x1c]
movss xmm0, dword [ebp - 0x98]
addss xmm0, dword [ebp - 0x74]
cvttss2si eax, xmm1
movd xmm7, eax
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xac]
cvtdq2ps xmm7, xmm7
movd xmm5, eax
comiss xmm7, xmm0
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x74], xmm7
movss dword [ebp - 0x94], xmm5
jbe 0x1018dffb
subss xmm0, xmm7
addss xmm0, dword [0x102dd9a8]
subss xmm7, xmm0
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x74], xmm7
movss xmm3, dword [esi + 0x1a80]
movaps xmm6, xmm7
movss xmm0, dword [0x102dd87c]
movaps xmm1, xmm3
movss dword [ebp - 0x90], xmm7
addss xmm6, xmm0
movaps xmm4, xmm5
divss xmm1, dword [0x102dd910]
movss dword [ebp - 0x88], xmm6
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
subss xmm4, dword [0x102dd910]
mulss xmm1, xmm0
movss xmm0, dword [0x102dd87c]
subss xmm4, xmm1
movaps xmm1, xmm3
divss xmm1, dword [0x102dd910]
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x84], xmm4
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
mulss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
addss xmm0, dword [0x102dd944]
addss xmm1, xmm0
movss dword [ebp - 0x8c], xmm1
test cl, cl
je 0x1018e118
comiss xmm4, dword [ebp - 0x7c]
jbe 0x1018e118
movss xmm0, dword [ebp - 0x28]
comiss xmm0, xmm1
jbe 0x1018e118
comiss xmm6, dword [ebp - 0x70]
jbe 0x1018e118
movss xmm0, dword [ebp - 0xac]
comiss xmm0, xmm7
jbe 0x1018e118
movss xmm1, dword [0x102dd87c]
mov ecx, 0x30
call fcn.10168c50
movss xmm0, dword [ebp - 0x54]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [ebp - 0x9c]
movss dword [ebp - 0x9c], xmm7
push eax
lea eax, [ebp - 0x90]
movss dword [ebp - 0x98], xmm0
push eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x284]
call fcn.10182320
movss xmm7, dword [ebp - 0x74]
movss xmm5, dword [ebp - 0x94]
cmp byte [ebp - 0x40], 0
xorps xmm4, xmm4
movss xmm6, dword [0x102dd87c]
jne 0x1018e155
subss xmm5, dword [esi + 0x1a80]
subss xmm7, xmm6
movss dword [esi + 0x3748], xmm5
movss dword [esi + 0x3744], xmm7
jmp 0x1018e155
xorps xmm4, xmm4
mov esi, dword [ebp - 8]
movss xmm6, dword [0x102dd87c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 8]
sub eax, ecx
cmp eax, 0x200000
jge 0x1018e176
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1018e167
sub ecx, edx
je 0x1018e176
mov al, 1
jmp 0x1018e178
xor al, al
movss xmm3, dword [0x102dd9cc]
movaps xmm1, xmm6
subss xmm1, dword [edi + 0x20]
movss xmm0, dword [0x102dd864]
mov byte [ebp - 0x15], al
mulss xmm1, dword [esi + 0x18]
mulss xmm1, xmm3
addss xmm1, dword [edi + 0x20]
minss xmm1, xmm6
comiss xmm1, xmm0
movss dword [edi + 0x20], xmm1
jbe 0x1018e1b6
mov dword [edi + 0x20], 0x3f800000
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x80]
cmp edx, ecx
jne 0x1018e1d2
test al, al
jne 0x1018e1d2
movsd xmm1, qword [0x102dd8c8]
cvtpd2ps xmm1, xmm1
jmp 0x1018e1e6
movsd xmm1, qword [0x102dd900]
cvtpd2ps xmm1, xmm1
cmp edx, ecx
jne 0x1018e1e6
test al, al
jne 0x1018e22a
movss xmm2, dword [edi + 0x14]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1018e222
comiss xmm2, xmm0
jbe 0x1018e203
mov dword [edi + 0x14], 0x3f800000
movaps xmm2, xmm6
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [esi + 0x18]
mulss xmm0, xmm3
addss xmm0, xmm2
minss xmm0, xmm1
movss dword [edi + 0x14], xmm0
jmp 0x1018e264
cmp edx, ecx
jne 0x1018e264
test al, al
je 0x1018e264
movss xmm1, dword [edi + 0x14]
comiss xmm1, xmm4
jbe 0x1018e264
movss xmm0, dword [0x102dd7c0]
comiss xmm0, xmm1
jbe 0x1018e24b
mov dword [edi + 0x14], 0
movaps xmm1, xmm4
movaps xmm0, xmm1
mulss xmm0, dword [esi + 0x18]
mulss xmm0, xmm3
subss xmm1, xmm0
maxss xmm1, xmm4
movss dword [edi + 0x14], xmm1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033a628]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10347d58]
cmp eax, dword [ecx + 4]
jg 0x1018e89f
movups xmm0, xmmword [esi + 0x15dc]
mov esi, dword [0x1033cac0]
xor edx, edx
movups xmmword [ebp - 0x90], xmm0
mov eax, dword [esi + 0x1cec]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0xb4]
call fcn.10166b40
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [esi + 0x1d24], eax
jne 0x1018e2cf
mov dword [esi + 0x1d28], eax
cmp dword [esi + 0x1d5c], eax
jne 0x1018e2de
mov byte [esi + 0x1d60], 1
mov dword [ebp - 0xc], eax
mov ecx, 0x10347d5c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100547b0
mov esi, dword [ebp - 0xa0]
mov ecx, dword [0x10347d5c]
cmp byte [esi + 0xd], 0
jne 0x1018e310
mov eax, dword [ebp - 0x54]
cmp eax, dword [esi + 0x10]
jae 0x1018e312
mov esi, ecx
cmp esi, ecx
jne 0x1018e35e
lea eax, [ebp - 0x90]
mov ecx, 0x10347d5c
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10049800
lea eax, [ebp - 0xc]
mov ecx, 0x10347d5c
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100547b0
mov esi, dword [ebp - 0xa0]
cmp byte [esi + 0xd], 0
jne 0x1018e358
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x10]
jae 0x1018e35e
mov esi, dword [0x10347d5c]
mov eax, dword [ebp - 8]
sub esp, 8
movss xmm1, dword [ebp - 0x8c]
addss xmm1, dword [ebp - 0x90]
movss xmm0, dword [eax + 0x18d0]
addss xmm0, dword [eax + 0x18cc]
addss xmm1, dword [ebp - 0x88]
addss xmm0, dword [eax + 0x18d4]
divss xmm1, dword [0x102dd944]
divss xmm0, dword [0x102dd944]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ef210
movss xmm0, dword [0x102dd800]
add esp, 8
movss xmm7, dword [0x102dd87c]
fstp dword [ebp - 0x54]
comiss xmm0, dword [ebp - 0x54]
jbe 0x1018e3f4
movaps xmm3, xmm7
movaps xmm4, xmm7
subss xmm3, dword [ebp - 0x90]
subss xmm4, dword [ebp - 0x8c]
movaps xmm5, xmm7
subss xmm5, dword [ebp - 0x88]
jmp 0x1018e40c
movss xmm3, dword [ebp - 0x90]
movss xmm4, dword [ebp - 0x8c]
movss xmm5, dword [ebp - 0x88]
mov eax, dword [ebp - 8]
movss xmm1, dword [esi + 0x14]
comiss xmm3, xmm1
movss xmm2, dword [eax + 0x18]
movss xmm6, dword [0x102dd980]
jbe 0x1018e43c
movaps xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm1
minss xmm0, xmm3
movss dword [esi + 0x14], xmm0
jmp 0x1018e455
comiss xmm1, xmm3
jbe 0x1018e455
movaps xmm0, xmm2
mulss xmm0, xmm6
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [esi + 0x14], xmm1
movss xmm3, dword [esi + 0x18]
comiss xmm4, xmm3
jbe 0x1018e470
movaps xmm1, xmm2
mulss xmm1, xmm6
addss xmm1, xmm3
minss xmm1, xmm4
jmp 0x1018e487
comiss xmm3, xmm4
movaps xmm1, xmm3
jbe 0x1018e48c
movaps xmm0, xmm2
mulss xmm0, xmm6
subss xmm1, xmm0
maxss xmm1, xmm4
movss dword [esi + 0x18], xmm1
movss xmm0, dword [esi + 0x1c]
comiss xmm5, xmm0
jbe 0x1018e4ac
mulss xmm2, xmm6
addss xmm2, xmm0
minss xmm2, xmm5
movss dword [esi + 0x1c], xmm2
movaps xmm0, xmm2
jmp 0x1018e4c2
comiss xmm0, xmm5
jbe 0x1018e4c2
mulss xmm2, xmm6
subss xmm0, xmm2
maxss xmm0, xmm5
movss dword [esi + 0x1c], xmm0
movss xmm3, dword [esi + 0x14]
xorps xmm4, xmm4
comiss xmm4, xmm3
jbe 0x1018e4d4
xorps xmm2, xmm2
jmp 0x1018e4db
movaps xmm2, xmm7
minss xmm2, xmm3
comiss xmm4, xmm1
movss xmm3, dword [0x102ddb24]
movss xmm5, dword [0x102dd82c]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si ecx, xmm2
jbe 0x1018e501
xorps xmm2, xmm2
jmp 0x1018e508
movaps xmm2, xmm7
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm4, xmm0
jbe 0x1018e523
xorps xmm1, xmm1
jmp 0x1018e52a
movaps xmm1, xmm7
minss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
movss xmm1, dword [esi + 0x20]
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm1
jbe 0x1018e54a
xorps xmm0, xmm0
jmp 0x1018e551
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
xor ecx, ecx
call fcn.10168df0
cmp byte [ebp - 0x15], 0
mov esi, dword [ebp - 0xb4]
je 0x1018e60d
mov ecx, dword [0x1033cac0]
movss xmm2, dword [ecx + 0x1a80]
test esi, esi
je 0x1018e5b4
movss xmm3, dword [0x102ddbac]
lea eax, [ebp - 0x58]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a7c]
mov dword [esp], 0xbf800000
push eax
call fcn.10180790
movss xmm2, dword [ebp - 0x54]
movss xmm0, dword [ebp - 0xb8]
lea eax, [ebp - 0xd0]
addss xmm0, dword [ebp - 0x7c]
divss xmm2, dword [0x102dd910]
lea edx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x58]
movss xmm1, dword [ebp - 0x70]
divss xmm0, dword [0x102dd910]
addss xmm1, dword [0x102dd990]
push dword [ebx + 8]
subss xmm0, xmm2
push eax
addss xmm1, dword [ebp - 0x64]
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x58], xmm1
call fcn.10164190
add esp, 0xc
cmp byte [ebp - 0xe4], 0
je 0x1018e621
cmp byte [ebp - 0x41], 0
jne 0x1018e621
call fcn.1016d610
cmp byte [ebx + 0x18], 0
je 0x1018e7f3
cmp byte [ebp - 0x15], 0
jne 0x1018e7f3
movss xmm1, dword [edi + 0x14]
xorps xmm4, xmm4
comiss xmm1, xmm4
jbe 0x1018e7f3
mov eax, dword [0x1033cac0]
movss xmm5, dword [0x102dd87c]
movups xmm2, xmmword [eax + 0x15dc]
mulss xmm1, dword [eax + 0x1518]
comiss xmm4, xmm2
movaps xmm0, xmm2
movaps xmmword [ebp - 0xe0], xmm2
shufps xmm0, xmm2, 0xff
mulss xmm1, xmm0
jbe 0x1018e67e
xorps xmm0, xmm0
jmp 0x1018e685
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [0x102ddb24]
movss xmm6, dword [0x102dd82c]
movss xmm3, dword [ebp - 0xdc]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1018e6b3
xorps xmm0, xmm0
jmp 0x1018e6ba
movaps xmm0, xmm5
minss xmm0, xmm3
movss xmm3, dword [ebp - 0xd8]
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1018e6dd
xorps xmm0, xmm0
jmp 0x1018e6e4
movaps xmm0, xmm5
minss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm1
jbe 0x1018e6ff
xorps xmm5, xmm5
jmp 0x1018e703
minss xmm5, xmm1
mulss xmm5, xmm2
addss xmm5, xmm6
cvttss2si edx, xmm5
shl edx, 0x18
or edx, ecx
xor ecx, ecx
call fcn.10168df0
movss xmm1, dword [ebp - 0xbc]
xorps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1018e7c3
movss xmm0, dword [ebp - 0x70]
mov ecx, dword [0x1033cac0]
addss xmm0, dword [0x102dd990]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ecx + 0x1a80]
test esi, esi
je 0x1018e77f
movss xmm3, dword [0x102ddbac]
lea eax, [ebp - 0x58]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a7c]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.10180790
movss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0xb8]
xor edx, edx
addss xmm1, dword [ebp - 0x7c]
divss xmm0, dword [0x102dd910]
mov ecx, esi
divss xmm1, dword [0x102dd910]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x70]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x54], xmm1
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 1
call fcn.10164730
add esp, 0xc
mov esi, dword [0x1033cac0]
mov eax, dword [esi + 0x1de4]
mov ecx, dword [esi + 0x1dec]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x15dc], xmm0
dec dword [esi + 0x1de4]
jmp 0x1018e7f9
mov esi, dword [0x1033cac0]
mov eax, dword [esi + 0x1de4]
mov ecx, dword [esi + 0x1dec]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
movzx ecx, byte [ebp - 0x29]
add eax, eax
movups xmmword [esi + eax*8 + 0x15dc], xmm0
dec dword [esi + 0x1de4]
test byte [ebx + 0x14], 0x20
movzx eax, byte [ebp - 0x42]
cmovne eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x10347d4c
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347d4c], 0xffffffff
jne 0x1018c54d
push 0x24
call fcn.100c366d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101d1590
mov dword [0x10347d50], eax
call fcn.100c3a11
add esp, 4
push 0x10347d4c
call fcn.100c3a51
add esp, 4
jmp 0x1018c54d
call fcn.10008690
push 0x10347d58
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347d58], 0xffffffff
jne 0x1018e284
push 0x24
call fcn.100c366d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101d1540
mov dword [0x10347d5c], eax
call fcn.100c3a11
add esp, 4
push 0x10347d58
call fcn.100c3a51
add esp, 4
jmp 0x1018e284