Function at 0x1000e4a0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x10040040]
xor eax, esp
mov dword [esp + 0x1b4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10040678]
push edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], esi
call fcn.1000b1a0
mov ecx, eax
mov edi, eax
mov dword [esp + 0x58], ecx
test edi, edi
mov dword [esp + 0x44], edi
sete al
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x1000e506
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
call fcn.1000b3a0
mov edi, eax
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x3fe8]
cmp ecx, dword [edi + 8]
jne 0x1000e512
int3
mov ecx, dword [esp + 0x20]
mov eax, ecx
and eax, 0x30200
cmp eax, 0x30200
jne 0x1000e52b
or ecx, 6
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x3fc4], 0
mov edx, dword [esi + 0x3f58]
mov eax, dword [edi + 0x24c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
jne 0x1000e555
cmp byte [esi + 0x3f65], 0
je 0x1000e555
mov al, 1
jmp 0x1000e557
xor al, al
mov byte [edi + 0xc3], al
lea eax, [edx - 1]
cmp dword [esp + 0x50], eax
setl al
mov byte [esp + 0x27], al
test ecx, 0x4000000
je 0x1000e5b1
mov eax, dword [esi + 0x4a94]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x4a90]
mov eax, dword [edi + 0x84]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
setne al
or cl, al
mov al, byte [esp + 0x27]
or al, cl
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x27], al
mov byte [edi + 0xc1], al
test al, al
je 0x1000e5d7
or byte [edi + 0xe0], 8
mov al, byte [edi + 0xe2]
or byte [edi + 0xe1], 8
or al, 8
mov byte [edi + 0xe2], al
cmp dword [esp + 0x50], edx
je 0x1000e791
test ecx, 0x1000000
je 0x1000e5fb
mov eax, ecx
and eax, 0x14000000
cmp eax, 0x4000000
je 0x1000e5fb
mov al, 1
jmp 0x1000e5fd
xor al, al
cmp dword [esp + 0x58], 0
mov dl, byte [edi + 0xc4]
mov byte [esp + 0x12], al
je 0x1000e616
cmp al, dl
je 0x1000e72e
test al, al
jne 0x1000e673
mov edx, dword [0x10040678]
add edx, 0x3fac
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1000e661
test ecx, ecx
je 0x1000e644
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, ecx
jmp 0x1000e649
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001bd80
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov eax, dword [edx]
dec eax
jmp 0x1000e71f
cmp dword [esp + 0x58], 0
je 0x1000e72e
cmp al, dl
je 0x1000e72e
test al, al
je 0x1000e72e
mov edx, dword [0x10040678]
movsx ecx, word [edi + 0xd0]
inc ecx
mov eax, dword [edx + 0x3fac]
mov dword [esp + 0x14], eax
cmp ecx, eax
jge 0x1000e6d3
nop word [eax + eax]
mov eax, dword [edx + 0x3fb4]
mov eax, dword [eax + ecx*4]
inc ecx
dec word [eax + 0xd0]
mov esi, dword [edx + 0x3fac]
mov dword [esp + 0x14], esi
cmp ecx, esi
jl 0x1000e6b0
mov esi, dword [esp + 0x30]
mov eax, dword [0x10040678]
movsx ecx, word [edi + 0xd0]
mov edx, dword [edx + 0x3fb4]
mov eax, dword [eax + 0x3fb4]
lea eax, [eax + ecx*4]
sub eax, edx
sar eax, 2
lea ecx, [edx + eax*4]
mov edx, dword [esp + 0x14]
sub edx, eax
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [0x10040678]
add esp, 0xc
dec dword [eax + 0x3fac]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov word [edi + 0xd0], ax
mov al, byte [esp + 0x12]
mov byte [edi + 0xc4], al
mov dword [edi + 0xc], ecx
test dword [esi + 0x49d0], 0x100
je 0x1000e74b
mov eax, dword [esi + 0x4a08]
jmp 0x1000e74d
xor eax, eax
mov edx, dword [esp + 0x20]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x24c], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3f50]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xcc], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x3fdc]
inc dword [esi + 0x3fdc]
mov word [edi + 0xce], ax
jmp 0x1000e798
mov edx, dword [edi + 0xc]
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x3fc4]
test eax, eax
jne 0x1000e7a6
xor ecx, ecx
jmp 0x1000e7b3
imul ecx, eax, 0x68
mov eax, dword [esi + 0x3fcc]
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x54]
je 0x1000e7d0
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1000e7d6
mov eax, dword [edi + 0x30c]
cmp dword [edi + 0xf4], 0
mov dword [esp + 0x48], eax
lea eax, [edi + 0xf4]
jne 0x1000e80f
cmp dword [eax + 4], 0
jne 0x1000e7fe
push 8
mov ecx, eax
call fcn.1001bd80
lea eax, [edi + 0xf4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xf4]
lea ecx, [esp + 0x10c]
mov dword [esi + 0x3fec], edi
call fcn.10001310
test dword [esp + 0x20], 0x2000000
xorps xmm0, xmm0
mov eax, dword [esi + 0x3fec]
movups xmmword [esp + 0x15c], xmm0
mov word [esp + 0x16c], 0
movups xmm0, xmmword [esi + 0x4980]
movzx eax, word [eax + 0xf4]
mov word [esp + 0x15c], ax
movzx eax, word [esi + 0x4a40]
mov word [esp + 0x15e], ax
movzx eax, word [esi + 0x4a4c]
movups xmmword [esp + 0x10c], xmm0
mov word [esp + 0x160], ax
movups xmm0, xmmword [esi + 0x4990]
movzx eax, word [esi + 0x4a58]
mov word [esp + 0x162], ax
movzx eax, word [esi + 0x4a64]
movups xmmword [esp + 0x11c], xmm0
mov word [esp + 0x164], ax
movups xmm0, xmmword [esi + 0x49a0]
movzx eax, word [esi + 0x4a7c]
mov word [esp + 0x166], ax
movzx eax, word [esi + 0x4a70]
movups xmmword [esp + 0x12c], xmm0
mov word [esp + 0x168], ax
movups xmm0, xmmword [esi + 0x49b0]
movzx eax, word [esi + 0x4a94]
mov word [esp + 0x16a], ax
movzx eax, word [esi + 0x5e3c]
movups xmmword [esp + 0x13c], xmm0
mov dword [esp + 0x108], edi
movups xmm0, xmmword [esi + 0x49c0]
mov word [esp + 0x16c], ax
movups xmmword [esp + 0x14c], xmm0
je 0x1000e933
test dword [esi + 0x4940], 0x400
mov byte [esp + 0x16e], 1
jne 0x1000e93b
mov byte [esp + 0x16e], 0
mov edi, dword [esi + 0x3fc4]
lea eax, [esi + 0x3fc4]
mov esi, dword [eax + 4]
mov dword [esp + 0x14], eax
cmp edi, esi
jne 0x1000e97e
inc edi
test esi, esi
je 0x1000e968
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 1
add ecx, esi
jmp 0x1000e96d
mov ecx, 8
cmp ecx, edi
cmovg edi, ecx
mov ecx, eax
push edi
call fcn.1001c570
mov eax, dword [esp + 0x14]
imul edi, dword [eax], 0x68
lea esi, [esp + 0x108]
mov ecx, 0x1a
add edi, dword [eax + 8]
rep movsd dword es:[edi], dword [esi]
inc dword [eax]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
test ecx, 0x10000000
je 0x1000e9aa
inc dword [esi + 0x5dac]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
cmp eax, dword [esp + 0x54]
je 0x1000ea74
mov edx, dword [esp + 0x48]
mov dword [edi + 0x30c], edx
mov dword [edi + 0x320], edi
mov dword [edi + 0x31c], edi
mov dword [edi + 0x318], edi
mov dword [edi + 0x314], edi
test edx, edx
je 0x1000ea2c
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1000e9fc
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test ecx, 0x4000000
je 0x1000ea10
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x1000ea2c
test ecx, 0x5000000
je 0x1000ea2c
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 0x10], 0x100
je 0x1000ea57
mov edx, edi
nop word [eax + eax]
mov eax, dword [edx + 0x30c]
mov edx, eax
mov dword [edi + 0x320], eax
test dword [edx + 0x10], 0x100
jne 0x1000ea40
mov edx, dword [esp + 0x1c]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x310], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x324], eax
test dword [edi + 0x10], 0x100
je 0x1000ea85
mov eax, dword [esi + 0x493c]
jmp 0x1000ea88
mov eax, dword [edi + 8]
mov ecx, dword [0x10040678]
mov dword [esp + 0x14], eax
lea edx, [ecx + 0x4a64]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 0x3fec]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
cmp dword [edx], ecx
jne 0x1000eae7
test ecx, ecx
je 0x1000eaca
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, ecx
jmp 0x1000eacf
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001c4a0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x14]
mov dword [ecx + eax*8], esi
mov esi, dword [esp + 0x28]
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [esp + 0x170]
inc dword [edx]
test dword [esp + 0x20], 0x4000000
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x493c], eax
mov eax, dword [esi + 0x493c]
mov dword [edi + 0x364], eax
je 0x1000ebdb
mov eax, dword [esi + 0x4a94]
mov edx, dword [esi + 0x4a90]
mov dword [esp + 0x34], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*8 + 4], edi
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x158]
mov dword [edx + ecx*8 + 0xc], eax
lea edx, [esi + 0x4a94]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x28], eax
cmp ecx, eax
jne 0x1000eb96
inc ecx
test eax, eax
je 0x1000eb7e
cdq
sub eax, edx
lea edx, [esi + 0x4a94]
sar eax, 1
add eax, dword [esp + 0x28]
jmp 0x1000eb83
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001c3d0
lea edx, [esi + 0x4a94]
mov eax, dword [edx]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
movups xmm0, xmmword [esi + edi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edi*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, edi
mov edi, dword [esp + 0x44]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x30]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0x84], eax
test byte [esi + 0x49d0], 1
mov byte [esp + 0x12], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0x13], 0
je 0x1000ec95
mov dl, byte [edi + 0xe0]
mov ecx, dword [esi + 0x49d4]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x12]
test ecx, eax
je 0x1000ec84
movss xmm1, dword [esi + 0x49ec]
movss xmm0, dword [esi + 0x49e8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1003dd5c]
jbe 0x1000ec84
mov eax, dword [esi + 0x49e0]
mov ecx, dword [esi + 0x49e4]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [esi + 0x49e8]
mov ecx, dword [esi + 0x49ec]
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xe0], ecx
jmp 0x1000ec95
push ecx
lea edx, [esi + 0x49e0]
mov ecx, edi
call fcn.10011880
add esp, 4
test byte [esi + 0x49d0], 2
xorps xmm1, xmm1
je 0x1000ed36
mov cl, byte [edi + 0xe1]
movsx eax, cl
and eax, dword [esi + 0x49d8]
je 0x1000ecca
movss xmm0, dword [esi + 0x49f0]
comiss xmm0, xmm1
jbe 0x1000ecca
mov byte [esp + 0x1b], 1
jmp 0x1000ecd3
mov byte [esp + 0x1b], 0
test eax, eax
je 0x1000ece7
movss xmm0, dword [esi + 0x49f4]
comiss xmm0, xmm1
jbe 0x1000ecec
mov byte [esp + 0x13], 1
jmp 0x1000ecf1
mov byte [esp + 0x1b], 0
mov byte [esp + 0x13], 0
test byte [edi + 0x10], 4
je 0x1000ed05
test cl, 4
jne 0x1000ed05
mov eax, dword [edi + 0x28]
mov dword [esi + 0x49f0], eax
test byte [edi + 0x10], 8
je 0x1000ed1d
test byte [edi + 0xe1], 4
jne 0x1000ed1d
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x49f4], eax
push dword [esi + 0x49d8]
lea edx, [esi + 0x49f0]
mov ecx, edi
call fcn.100119e0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x49d0], 0x80
je 0x1000ed7d
movss xmm0, dword [esi + 0x4a00]
comiss xmm0, xmm1
jb 0x1000ed5e
movss dword [edi + 0x98], xmm0
mov dword [edi + 0xa0], 0
movss xmm0, dword [esi + 0x4a04]
comiss xmm0, xmm1
jb 0x1000ed7d
movss dword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0
test byte [esi + 0x49d0], 4
je 0x1000ed9a
mov eax, dword [esi + 0x49f8]
mov ecx, dword [esi + 0x49fc]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x1000edb2
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
je 0x1000edb2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x49d0], 8
je 0x1000edff
mov ecx, dword [esi + 0x49dc]
mov dl, byte [esi + 0x4a0c]
test ecx, ecx
je 0x1000edd6
movsx eax, byte [edi + 0xe2]
test ecx, eax
je 0x1000edff
movzx ecx, byte [edi + 0xe2]
mov eax, dword [edi + 0xe0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xbd], dl
mov dword [edi + 0xe0], ecx
test byte [esi + 0x49d0], 0x20
je 0x1000ee11
xor edx, edx
mov ecx, edi
call fcn.100113e0
mov dl, byte [edi + 0xc1]
test dl, dl
je 0x1000ee30
and byte [edi + 0xe0], 0xf7
and byte [edi + 0xe1], 0xf7
and byte [edi + 0xe2], 0xf7
mov ecx, dword [0x10040678]
mov byte [edi + 0xc0], 0
test dword [ecx + 0x49d0], 0x200
je 0x1000eee6
mov eax, dword [ecx + 0x4a34]
test al, 1
je 0x1000eee6
test dl, dl
jne 0x1000eee6
cmp byte [edi + 0xc2], dl
jne 0x1000eee6
test al, 2
je 0x1000ee9e
mov eax, dword [ecx + 0x3ff0]
test eax, eax
je 0x1000ee9e
mov eax, dword [eax + 0x314]
cmp dword [edi + 0x314], eax
je 0x1000eee6
cmp dword [eax + 0x314], edi
je 0x1000eee6
nop
cmp eax, edi
je 0x1000eee6
mov eax, dword [eax + 0x310]
test eax, eax
jne 0x1000ee90
test byte [ecx + 0x4a34], 4
je 0x1000eed5
mov eax, dword [ecx + 0x4ab8]
test eax, eax
je 0x1000eed5
mov eax, dword [eax + 0x314]
cmp dword [edi + 0x314], eax
je 0x1000eee6
cmp dword [eax + 0x314], edi
je 0x1000eee6
cmp eax, edi
je 0x1000eee6
mov eax, dword [eax + 0x310]
test eax, eax
jne 0x1000eec7
mov dword [edi + 0x278], 0
mov byte [edi + 0xc0], 1
cmp byte [esp + 0x16e], 0
je 0x1000ef81
cmp dword [edi + 0x314], edi
jne 0x1000ef81
mov ecx, dword [0x10040678]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x5e38]
and dword [ecx + 0x4940], 0xfffffbff
mov dword [ecx + 0x38b0], eax
add ecx, 0x4a70
mov dword [esp + 0x14], ecx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1000ef5e
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x1000ef4a
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1000ef4f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001bd80
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x4940]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
inc dword [eax]
mov eax, dword [esp + 0x1c]
inc word [eax + 0x5e3c]
mov eax, dword [esp + 0x50]
mov dword [esi + 0x3fec], 0
cmp eax, dword [esp + 0x54]
je 0x10010bae
cmp byte [edi + 0xc0], 0
jne 0x10010bb7
mov eax, dword [esp + 0x20]
and eax, 0x3000000
mov byte [edi + 0xba], 1
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x34], eax
mov al, byte [edi + 0xdd]
mov byte [esp + 0x4f], al
setne al
mov byte [edi + 0xc5], al
mov dword [edi + 0x224], 0xff7fffff
mov dword [edi + 0x228], 0xff7fffff
mov dword [edi + 0x22c], 0x7f7fffff
mov dword [edi + 0x230], 0x7f7fffff
mov eax, dword [edi + 0xf8]
cmp eax, 1
jge 0x1000f038
test eax, eax
je 0x1000f01b
cdq
sub eax, edx
lea edx, [edi + 0xf4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1000f026
mov ecx, 8
lea edx, [edi + 0xf4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001bd80
mov dword [edi + 0xf4], 1
mov ecx, dword [edi + 0x278]
call fcn.10025160
cmp byte [edi + 0x370], 0
mov dword [edi + 0x1a4], 0xffffffff
je 0x1000f0a3
mov ecx, dword [edi + 0x278]
push dword [edi + 0x368]
add ecx, 0xc
mov byte [edi + 0x370], 0
call fcn.1001c180
mov ecx, dword [edi + 0x278]
push dword [edi + 0x36c]
add ecx, 0x18
call fcn.1001bf60
mov dword [edi + 0x36c], 0
mov dword [edi + 0x368], 0
cmp dword [esi + 0x4c8c], 0
je 0x1000f1e2
test dword [edi + 0xc], 0x20000
jne 0x1000f1e2
cmp dword [esp + 0x58], 0
je 0x1000f1e2
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000f0f5
test dl, dl
je 0x1000f0f1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000f0f5
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000f0d5
xor eax, eax
jmp 0x1000f0fa
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000f1e2
mov ecx, dword [esp + 0x5c]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x14], edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f114
sub ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
cmp edx, eax
jae 0x1000f1c7
mov edx, dword [esp + 0x38]
test edx, edx
je 0x1000f1a8
mov ecx, dword [0x10040678]
test ecx, ecx
je 0x1000f1a8
mov eax, dword [ecx + 0x3f58]
mov dword [esp + 0x14], eax
movsx eax, word [ecx + 0x6008]
mov esi, dword [esp + 0x14]
lea eax, [eax*8 + 0x600c]
add eax, ecx
cmp dword [eax], esi
mov esi, dword [esp + 0x30]
je 0x1000f19e
movsx eax, word [ecx + 0x6008]
inc eax
mov dword [esp + 0x28], 6
cdq
idiv dword [esp + 0x28]
movzx eax, dx
mov edx, dword [esp + 0x14]
mov word [ecx + 0x6008], ax
cwde
lea eax, [eax*8 + 0x600c]
add eax, ecx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
inc word [eax + 6]
inc dword [ecx + 0x6004]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x20]
add esp, 4
call fcn.10008120
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
push eax
push dword [esp + 0x60]
push dword [esp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.1000b790
mov al, byte [edi + 0xdc]
add esp, 4
test al, al
jle 0x1000f205
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x1000f217
dec al
mov byte [edi + 0xdd], al
mov al, byte [edi + 0xde]
test al, al
jle 0x1000f229
dec al
mov byte [edi + 0xde], al
cmp dword [esp + 0x58], 0
mov al, byte [esp + 0x1b]
mov cl, byte [esp + 0x13]
jne 0x1000f247
test al, al
je 0x1000f240
test cl, cl
jne 0x1000f247
mov byte [edi + 0xdd], 1
cmp byte [esp + 0x27], 0
mov edx, dword [esp + 0x20]
je 0x1000f2a6
test edx, 0x6000000
je 0x1000f2a6
mov byte [edi + 0xdd], 1
test dl, 0x40
je 0x1000f2a6
test al, al
jne 0x1000f278
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x1000f28a
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov ecx, dword [0x10040678]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x4ab4]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [esp + 0x40], eax
mov dword [ecx + 0x3fec], edi
mov eax, dword [edi + 0x1a4]
cmp eax, 0xffffffff
je 0x1000f2db
shl eax, 9
add eax, dword [ecx + 0x4d84]
jmp 0x1000f2dd
xor eax, eax
mov dword [ecx + 0x4d64], eax
mov dword [ecx + 0x3d44], 0x3f800000
mov dword [esp + 0x14], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d3c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x1000f315
mulss xmm0, dword [eax + 0x270]
cmp dword [esp + 0x14], 0
mov eax, dword [ecx + 0x3d34]
movss dword [ecx + 0x3d54], xmm0
movss dword [ecx + 0x3d38], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x3d40], xmm0
jne 0x1000f34c
cmp dword [edi + 0x1a0], 0
jne 0x1000f34c
mov al, 1
jmp 0x1000f34e
xor al, al
mov byte [edi + 0x160], al
test edx, 0x1000000
je 0x1000f366
movss xmm0, dword [esi + 0x38e0]
jmp 0x1000f388
test edx, 0x6000000
je 0x1000f380
test edx, 0x8000000
jne 0x1000f380
movss xmm0, dword [esi + 0x38e8]
jmp 0x1000f388
movss xmm0, dword [esi + 0x38c4]
mov eax, edi
xorps xmm1, xmm1
movss dword [eax + 0x54], xmm0
mov eax, dword [esi + 0x38b8]
mov ecx, dword [esi + 0x38bc]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x1000f3e2
test byte [edi + 0x10], 2
jne 0x1000f3e2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000f3e2
test edx, 0x400
je 0x1000f3d3
movss xmm0, dword [esi + 0x38bc]
jmp 0x1000f3d6
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x38fc]
maxss xmm0, dword [esi + 0x4a2c]
movss dword [edi + 0x164], xmm0
movss xmm3, dword [esi + 0x4a30]
movss dword [edi + 0x168], xmm3
test dl, 1
je 0x1000f419
xorps xmm2, xmm2
jmp 0x1000f42d
movss xmm2, dword [esi + 0x38f0]
addss xmm2, xmm2
addss xmm2, dword [esi + 0x3d38]
movss dword [edi + 0x58], xmm2
test edx, 0x400
je 0x1000f454
movss xmm0, dword [esi + 0x38f0]
addss xmm3, dword [esi + 0x3d38]
addss xmm0, xmm0
addss xmm3, xmm0
jmp 0x1000f457
xorps xmm3, xmm3
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x3c]
movss dword [edi + 0x5c], xmm3
mov byte [esp + 0x38], al
je 0x1000f47e
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000f47e
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x13], 0
je 0x1000f498
movss xmm0, dword [edi + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000f498
mov byte [esp + 0x38], 1
test dl, 0x21
jne 0x1000f5b2
movss xmm0, dword [edi + 0x18]
movaps xmm3, xmm0
movss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x28]
addss xmm2, dword [edi + 0x1c]
mov edx, dword [esp + 0x1c]
cmp dword [esi + 0x3ff0], edi
jne 0x1000f566
cmp dword [esi + 0x402c], 0
jne 0x1000f566
cmp dword [esi + 0x4030], 0
jne 0x1000f566
mov eax, dword [edx + 0x3fec]
movss xmm5, dword [edx + 0x3914]
movss xmm7, dword [edx + 0xc8]
maxss xmm0, dword [eax + 0x224]
maxss xmm4, dword [eax + 0x228]
minss xmm3, dword [eax + 0x22c]
minss xmm2, dword [eax + 0x230]
subss xmm0, xmm5
comiss xmm7, xmm0
jb 0x1000f566
movss xmm0, dword [edx + 0x3918]
movss xmm6, dword [edx + 0xcc]
subss xmm4, xmm0
comiss xmm6, xmm4
jb 0x1000f566
addss xmm5, xmm3
comiss xmm5, xmm7
jbe 0x1000f566
addss xmm0, xmm2
comiss xmm0, xmm6
jbe 0x1000f566
cmp word [esi + 0x2af2], 2
jne 0x1000f566
cmp dword [edx + 0x4760], 0xffffffff
jne 0x1000f566
mov byte [edi + 0xbe], 1
cmp byte [edi + 0xbe], 0
je 0x1000f5b9
mov cl, byte [edi + 0xbd]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xbd], al
mov ecx, 1
mov eax, dword [esp + 0x38]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x38], eax
jne 0x1000f5b9
comiss xmm1, dword [edx + 0x5ee0]
jb 0x1000f5b9
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5ee0], eax
jmp 0x1000f5b9
mov byte [edi + 0xbd], 0
movss xmm0, dword [edi + 0xb0]
lea eax, [edi + 0x38]
movss dword [esp + 0x1c], xmm0
lea ecx, [esp + 0x174]
movss xmm0, dword [edi + 0xb4]
mov edx, edi
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x58]
push eax
mov byte [edi + 0xbe], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
call fcn.1000b8c0
add esp, 4
test byte [esp + 0x20], 0x40
je 0x1000f676
cmp byte [edi + 0xbd], 0
jne 0x1000f676
cmp byte [esp + 0x1b], 0
jne 0x1000f653
movss xmm0, dword [esp + 0x174]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x13], 0
jne 0x1000f72d
movss xmm0, dword [esp + 0x178]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x38], 1
jmp 0x1000f72d
mov al, byte [edi + 0xd2]
test al, al
jg 0x1000f68d
cmp byte [edi + 0xd3], 0
jle 0x1000f72d
cmp byte [esp + 0x1b], 0
jne 0x1000f6c4
test al, al
jle 0x1000f6c4
cmp byte [edi + 0xd4], 0
je 0x1000f6b1
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x174]
jmp 0x1000f6ba
movss xmm0, dword [esp + 0x174]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x13], 0
jne 0x1000f700
cmp byte [edi + 0xd3], 0
jle 0x1000f700
cmp byte [edi + 0xd4], 0
je 0x1000f6ed
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0x178]
jmp 0x1000f6f6
movss xmm0, dword [esp + 0x178]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x38], 1
cmp byte [edi + 0xbd], 0
jne 0x1000f72d
test dword [edi + 0xc], 0x100
mov ecx, dword [0x10040678]
jne 0x1000f72d
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5ee0]
jb 0x1000f72d
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5ee0], eax
lea eax, [edi + 0x28]
mov edx, edi
push eax
lea ecx, [esp + 0xe4]
call fcn.1000b5d0
mov edx, dword [esp + 0x24]
add esp, 4
cmp byte [edi + 0xbd], 0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x28], xmm1
movss dword [edi + 0x2c], xmm0
je 0x1000f7a2
test edx, 0x1000000
jne 0x1000f7a2
movss xmm0, dword [edi + 0x18]
lea ecx, [esp + 0xa8]
addss xmm0, xmm1
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x18]
subss xmm1, dword [edi + 0x1c]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xac], xmm1
jmp 0x1000f7bd
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xb0], eax
cmp byte [esp + 0x27], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
je 0x1000f813
mov eax, edx
mov dword [edi + 0xd8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1000f813
cmp byte [esp + 0x12], 0
jne 0x1000f813
mov eax, dword [esi + 0x4a94]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4a9c]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
test edx, 0x1000000
je 0x1000f8b3
mov ecx, dword [esp + 0x48]
add ecx, 0x190
mov dword [esp + 0x14], ecx
mov ax, word [ecx]
mov word [edi + 0xcc], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x1000f86f
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x1000f857
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1000f85c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001bd80
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc dword [eax]
mov al, byte [esp + 0x12]
test edx, 0x4000000
jne 0x1000f8bb
test al, al
jne 0x1000f8bb
cmp ecx, 0x3000000
je 0x1000f8bb
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x100]
mov ecx, dword [ecx + 0x104]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov al, byte [esp + 0x12]
movss xmm1, dword [edi + 0xe4]
ucomiss xmm1, dword [0x1003de74]
lahf
test ah, 0x44
jnp 0x1000f92a
cmp byte [edi + 0xdd], 0
jne 0x1000f92a
movss xmm0, dword [edi + 0xec]
lea edx, [esp + 0xb8]
mulss xmm0, dword [edi + 0x20]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp + 0xbc], xmm1
movss xmm1, dword [edi + 0xf0]
mulss xmm1, dword [edi + 0x24]
subss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
call fcn.10011880
add esp, 4
jmp 0x1000f98b
test edx, 0x10000000
je 0x1000f93b
lea ecx, [esp + 0xe8]
jmp 0x1000f971
test edx, 0x4000000
je 0x1000f956
test al, al
jne 0x1000f956
cmp byte [esp + 0x4f], al
jle 0x1000f956
lea ecx, [esp + 0xf0]
jmp 0x1000f971
test edx, 0x2000000
je 0x1000f98f
test al, al
jne 0x1000f98f
cmp ecx, 0x3000000
je 0x1000f98f
lea ecx, [esp + 0xf8]
mov edx, edi
call fcn.100154c0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x20]
cmp byte [esp + 0x12], 0
mov eax, dword [esp + 0x40]
movss xmm3, dword [esi + 0x3984]
movss xmm2, dword [esi + 0x3980]
maxss xmm3, dword [esi + 0x398c]
movss xmm7, dword [eax + 0x18]
movss xmm6, dword [eax + 0x1c]
addss xmm7, dword [eax + 0x20]
addss xmm6, dword [eax + 0x24]
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x3988]
addss xmm5, dword [eax + 0x10]
movaps xmm4, xmm1
movss dword [esp + 0x180], xmm0
addss xmm4, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [esp + 0x184], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0x188], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0x18c], xmm4
movss dword [esp + 0x19c], xmm6
movss dword [esp + 0x194], xmm3
movss dword [esp + 0x198], xmm7
movss dword [esp + 0x190], xmm2
jne 0x1000faaf
test edx, 0x1000000
jne 0x1000faaf
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x1000faaf
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x1000faaf
mov eax, dword [0x10040678]
movss xmm0, dword [edi + 0x24]
cmp byte [eax + 0x4c], 0
je 0x1000fa7a
test byte [edi + 0xc], 1
jne 0x1000fa7a
movss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x1000fa94
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x1000faa5
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x18], xmm2
movss dword [edi + 0x1c], xmm3
cvttss2si eax, dword [edi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c], xmm0
test edx, 0x1000000
je 0x1000fae3
movss xmm2, dword [esi + 0x38dc]
jmp 0x1000fb03
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1000fafb
movss xmm2, dword [esi + 0x38e4]
jmp 0x1000fb03
movss xmm2, dword [esi + 0x38c0]
xor cl, cl
movss dword [edi + 0x50], xmm2
mov dword [esp + 0x14], ecx
cmp byte [esp + 0x27], cl
je 0x1000fb40
test edx, 0x1000
jne 0x1000fb40
test edx, 0x4000000
je 0x1000fb2b
mov byte [esp + 0x14], 1
jmp 0x1000fb40
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x14], ecx
mov eax, edx
mov dword [esp + 0x17c], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0x170], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x1a0], xmm0
cmp eax, 0x1000000
jne 0x1000fb73
xor eax, eax
jmp 0x1000fb7c
xor eax, eax
cmp byte [esi + 0x4b], al
setne al
inc eax
cmp byte [edi + 0xbd], 0
movss xmm1, dword [esi + 0x3d38]
addss xmm2, dword [0x1003dddc]
movaps xmm0, xmm1
mov dword [esp + 0x28], eax
mulss xmm1, dword [0x1003dd80]
mulss xmm0, dword [0x1003dde0]
addss xmm2, xmm1
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x1000fc19
lea ecx, [esp + 0x190]
push ecx
lea ecx, [esp + 0x1a4]
push ecx
push eax
lea eax, [esp + 0x17c]
mov ecx, edi
push eax
lea eax, [esp + 0x18c]
push eax
lea edx, [esp + 0x188]
call fcn.1000bb30
add esp, 0x14
test eax, eax
je 0x1000fc15
mov ecx, dword [esp + 0x3c]
test al, 1
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
test al, 2
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
movzx ecx, al
cmovne ecx, edx
mov edx, dword [esp + 0x20]
jmp 0x1000fc1d
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
cmp byte [edi + 0xbd], 0
mov al, byte [esp + 0x17c]
mov byte [edi + 0xc6], al
mov al, byte [esp + 0x170]
mov byte [edi + 0xc7], al
jne 0x1000fdd4
cmp dword [esp + 0x58], 0
movss xmm0, dword [edi + 0x6c]
movss xmm3, dword [edi + 0x1ec]
movss xmm4, dword [edi + 0x1f0]
addss xmm0, dword [edi + 0x64]
subss xmm3, dword [edi + 0x1e4]
subss xmm4, dword [edi + 0x1e8]
movss xmm2, dword [edi + 0x2c]
movss xmm5, dword [edi + 0x28]
subss xmm2, xmm0
addss xmm3, dword [esp + 0x1c]
addss xmm4, dword [esp + 0x2c]
jne 0x1000fcae
mov dword [esp + 0xc0], 0
lea eax, [esp + 0xc0]
mov dword [esp + 0xc4], 0
jmp 0x1000fce3
movss xmm0, dword [edi + 0x48]
lea eax, [esp + 0xc8]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x30]
addss xmm1, dword [edi + 0x34]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xcc], xmm1
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
mov eax, dword [esp + 0x3c]
test al, al
jne 0x1000fcf7
movaps xmm5, xmm3
test cl, cl
jne 0x1000fcfe
movaps xmm2, xmm4
test edx, 0x4000
jne 0x1000fd14
comiss xmm6, xmm2
jbe 0x1000fd10
test dl, 8
je 0x1000fd14
xor al, al
jmp 0x1000fd16
mov al, 1
mov byte [esp + 0x12], al
mov byte [edi + 0xb9], al
test edx, 0x8000
jne 0x1000fd67
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
test al, al
je 0x1000fd3d
movss xmm1, dword [ecx + 0x3924]
jmp 0x1000fd40
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x1000fd5b
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x12]
je 0x1000fd67
mov byte [edi + 0xb8], 0
xorps xmm1, xmm1
jmp 0x1000fd9f
mov ecx, dword [esp + 0x30]
mov byte [edi + 0xb8], 1
test al, al
jne 0x1000fd94
subss xmm2, dword [ecx + 0x3924]
comiss xmm6, xmm2
jbe 0x1000fd8c
test dl, 8
jne 0x1000fd8c
mov al, 1
jmp 0x1000fd8e
xor al, al
mov byte [edi + 0xb9], al
movss xmm1, dword [ecx + 0x3924]
xorps xmm0, xmm0
test al, al
je 0x1000fdab
movss xmm0, dword [ecx + 0x3924]
movss dword [edi + 0xb0], xmm0
addss xmm0, dword [edi + 0x68]
movss dword [edi + 0xb4], xmm1
movss dword [edi + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x6c]
movss dword [edi + 0x6c], xmm0
jmp 0x1000fdd8
mov ecx, dword [esp + 0x30]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1000fdfb
cmp dword [esp + 0x34], 0x3000000
je 0x1000fdfb
mov eax, dword [esp + 0x48]
add eax, 0x224
jmp 0x1000fe02
lea eax, [esp + 0x180]
movups xmm0, xmmword [eax]
mov eax, edx
movss xmm5, dword [edi + 0x18]
and eax, 0x401
movss xmm6, dword [edi + 0x1c]
movaps xmm2, xmm5
movss dword [esp + 0x98], xmm5
movaps xmm1, xmm6
addss xmm1, dword [edi + 0x58]
addss xmm2, dword [edi + 0x28]
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm6
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xa0], xmm2
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm6
addss xmm5, dword [edi + 0x20]
movss dword [edi + 0x1dc], xmm5
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x1d4]
movss xmm7, dword [esp + 0x60]
maxss xmm0, xmm7
maxss xmm6, dword [esp + 0x64]
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [edi + 0x1e0]
minss xmm1, dword [esp + 0x68]
minss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x1dc], xmm1
movss dword [edi + 0x1e0], xmm0
movss xmm1, dword [edi + 0x18]
movss xmm3, dword [edi + 0x1c]
movaps xmm4, xmm1
movaps xmm5, xmm3
addss xmm1, dword [edi + 0x20]
addss xmm3, dword [edi + 0x24]
addss xmm4, dword [edi + 0x60]
addss xmm5, dword [edi + 0x64]
subss xmm1, dword [edi + 0x68]
subss xmm3, dword [edi + 0x6c]
movss dword [edi + 0x1e4], xmm4
movss dword [edi + 0x1e8], xmm5
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm3
cmp eax, 1
jne 0x1000ff2d
movss xmm0, dword [edi + 0x54]
jmp 0x1000ff35
movss xmm0, dword [ecx + 0x38f8]
movss xmm6, dword [0x1003dda4]
xorps xmm2, xmm2
addss xmm4, xmm6
movss dword [esp + 0x1c], xmm0
addss xmm4, dword [edi + 0x54]
comiss xmm4, xmm2
cvttss2si eax, xmm4
mov dword [esp + 0x2c], eax
jae 0x1000ff77
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1000ff73
cvttss2si eax, xmm4
dec eax
jmp 0x1000ff77
mov eax, dword [esp + 0x2c]
addss xmm5, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm5, dword [esp + 0x1c]
movss dword [edi + 0x1f4], xmm0
comiss xmm5, xmm2
cvttss2si eax, xmm5
mov dword [esp + 0x2c], eax
jae 0x1000ffb8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jnp 0x1000ffb4
cvttss2si eax, xmm5
dec eax
jmp 0x1000ffb8
mov eax, dword [esp + 0x2c]
movss xmm4, dword [edi + 0x54]
addss xmm1, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm4
movss dword [edi + 0x1f8], xmm0
comiss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [esp + 0x2c], eax
jae 0x1000fffc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000fff8
cvttss2si eax, xmm1
dec eax
jmp 0x1000fffc
mov eax, dword [esp + 0x2c]
addss xmm3, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm3, xmm4
movss dword [edi + 0x1fc], xmm0
comiss xmm3, xmm2
cvttss2si eax, xmm3
mov dword [esp + 0x2c], eax
jae 0x1001003b
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10010037
cvttss2si eax, xmm3
dec eax
jmp 0x1001003b
mov eax, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x6c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm1, dword [edi + 0x1f8]
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm1
jbe 0x10010068
movaps xmm3, xmm0
jmp 0x1001006f
movaps xmm3, xmm5
minss xmm3, xmm1
movss xmm4, dword [edi + 0x1f4]
comiss xmm7, xmm4
movss xmm6, dword [esp + 0x68]
jbe 0x10010087
movaps xmm1, xmm7
jmp 0x1001008e
movaps xmm1, xmm6
minss xmm1, xmm4
movss dword [edi + 0x1f4], xmm1
movss dword [edi + 0x1f8], xmm3
movss xmm1, dword [edi + 0x200]
comiss xmm0, xmm1
ja 0x100100b2
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm1, dword [edi + 0x1fc]
comiss xmm7, xmm1
ja 0x100100c6
movaps xmm7, xmm6
minss xmm7, xmm1
movss dword [edi + 0x1fc], xmm7
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm2
jbe 0x100100f2
test edx, 0x2000040
jne 0x100100f2
mulss xmm0, dword [0x1003ddac]
jmp 0x10010102
movss xmm0, dword [ecx + 0x3d38]
mulss xmm0, dword [0x1003de24]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x254], xmm0
lea ecx, [esp + 0x100]
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1ec]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x90], xmm0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x1f0]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e8]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x94], xmm0
call fcn.10014900
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x30]
movss dword [edi + 0x88], xmm0
movss dword [edi + 0x8c], xmm1
mov dword [edi + 0x98], 0x7f7fffff
mov dword [edi + 0x9c], 0x7f7fffff
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov eax, dword [eax + 0x3d34]
mov ecx, dword [edi + 0x278]
mov dword [esp + 0x3c], ecx
add ecx, 0x7c
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1001021b
inc edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x10010207
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001020c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001bd80
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [esp + 0x1c]
mov dword [eax + edx*4], edi
mov eax, edi
inc dword [ecx]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x54], eax
call fcn.100255a0
mov ecx, dword [0x10040678]
movaps xmm1, xmmword [esp + 0x60]
mov edi, dword [esp + 0x44]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
comiss xmm1, xmm0
mov eax, dword [ecx + 0x3fec]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3fec]
mov dword [esp + 0x3c], eax
movaps xmmword [esp + 0x80], xmm1
movaps xmmword [esp + 0x180], xmm1
mov edx, dword [eax + 0x278]
mov dword [esp + 0x1c], edx
jb 0x1001029c
movss dword [esp + 0x188], xmm1
movaps xmm1, xmmword [esp + 0x180]
movaps xmmword [esp + 0x80], xmm1
movss xmm0, dword [esp + 0x64]
comiss xmm0, dword [esp + 0x6c]
jb 0x100102c2
movss dword [esp + 0x18c], xmm0
movaps xmm0, xmmword [esp + 0x180]
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [edx + 0x74]
lea ecx, [edx + 0x70]
mov dword [esp + 0x40], ecx
cmp dword [ecx], eax
jne 0x10010301
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x100102e9
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100102ee
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001c7e0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x80]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x44], xmm0
call fcn.10025500
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x13], 0
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x78]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x224], eax
mov eax, dword [esp + 0x20]
movss dword [edx + 0x228], xmm0
and eax, 0x5000000
movss dword [edx + 0x22c], xmm1
movss dword [edx + 0x230], xmm2
cmp eax, 0x1000000
jne 0x10010432
cmp dword [esp + 0x34], 0x3000000
je 0x10010432
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x190]
cmp ecx, 2
jl 0x100103f6
mov eax, dword [eax + 0x198]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x100103f6
movss xmm5, dword [eax + 0x1c]
movss xmm7, dword [eax + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x24]
movss xmm6, dword [edi + 0x18]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x1c]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x20]
addss xmm4, dword [edi + 0x20]
comiss xmm0, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x24]
jbe 0x100103f6
comiss xmm2, xmm5
jbe 0x100103f6
comiss xmm3, xmm6
jbe 0x100103f6
comiss xmm4, xmm7
mov byte [esp + 0x12], 1
ja 0x100103fb
mov byte [esp + 0x12], 0
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10010432
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
je 0x10010432
cmp byte [esp + 0x12], 0
jne 0x10010432
mov byte [esp + 0x13], 1
mov dword [edi + 0x278], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4c84]
test ecx, ecx
jne 0x10010446
mov ecx, dword [eax + 0x4ab8]
cmp byte [esp + 0x14], 0
jne 0x10010466
test ecx, ecx
je 0x1001045f
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x10010466
mov byte [esp + 0x1c], 0
jmp 0x1001046b
mov byte [esp + 0x1c], 1
movd xmm0, esi
lea eax, [esp + 0x1a0]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x9c]
movss dword [esp], xmm0
push eax
push dword [esp + 0x30]
push ecx
push dword [esp + 0x2c]
mov ecx, edi
call fcn.1000d520
add esp, 0x14
cmp byte [esp + 0x13], 0
je 0x100104ad
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov ecx, dword [esp + 0x20]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x100104d4
movss dword [esp + 0x28], xmm6
jmp 0x10010516
movss xmm0, dword [edi + 0x48]
mov eax, ecx
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x68]
addss xmm0, dword [edi + 0x60]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x10010509
movss xmm0, dword [edi + 0x30]
jmp 0x1001050c
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movss xmm5, dword [edi + 0x44]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x10010529
movaps xmm7, xmm5
jmp 0x1001055b
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x6c]
addss xmm0, dword [edi + 0x64]
subss xmm1, xmm0
test dl, dl
je 0x10010554
movss xmm7, dword [edi + 0x34]
jmp 0x10010557
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm0, dword [edi + 0x48]
movss xmm4, dword [edi + 0x88]
movss xmm1, dword [edi + 0x1e4]
movss dword [esp + 0x2c], xmm0
subss xmm1, xmm4
maxss xmm0, dword [edi + 0x54]
movss xmm3, dword [esp + 0x2c]
movss dword [esp + 0x34], xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x204], xmm2
movss xmm0, dword [edi + 0x8c]
movss xmm1, dword [edi + 0x4c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [esp + 0x44]
movss dword [esp + 0x40], xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm2, dword [esp + 0x28]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
addss xmm7, xmm0
movss dword [edi + 0x20c], xmm2
movss dword [edi + 0x210], xmm7
movups xmm0, xmmword [edi + 0x204]
movups xmmword [edi + 0x214], xmm0
movss xmm0, dword [edi + 0x18]
movss xmm7, dword [edi + 0x60]
movaps xmm1, xmm0
subss xmm1, xmm4
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm3
addss xmm1, xmm7
movss dword [edi + 0x234], xmm1
movss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x64]
movss dword [esp + 0x2c], xmm2
subss xmm2, dword [esp + 0x44]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x1c], xmm2
movss xmm4, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x40]
addss xmm4, xmm2
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x1c], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x238], xmm0
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jp 0x100106a3
movss xmm6, dword [edi + 0x20]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm6, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x68]
subss xmm6, xmm0
ucomiss xmm5, xmm4
addss xmm1, xmm6
lahf
movss dword [edi + 0x23c], xmm1
movss xmm1, dword [esp + 0x28]
test ah, 0x44
jp 0x100106da
movss xmm5, dword [edi + 0x24]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x6c]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x1c]
lea ecx, [edi + 0x16c]
addss xmm0, xmm5
mov esi, dword [esp + 0x30]
movss xmm5, dword [esp + 0x34]
cvtps2pd xmm2, xmm2
movss dword [edi + 0x240], xmm0
movaps xmm0, xmm7
addss xmm0, xmm3
cvtps2pd xmm3, xmm3
subss xmm0, xmm5
movss dword [edi + 0x144], xmm0
movss xmm0, dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm5
subsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, xmm0
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x1003dd50]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm1
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x110], xmm0
movss dword [edi + 0x114], xmm1
movss xmm0, dword [edi + 0x110]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x114]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x150], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x154], xmm0
movss xmm1, dword [edi + 0x110]
movss xmm0, dword [edi + 0x114]
movss dword [edi + 0x100], xmm1
movss dword [edi + 0x104], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x118], xmm1
movss dword [edi + 0x11c], xmm0
movss dword [edi + 0x120], xmm1
movss dword [edi + 0x124], xmm0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
mov word [edi + 0x140], 0
mov dword [edi + 0x158], 0
mov ax, word [edi + 0x15e]
mov word [edi + 0x15c], ax
mov dword [edi + 0x15e], 0x10000
movss xmm0, dword [edi + 0x94]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x27], 0
mov byte [edi + 0x162], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x163], 0
movss xmm1, dword [esi + 0x38fc]
mov dword [esp + 0x28], eax
je 0x100108ac
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x100108b0
mov dword [esp + 0x28], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.100337c0
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x170]
mov dword [edi + 0x16c], eax
lea eax, [edi + 0x190]
mov dword [edi + 0x170], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10010922
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x190]
call fcn.1001bd80
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a8], 1
test eax, eax
je 0x10010958
mov eax, dword [eax + 0x1a8]
jmp 0x1001095d
mov eax, 1
mov dword [edi + 0x1ac], eax
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1b4], eax
lea eax, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100109a8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1bc]
call fcn.1001bd80
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100109dd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1c8]
call fcn.1001bd80
lea eax, [edi + 0x1c8]
test dword [esp + 0x20], 0x8000000
mov dword [eax], 0
je 0x10010ab8
mov edx, dword [0x10040678]
xorps xmm0, xmm0
movss xmm5, dword [0x1003dddc]
movss xmm2, dword [edx + 0x3d10]
comiss xmm0, xmm2
jbe 0x10010a14
xorps xmm1, xmm1
jmp 0x10010a1b
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [0x1003de54]
movss xmm3, dword [0x1003dda4]
movss xmm4, dword [edx + 0x3d14]
comiss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si ecx, xmm1
jbe 0x10010a49
xorps xmm1, xmm1
jmp 0x10010a50
movaps xmm1, xmm5
minss xmm1, xmm4
movss xmm4, dword [edx + 0x3d18]
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x10010a73
xorps xmm1, xmm1
jmp 0x10010a7a
movaps xmm1, xmm5
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x3d1c]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x10010a9d
xorps xmm5, xmm5
jmp 0x10010aa1
minss xmm5, xmm1
mulss xmm5, xmm2
addss xmm5, xmm3
cvttss2si eax, xmm5
shl eax, 0x18
or eax, ecx
mov dword [edi + 0x1b0], eax
mov al, byte [edi + 0xd2]
test al, al
jle 0x10010aca
dec al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x10010adc
dec al
mov byte [edi + 0xd3], al
cmp byte [esp + 0x14], 0
je 0x10010b00
mov edx, 2
mov ecx, edi
call fcn.100113e0
cmp edi, dword [esi + 0x4ab8]
jne 0x10010b00
xor dl, dl
mov ecx, edi
call fcn.100166b0
test byte [esp + 0x20], 1
jne 0x10010b72
movss xmm0, dword [esp + 0x98]
lea edx, [esp + 0xd0]
addss xmm0, dword [edi + 0x54]
push dword [esp + 0x7c]
mov ecx, edi
push dword [esp + 0x60]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0xe4], xmm0
call fcn.1000de80
add esp, 8
xor eax, eax
lea edx, [esp + 0x98]
mov ecx, edi
mov dword [edi + 0x244], eax
call fcn.10011090
mov eax, dword [esi + 0x4944]
test eax, eax
je 0x10010cdf
cmp dword [edi + 8], eax
je 0x10010ba4
cmp dword [edi + 0x7c], eax
jne 0x10010cdf
call fcn.1001ae40
jmp 0x10010cdf
cmp byte [edi + 0xc0], 0
je 0x10010bfe
mov byte [edi + 0xba], 1
mov edx, dword [edi + 0x198]
mov eax, dword [edi + 0x190]
lea eax, [edx + eax*4]
mov dword [esp + 0x2c], eax
cmp edx, eax
je 0x10010bfe
mov ecx, dword [edx]
cmp byte [ecx + 0xc2], 0
jne 0x10010bf7
mov byte [ecx + 0xc0], 1
mov byte [ecx + 0xba], 1
call fcn.1000e450
mov eax, dword [esp + 0x2c]
add edx, 4
cmp edx, eax
jne 0x10010bd5
mov edx, dword [0x10040678]
mov dword [edx + 0x3fec], edi
mov ecx, dword [edi + 0x1a4]
cmp ecx, 0xffffffff
je 0x10010c20
shl ecx, 9
add ecx, dword [edx + 0x4d84]
jmp 0x10010c22
xor ecx, ecx
mov dword [edx + 0x4d64], ecx
mov dword [edx + 0x3d44], 0x3f800000
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d3c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10010c56
mulss xmm0, dword [eax + 0x270]
mov eax, dword [edx + 0x3d34]
movss dword [edx + 0x3d54], xmm0
movss dword [edx + 0x3d38], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [edx + 0x3d40], xmm0
test ecx, ecx
jne 0x10010c89
cmp dword [edi + 0x1a0], ecx
jne 0x10010c89
mov al, 1
jmp 0x10010c8b
xor al, al
mov byte [edi + 0x160], al
lea edx, [esp + 0x80]
movss xmm0, dword [edi + 0x18]
mov ecx, edi
movss xmm1, dword [edi + 0x58]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x28]
addss xmm1, dword [edi + 0x1c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x8c], xmm1
call fcn.10011090
cmp byte [edi + 0xc0], 0
jne 0x10010e62
mov ecx, dword [0x10040678]
mov eax, dword [ecx + 0x3fec]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3fec]
movss xmm1, dword [edi + 0x1f4]
movss xmm0, dword [edi + 0x1f8]
movss xmm3, dword [edi + 0x1fc]
movss xmm2, dword [edi + 0x200]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x278]
mov dword [esp + 0x7c], eax
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm0
movups xmm4, xmmword [eax + 0x44]
movss dword [esp + 0x68], xmm3
comiss xmm4, xmm1
movss dword [esp + 0x6c], xmm2
movaps xmmword [esp + 0x80], xmm4
jbe 0x10010d65
movaps xmm1, xmm4
movss dword [esp + 0x60], xmm1
movss xmm4, dword [esp + 0x84]
comiss xmm4, xmm0
jbe 0x10010d7c
movaps xmm0, xmm4
movss dword [esp + 0x64], xmm0
movss xmm4, dword [esp + 0x88]
comiss xmm3, xmm4
jbe 0x10010d93
movaps xmm3, xmm4
movss dword [esp + 0x68], xmm3
movss xmm4, dword [esp + 0x8c]
comiss xmm2, xmm4
jbe 0x10010daa
movaps xmm2, xmm4
movss dword [esp + 0x6c], xmm2
comiss xmm1, xmm3
jb 0x10010db5
movss dword [esp + 0x68], xmm1
comiss xmm0, xmm2
jb 0x10010dc0
movss dword [esp + 0x6c], xmm0
mov edx, dword [eax + 0x70]
lea ecx, [eax + 0x70]
mov eax, dword [ecx + 4]
mov dword [esp + 0x40], ecx
cmp edx, eax
jne 0x10010dfc
inc edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x10010de8
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10010ded
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001c7e0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x7c]
movups xmmword [ecx + 0x44], xmm0
call fcn.10025500
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x78]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [edx + 0x224], eax
movss dword [edx + 0x228], xmm0
movss dword [edx + 0x22c], xmm1
movss dword [edx + 0x230], xmm2
mov eax, dword [esp + 0x50]
mov byte [edi + 0xbc], 0
inc word [edi + 0xc8]
mov dword [esi + 0x49d0], 0
cmp eax, dword [esp + 0x54]
je 0x10011003
cmp byte [edi + 0xc0], 0
jne 0x10010ffc
mov eax, dword [esp + 0x20]
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x10010f64
test dword [edi + 0x10], 0x100
je 0x10010ed7
cmp byte [esi + 0x4b04], 0
je 0x10010ed7
mov eax, dword [esi + 0x4ab8]
test eax, eax
je 0x10010ed7
mov eax, dword [eax + 0x320]
cmp eax, dword [edi + 0x320]
jne 0x10010ed7
mov al, 1
jmp 0x10010ed9
xor al, al
cmp byte [esi + 0x5f48], 0
jne 0x10010f2a
test al, al
jne 0x10010f2a
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [edi + 0x1dc]
jae 0x10010f08
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jb 0x10010f2a
cmp byte [edi + 0xd2], 0
jg 0x10010f23
cmp byte [edi + 0xd3], 0
jg 0x10010f23
mov byte [edi + 0xdc], 1
jmp 0x10010f2a
mov byte [edi + 0xdd], 1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10010f64
cmp byte [eax + 0xbd], 0
jne 0x10010f44
cmp byte [eax + 0xdc], 0
jle 0x10010f4b
mov byte [edi + 0xdc], 1
cmp byte [eax + 0xbd], 0
jne 0x10010f5d
cmp byte [eax + 0xdd], 0
jle 0x10010f64
mov byte [edi + 0xdd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x38b0]
jb 0x10010f77
mov byte [edi + 0xdc], 1
cmp byte [edi + 0xdc], 0
jg 0x10010f97
cmp byte [edi + 0xdd], 0
jg 0x10010f97
xor cl, cl
cmp byte [edi + 0xde], cl
jg 0x10010f99
xor al, al
jmp 0x10010f9b
mov cl, 1
mov al, 1
mov byte [edi + 0xc2], al
mov al, byte [edi + 0xdf]
test al, al
jle 0x10010fba
dec al
mov byte [edi + 0xdf], al
or dword [edi + 0xc], 0x30200
xor al, al
cmp byte [edi + 0xbd], al
jne 0x10010fd0
cmp byte [edi + 0xba], al
je 0x10010fd0
test cl, cl
je 0x10010ff4
cmp byte [edi + 0xd2], 0
jg 0x10010ff4
cmp byte [edi + 0xd3], 0
jg 0x10010ff4
cmp byte [edi + 0xdd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xbf], al
jmp 0x10011003
mov byte [edi + 0xbf], 1
cmp byte [edi + 0xc3], 0
jne 0x10011068
cmp byte [esi + 0x69], 0
je 0x10011019
cmp dword [esp + 0x58], 0
je 0x1001102e
cmp byte [esi + 0x6a], 0
je 0x10011068
movsx eax, byte [esi + 0x5fa8]
cmp eax, dword [esi + 0x3fc4]
jne 0x10011068
mov al, byte [edi + 0xd2]
test al, al
jle 0x10011040
inc al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x10011052
inc al
mov byte [edi + 0xd3], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.10035deb
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xbf], 0
mov ecx, dword [esp + 0x1bc]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.10035deb
mov esp, ebp
pop ebp
ret