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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf8
push esi
push edi
mov edi, dword [0x100d0cb4]
mov dword [esp + 0x40], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x38], edi
mov eax, dword [edi + 0x1a20]
mov byte [eax + 0x78], 1
mov esi, dword [edi + 0x1a20]
mov dword [esp + 0x1c], esi
cmp byte [esi + 0x7b], 0
jne 0x1002e113
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0xe
mov ecx, edx
not al
shr ecx, 0x14
and eax, 0xffffff01
and ecx, 0xffffff01
mov dword [esp + 0xc], eax
mov eax, edx
shr eax, 0xf
and eax, 0xffffff01
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [esp + 0x3c], eax
test cl, cl
je 0x1002df6b
call fcn.10034604
push ecx
push dword [esp + 0xe0]
mov ecx, esi
call fcn.1001e8a3
movss xmm0, dword [0x1005574c]
mov edx, dword [esp + 0xdc]
push ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0xe8]
mov dword [esp], 0xbf800000
xor eax, eax
push 1
push eax
movss dword [esp + 0xa4], xmm0
call fcn.10023d61
add esp, 0xc
cmp byte [esp + 0x24], 0
je 0x1002dfd0
mov eax, dword [0x100d0cb4]
movss xmm3, dword [eax + 0x1938]
mulss xmm3, dword [0x10055644]
jmp 0x1002dfd9
movss xmm3, dword [esp + 0xe8]
call fcn.10028c21
movss xmm1, dword [edi + 0x1548]
lea ecx, [esp + 0x88]
mov eax, dword [ebp + 0xc]
movaps xmm2, xmm1
addss xmm2, xmm1
movaps xmm1, xmm0
push dword [eax + 4]
push dword [eax]
addss xmm2, xmm3
call fcn.1001f7c4
movss xmm0, dword [esp + 0x90]
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x94]
addss xmm1, dword [esi + 0xcc]
movss xmm2, dword [esp + 0xec]
comiss xmm2, xmm3
mov edx, dword [esi + 0xc8]
mov eax, dword [esi + 0xcc]
pop ecx
pop ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
movss dword [esp + 0x54], xmm0
addss xmm0, dword [esi + 0xc8]
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x80], xmm0
jbe 0x1002e073
addss xmm2, dword [edi + 0x155c]
jmp 0x1002e076
xorps xmm2, xmm2
cmp byte [esp + 0x24], 0
addss xmm0, xmm2
mov ecx, dword [esi + 0xcc]
addss xmm1, xmm3
mov eax, ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x4c], esi
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xb8], xmm1
je 0x1002e157
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
mov edx, esi
lea ecx, [esp + 0xb0]
call fcn.1001f4af
movss xmm0, dword [esp + 0x84]
lea edx, [esp + 0x74]
subss xmm0, dword [esp + 0x7c]
mov ecx, esi
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x88]
subss xmm0, dword [esp + 0x80]
movss dword [esp + 0x78], xmm0
call fcn.10024c50
pop ecx
test al, al
jne 0x1002e11b
call fcn.10024acb
call fcn.10034715
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x100d0cb4]
movss xmm0, dword [esp + 0x88]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1a20]
mov dword [esp + 0x4c], ecx
subss xmm0, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x134]
or dword [ecx + 0x13c], eax
movss dword [esp + 0x54], xmm0
jmp 0x1002e1a6
subss xmm1, dword [esp + 0xb0]
subss xmm0, dword [esp + 0xac]
lea ecx, [esp + 0x70]
movss dword [esp + 0x74], xmm1
movss xmm1, dword [edi + 0x1548]
movss dword [esp + 0x70], xmm0
call fcn.1001ec06
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
mov edx, esi
lea ecx, [esp + 0xb0]
call fcn.1001f4af
pop ecx
test al, al
je 0x1002e113
mov edx, esi
lea ecx, [esp + 0x78]
call fcn.1001f61b
mov byte [esp + 0x16], al
test al, al
je 0x1002e1c3
mov dword [edi + 0x1cfc], 1
cmp byte [esp + 0x68], 0
je 0x1002e241
mov esi, dword [edi + 0x1934]
mov ecx, esi
push 0x2a
call fcn.10047e3d
mov ecx, dword [esi]
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [eax + 0x2be4], ecx
mov ecx, dword [esi + 4]
lea esi, [eax + 0x2be4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 0x1934]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 8], edx
mov eax, dword [eax + 0x1934]
mov eax, dword [eax + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [ecx + 0x1934]
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [ecx + 0x1934]
mov ecx, esi
mov eax, dword [eax + 0x44]
mov dword [esi + 0x44], eax
mov dword [esi + 0x34], edi
mov eax, dword [edi + 4]
mov dword [esi + 0x38], eax
call fcn.10028cd5
mov edi, dword [esp + 0x38]
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x1d80]
mov edx, dword [esp + 0x18]
and eax, 0x440
mov ecx, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x28], esi
sbb al, al
inc al
movzx eax, al
push eax
call fcn.1001f6f9
mov dl, al
mov byte [esp + 0x3b], dl
pop ecx
test dl, dl
je 0x1002e2d9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x360]
cmp ecx, dword [eax + 0x368]
jne 0x1002e2d9
mov byte [esp + 0x13], 1
xor ecx, ecx
mov byte [esp + 0x17], cl
cmp byte [esp + 0x16], 0
je 0x1002e2a7
cmp byte [edi + 0x3e8], 0
mov byte [esp + 9], 1
jne 0x1002e2ab
mov byte [esp + 9], cl
cmp byte [esp + 0x24], 0
je 0x1002e2f0
cmp dword [edi + 0x1a3c], ecx
jne 0x1002e2f0
mov eax, dword [esp + 0x18]
cmp dword [esi], eax
jne 0x1002e2f0
push ecx
push ecx
mov ecx, dword [esp + 0x54]
call fcn.1001e8fa
cmp dword [edi + 0x1a40], eax
jne 0x1002e2ee
mov cl, 1
jmp 0x1002e2f0
xor ecx, ecx
mov byte [esp + 0x13], cl
test dl, dl
je 0x1002e28e
mov byte [esp + 0x17], 1
mov byte [esp + 0x13], cl
jmp 0x1002e292
xor ecx, ecx
mov eax, dword [edi + 0x1a3c]
mov edx, dword [esp + 0x18]
cmp eax, edx
je 0x1002e325
cmp dword [edi + 0x1b30], edx
je 0x1002e317
cmp dword [edi + 0x1b24], edx
jne 0x1002e325
cmp dword [edi + 0x1b40], 3
jne 0x1002e325
mov dl, 1
xor ch, ch
mov byte [esp + 8], dl
mov byte [esp + 0xa], ch
jmp 0x1002e337
xor edx, edx
mov ch, dl
mov byte [esp + 8], dl
mov byte [esp + 0xa], ch
cmp eax, dword [esp + 0x18]
je 0x1002e34d
test byte [ebp + 0x10], 0x10
jne 0x1002e341
test dl, dl
je 0x1002e34d
cmp byte [esp + 0x24], 0
mov byte [esp + 0xb], 1
je 0x1002e352
mov byte [esp + 0xb], 0
cmp byte [esp + 0x37], 0
mov byte [esp + 0x23], ch
mov byte [esp + 0x36], dl
mov dword [esp + 0x48], 0x80
jne 0x1002e38e
cmp byte [esp + 9], 0
jne 0x1002e38e
test cl, cl
jne 0x1002e38e
test dl, dl
jne 0x1002e38e
cmp byte [edi + 0x3e8], cl
je 0x1002e51a
mov byte [esp + 0xa], 1
jmp 0x1002e51a
cmp eax, dword [esp + 0x18]
je 0x1002e4ea
mov edi, dword [ebp + 8]
lea ecx, [esi + 4]
mov eax, dword [esi + 0x2c]
inc edi
push edi
mov dword [esp + 0x64], eax
call fcn.10035a57
push edi
lea ecx, [esi + 0x10]
call fcn.100359a4
push dword [esi + 0x10]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov edx, edi
mov ecx, dword [esi + 0x18]
call fcn.1001d78c
mov edx, dword [esi + 4]
xor eax, eax
pop ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esi + 0xc]
push edi
call fcn.1001dae5
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0x24]
sub ecx, edi
add esp, 0xc
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0xe5c], 0xbe99999a
cmp dword [esi], eax
jne 0x1002e444
cmp dword [esp + 0x60], edx
jne 0x1002e444
cmp dword [esi + 0x38], edx
mov eax, edx
cmovl eax, dword [esi + 0x38]
cmp dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
mov eax, edx
cmovl eax, dword [esi + 0x3c]
cmp dword [esi + 0x40], edx
mov dword [esi + 0x3c], eax
cmovl edx, dword [esi + 0x40]
mov ah, byte [esp + 0xa]
mov dword [esi + 0x40], edx
mov dl, byte [esp + 8]
mov byte [esp + 8], dl
mov edx, dword [esp + 0x24]
mov byte [esp + 0xa], ah
jmp 0x1002e4bc
and dword [esi + 0x34], 0
xor ecx, ecx
mov edx, dword [esp + 0x24]
mov dword [esi], eax
xor eax, eax
and dword [esi + 0x4c], ecx
mov word [esi + 0xe4e], ax
push 0x63
pop eax
mov word [esi + 0xe50], ax
mov al, dl
xor al, 1
mov dword [esi + 0xe54], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x38], ecx
mov cl, byte [esp + 0x36]
mov byte [esi + 0x48], al
mov al, byte [esp + 0x23]
mov dword [esi + 0xe58], 0x3e7
mov dword [esi + 0x44], 0x10000
mov byte [esp + 8], cl
mov byte [esp + 0xa], al
test dl, dl
jne 0x1002e4bc
mov byte [esp + 8], cl
mov byte [esp + 0xa], al
cmp byte [esp + 0x13], dl
je 0x1002e4bc
mov byte [esp + 0xb], 1
mov byte [esp + 8], cl
mov byte [esp + 0xa], al
test dword [ebp + 0x10], 0x2000
je 0x1002e4c9
mov byte [esi + 0x44], 1
mov edi, dword [esp + 0x38]
test dl, dl
jne 0x1002e4ea
cmp byte [esp + 0x17], dl
jne 0x1002e4e5
cmp byte [esp + 9], dl
je 0x1002e4ea
cmp byte [edi + 0xf1], dl
je 0x1002e4ea
mov byte [esp + 0xb], 1
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
call fcn.1001ea1e
call fcn.1001eaaa
mov ecx, edx
call fcn.10028a05
cmp byte [esp + 0x24], 0
jne 0x1002e51a
mov eax, dword [esp + 0x48]
test byte [ebp + 0x10], al
jne 0x1002e51a
or dword [edi + 0x1a50], 0xc
mov eax, dword [esp + 0x18]
xor edx, edx
mov byte [esp + 0x23], dl
mov byte [esp + 0x17], dl
cmp dword [edi + 0x1a3c], eax
jne 0x1002e836
cmp byte [esp + 0xc], dl
jne 0x1002e5a3
cmp byte [edi + 0x1a49], dl
jne 0x1002e5a3
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
inc eax
push eax
call fcn.10035a57
mov edx, dword [esi + 4]
xor eax, eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ecx
push dword [esp + 0x48]
mov ecx, dword [esi + 0xc]
call fcn.1001dae5
mov ecx, dword [esp + 0x38]
mov edx, eax
sub ecx, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esi + 0x38], edx
mov dword [esi + 0x28], ecx
mov ecx, edx
cmovl ecx, dword [esi + 0x38]
cmp dword [esi + 0x3c], edx
mov dword [esi + 0x2c], edx
cmovl eax, dword [esi + 0x3c]
cmp dword [esi + 0x40], edx
mov dword [esi + 0x38], ecx
cmovl edx, dword [esi + 0x40]
mov dword [esi + 0x40], edx
xor edx, edx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], eax
cmp byte [edi + 0xe0], 0
mov dword [edi + 0x2ec0], 1
sete al
cmp byte [esp + 0x24], 0
mov byte [edi + 0x1a4a], al
movss xmm5, dword [edi + 0xd8]
subss xmm5, dword [esp + 0x78]
subss xmm5, dword [edi + 0x1544]
addss xmm5, dword [esi + 0x34]
je 0x1002e603
mov eax, dword [esp + 0x4c]
movss xmm2, dword [edi + 0xdc]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [edi + 0x1548]
jmp 0x1002e613
movss xmm2, dword [edi + 0x1938]
mulss xmm2, dword [0x10055588]
cmp byte [esp + 0xb], 0
mov al, byte [edi + 0xbc]
mov byte [esp + 9], al
jne 0x1002e75f
mov cl, byte [esp + 0x16]
test cl, cl
je 0x1002e640
test al, al
jne 0x1002e6a4
cmp byte [edi + 0x3ed], al
jne 0x1002e75f
cmp byte [edi + 0x3e8], 0
je 0x1002e6cd
cmp byte [esi + 0xe61], 0
jne 0x1002e6cd
test cl, cl
je 0x1002e779
cmp byte [esi + 0x48], 0
je 0x1002e67d
push edx
mov edx, esi
lea ecx, [esp + 0xb0]
call fcn.1002cce4
movss xmm2, dword [esp + 0xbc]
pop ecx
movaps xmm1, xmm5
mov ecx, esi
call fcn.1002cef0
xor edx, edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x47], dl
mov dword [esi + 0xe5c], 0xbe99999a
jmp 0x1002e775
cmp byte [edi + 0x3ed], 0
je 0x1002e640
mov eax, 0x1000c
mov ecx, esi
push eax
call fcn.1002dd39
push 0x3000d
mov ecx, esi
call fcn.1002dd39
xor edx, edx
jmp 0x1002e775
cmp byte [edi + 0xe0], 0
je 0x1002e779
cmp byte [esi + 0xe61], 0
jne 0x1002e782
movss xmm0, dword [edi + 0x384]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e70c
movss xmm0, dword [edi + 0x388]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002e779
cmp byte [esi + 0x48], 0
je 0x1002e72b
push edx
mov edx, esi
lea ecx, [esp + 0xb0]
call fcn.1002cce4
movss xmm2, dword [esp + 0xbc]
pop ecx
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1002e739
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
movaps xmm1, xmm5
mov ecx, esi
call fcn.1002cef0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0xe5c], 0xbe99999a
mov byte [esi + 0xe60], 1
jmp 0x1002e6c6
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x47], dl
mov byte [esi + 0xe61], 1
mov al, byte [esp + 9]
cmp byte [esi + 0xe61], 0
je 0x1002e791
cmp byte [edi + 0xe0], 0
jne 0x1002e791
mov byte [esi + 0xe61], dl
cmp word [edi + 0x2f6], dx
je 0x1002e832
cmp byte [edi + 0xf1], 0
je 0x1002e7b0
cmp byte [edi + 0xf3], 0
je 0x1002e81f
test al, al
je 0x1002e7bd
cmp byte [edi + 0xf4], 0
jne 0x1002e81f
cmp byte [esp + 0xc], 0
je 0x1002e81f
cmp byte [esp + 8], 0
jne 0x1002e81f
lea eax, [edi + 0x2f6]
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
movzx eax, word [eax]
test ax, ax
je 0x1002e81d
mov edx, dword [ebp + 0x10]
push ecx
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
call fcn.1002dd61
pop ecx
pop ecx
test al, al
je 0x1002e804
push dword [esp + 0x2c]
mov ecx, esi
call fcn.1002dd39
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
inc ecx
add eax, 2
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
cmp ecx, 0x11
jl 0x1002e7d9
xor edx, edx
push 8
xor eax, eax
add edi, 0x2f6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov byte [esp + 8], dl
mov dword [esp + 0xe0], 0xa
cmp dword [edi + 0x1a3c], eax
jne 0x1002eb9a
cmp byte [edi + 0x1a49], 0
jne 0x1002eb9a
cmp byte [esp + 0xa], 0
jne 0x1002eb9a
mov cl, byte [edi + 0xf2]
xor eax, eax
mov ch, byte [edi + 0xbc]
test cl, cl
mov edx, 0x20000
mov byte [esp + 0x47], ch
cmovne eax, edx
mov dword [esp + 0x30], eax
test ch, ch
je 0x1002e8dd
cmp byte [edi + 0xf4], 0
je 0x1002e8a4
cmp byte [edi + 0xf1], 0
jne 0x1002e8a4
xor eax, eax
inc eax
jmp 0x1002e8a6
xor eax, eax
test eax, eax
jne 0x1002e8ef
xor eax, eax
mov dl, al
mov byte [esp + 0x13], dl
test ch, ch
je 0x1002e94b
cmp byte [edi + 0xf4], 0
je 0x1002e902
test cl, cl
je 0x1002e902
cmp byte [edi + 0xf1], 0
jne 0x1002e902
cmp byte [edi + 0xf3], 0
jne 0x1002e902
mov al, 1
jmp 0x1002e906
cmp byte [edi + 0xf1], 0
je 0x1002e8aa
cmp byte [edi + 0xf4], 0
jne 0x1002e8aa
cmp byte [edi + 0xf3], 0
jne 0x1002e8aa
test cl, cl
jne 0x1002e8aa
mov dl, 1
xor eax, eax
jmp 0x1002e8ae
test ch, ch
je 0x1002e94b
cmp byte [edi + 0xf4], 0
mov cl, byte [edi + 0xf3]
mov byte [esp + 0x14], cl
mov byte [esp + 9], al
je 0x1002e95d
cmp byte [edi + 0xf1], 0
mov byte [esp + 0x14], cl
mov byte [esp + 9], al
jne 0x1002e95d
mov byte [esp + 0x14], cl
mov byte [esp + 9], al
test cl, cl
jne 0x1002e95d
mov byte [esp + 0x14], cl
xor ecx, ecx
mov byte [esp + 0xb], 1
mov byte [esp + 9], al
jmp 0x1002e963
mov al, byte [edi + 0xf1]
xor ecx, ecx
mov byte [esp + 0x14], al
mov byte [esp + 9], cl
jmp 0x1002e95f
xor ecx, ecx
mov byte [esp + 0xb], cl
mov al, byte [edi + 0xf1]
test al, al
je 0x1002e9eb
cmp byte [edi + 0xf2], 0
jne 0x1002e9eb
cmp byte [edi + 0xf3], 0
jne 0x1002e9eb
cmp byte [edi + 0xf4], 0
jne 0x1002e9eb
mov dh, 1
mov byte [esp + 0x15], cl
mov eax, dword [0x100d0cb4]
test dl, dl
je 0x1002e9ae
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1002e9ae
mov dl, 1
call fcn.100240c3
test al, al
jne 0x1002e9c7
mov eax, dword [0x100d0cb4]
cmp byte [esp + 0x15], 0
je 0x1002ea14
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002ea14
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ea14
cmp byte [esp + 0xc], 0
je 0x1002ea14
cmp byte [esp + 0x68], 0
jne 0x1002ea14
cmp byte [esp + 0x24], 0
je 0x1002e9e4
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1002ea14
mov byte [esp + 0x16], 1
jmp 0x1002ea1a
cmp byte [edi + 0xf2], 0
mov dh, cl
je 0x1002e98a
test al, al
jne 0x1002e98a
cmp byte [edi + 0xf3], al
jne 0x1002e98a
cmp byte [edi + 0xf4], al
jne 0x1002e98a
mov byte [esp + 0x15], 1
jmp 0x1002e98e
xor eax, eax
mov byte [esp + 0x16], al
cmp byte [esp + 0x13], 0
mov eax, dword [0x100d0cb4]
je 0x1002ea3d
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1002ea3d
mov dl, 1
call fcn.100240c3
test al, al
jne 0x1002ea53
mov eax, dword [0x100d0cb4]
test dh, dh
je 0x1002ea70
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002ea70
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ea70
cmp byte [esp + 0x68], 0
jne 0x1002ea70
cmp byte [esp + 0x24], 0
je 0x1002ea69
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1002ea70
mov byte [esp + 0x36], 1
jmp 0x1002ea76
xor eax, eax
mov byte [esp + 0x36], al
mov dh, byte [esp + 0x13]
mov eax, dword [0x100d0cb4]
test dh, dh
je 0x1002ea9a
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1002ea9a
mov dl, 1
call fcn.100240c3
test al, al
jne 0x1002eab3
mov eax, dword [0x100d0cb4]
cmp byte [esp + 0x15], 0
je 0x1002eac1
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002eac1
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002eac1
cmp byte [esp + 0xc], 0
je 0x1002eac1
mov byte [esp + 0x37], 1
jmp 0x1002eac7
xor eax, eax
mov byte [esp + 0x37], al
test dh, dh
je 0x1002eaf9
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002eaf9
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002eaf9
cmp byte [esp + 0xc], 0
je 0x1002eaf9
cmp byte [esp + 0x3c], 0
je 0x1002eaf9
mov byte [esp + 0x15], dl
jmp 0x1002eb03
xor eax, eax
mov byte [esp + 0x15], al
test dh, dh
je 0x1002eb1d
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1002eb22
mov dl, 1
call fcn.100240c3
test al, al
jne 0x1002eb3e
mov eax, dword [0x100d0cb4]
cmp byte [esp + 9], 0
je 0x1002eb50
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002eb50
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002eb50
cmp byte [esp + 0xc], 0
je 0x1002eb50
cmp byte [esp + 0x3c], 0
je 0x1002eb50
mov dh, 1
jmp 0x1002eb54
xor eax, eax
mov dh, al
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1002ec75
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ec70
mov eax, 0x10000
lea ecx, [eax + 0xc]
lea edx, [eax + 4]
cmp byte [esp + 0x14], 0
cmovne eax, ecx
cmp byte [esp + 0xb], 0
cmovne eax, edx
or eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.1002dd39
mov cl, byte [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
cmp dword [edi + 0x1a3c], eax
jne 0x1002f3ca
test cl, cl
je 0x1002ebff
test dl, dl
je 0x1002ebea
push dword [ebp + 8]
push dword [esi + 0x18]
push dword [esp + 0x48]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1002ebe6
push dword [ebp + 8]
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x44]
call fcn.1001d78c
pop ecx
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x17], 0
je 0x1002f3ca
test byte [ebp + 0x10], 0x20
je 0x1002f3ca
test dl, dl
je 0x1002ec2b
mov edi, dword [esp + 0x28]
lea ecx, [esi + 0x1c]
mov eax, dword [edi + 4]
shl eax, 2
push eax
call fcn.100359a4
mov edx, dword [esi + 0x1c]
xor eax, eax
mov esi, edi
push eax
push dword [edi + 0xc]
mov ecx, dword [esi + 0x24]
call fcn.1001dc45
pop ecx
pop ecx
mov edx, dword [ebp + 0x10]
test edx, 0x1c0
je 0x1002f37a
mov edi, dword [0x100d0cb4]
test dl, 0x40
je 0x1002f1bb
mov ecx, dword [edi + 0x34]
test ecx, ecx
js 0x1002f1bb
mov dl, 1
call fcn.100240c3
mov edx, dword [ebp + 0x10]
test al, al
je 0x1002f1bb
push 0x40
pop eax
xor ecx, ecx
jmp 0x1002f20d
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1002ec9c
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ec97
mov eax, 0x10001
lea ecx, [eax + 0xc]
lea edx, [eax + 4]
jmp 0x1002eb7e
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002ed0d
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ed08
cmp byte [esp + 0x24], 0
je 0x1002ed08
cmp byte [edi + 0xf1], 0
je 0x1002ecf7
mov eax, dword [esp + 0x4c]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0x58]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x1938]
addss xmm1, dword [eax + 0xe4]
maxss xmm0, xmm2
subss xmm1, xmm0
movss dword [eax + 0x58], xmm0
movss dword [eax + 0xe4], xmm1
jmp 0x1002eb9a
movzx eax, byte [esp + 0xb]
lea eax, [eax*4 + 0x10002]
jmp 0x1002eb8e
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002eda4
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ed9f
cmp byte [esp + 0x24], 0
je 0x1002ed9f
cmp byte [edi + 0xf1], 0
je 0x1002ed8e
mov eax, dword [0x100d0cb4]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x1a20]
movss xmm3, dword [ecx + 0x58]
movaps xmm2, xmm3
addss xmm2, dword [edi + 0x1938]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x70]
movss xmm1, dword [eax + 0x30]
addss xmm3, dword [ecx + 0xe4]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
minss xmm2, xmm0
subss xmm3, xmm2
movss dword [ecx + 0x58], xmm2
movss dword [ecx + 0xe4], xmm3
jmp 0x1002eb9a
movzx eax, byte [esp + 0xb]
lea eax, [eax*4 + 0x10003]
jmp 0x1002eb8e
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1002edd2
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002edcd
mov eax, 0x10004
lea ecx, [eax + 2]
cmp byte [edi + 0xf1], 0
cmovne eax, ecx
jmp 0x1002eb8e
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1002edf3
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002edee
mov eax, 0x10005
lea ecx, [eax + 2]
jmp 0x1002edbe
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002ee21
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ee1c
cmp byte [esp + 0xc], 0
je 0x1002ee1c
mov ecx, dword [esp + 0x30]
or ecx, 0x10008
push ecx
jmp 0x1002eb93
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1002ee8f
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ee8a
cmp byte [esp + 0xc], 0
je 0x1002ee8a
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1002ee7e
cmp byte [esp + 0x14], 0
je 0x1002ee50
push 0x3000c
jmp 0x1002ee77
cmp byte [esp + 0x47], 0
je 0x1002ee7e
cmp byte [edi + 0xf4], 0
je 0x1002ee7e
cmp byte [edi + 0xf3], 0
jne 0x1002ee7e
cmp byte [edi + 0xf1], 0
jne 0x1002ee7e
push 0x30004
mov ecx, esi
call fcn.1002dd39
mov ecx, dword [esp + 0x30]
or ecx, 0x10009
jmp 0x1002ee16
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1002ef0a
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ef05
mov eax, dword [ebp + 0x10]
shr eax, 0xb
and al, dl
cmp byte [esp + 0x24], 0
je 0x1002eebe
mov cl, byte [edi + 0xf1]
test al, al
je 0x1002eecd
test cl, cl
jne 0x1002eed1
mov byte [esp + 0xa], 1
mov byte [esp + 0x17], 1
jmp 0x1002eb9a
test cl, cl
jne 0x1002eebe
mov edx, dword [esp + 0xc]
test dl, dl
je 0x1002f1b2
push 0xa
pop eax
mov dword [esp + 0x2c], eax
mov edx, dword [ebp + 0x10]
push ecx
push ecx
lea ecx, [esp + 0x34]
call fcn.1002dd61
pop ecx
pop ecx
test al, al
je 0x1002eb9a
push dword [esp + 0x2c]
jmp 0x1002eb93
mov eax, dword [0x100d0cb4]
test dword [ebp + 0x10], 0x400
je 0x1002ef51
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002ef51
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ef51
cmp byte [edi + 0xf1], 0
jne 0x1002ef51
cmp byte [edi + 0xf2], 0
jne 0x1002ef51
cmp byte [edi + 0xf3], 0
jne 0x1002ef51
cmp byte [esp + 0xc], 0
je 0x1002ef51
mov dword [esp + 0x2c], 9
jmp 0x1002eee4
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1002ef78
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002ef73
mov cl, dl
mov byte [esp + 0xa], cl
jmp 0x1002eb9e
mov eax, dword [0x100d0cb4]
mov cl, byte [esp + 0x15]
test cl, cl
jne 0x1002f191
test dh, dh
jne 0x1002f191
cmp byte [esp + 0x13], dh
je 0x1002efc0
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1002efc0
mov dl, 1
call fcn.100240c3
test al, al
je 0x1002efc0
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x47], cl
mov byte [esi + 0xe60], dl
jmp 0x1002eb9a
mov al, byte [esp + 0x16]
test al, al
jne 0x1002f0da
cmp byte [esp + 0x36], al
jne 0x1002f0da
cmp byte [esp + 0x37], al
je 0x1002eb9a
mov eax, dword [0x100d0cb4]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
je 0x1002f006
push dword [eax + 0xc8]
call ecx
mov dword [esp + 0x20], eax
pop ecx
test eax, eax
je 0x1002eb9a
jmp 0x1002f00f
mov eax, 0x1004f5a3
mov dword [esp + 0x1c], eax
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f014
sub ecx, edx
lea ecx, [ecx*2 + 2]
call fcn.1001f885
mov edx, eax
xor eax, eax
mov ecx, eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
cmp byte [eax], cl
je 0x1002f0a0
mov edi, eax
mov esi, ecx
xor eax, eax
lea ecx, [esp + 0x1c]
push eax
mov edx, edi
call fcn.1001d969
add edi, eax
cmp dword [esp + 0x20], 0
pop ecx
je 0x1002f08c
cmp dword [esp + 0x1c], 0x10000
jae 0x1002f087
mov edx, dword [ebp + 0x10]
push ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.1002dd61
pop ecx
pop ecx
test al, al
je 0x1002f087
mov ecx, dword [esp + 0x3c]
mov ax, word [esp + 0x1c]
mov word [ecx + esi*2], ax
inc esi
cmp byte [edi], 0
jne 0x1002f043
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov word [edx + ecx*2], ax
test ecx, ecx
jle 0x1002f0c3
push ecx
push edx
lea edx, [esi + 0x38]
mov ecx, esi
call fcn.1002dcd8
mov edx, dword [esp + 0x44]
pop ecx
pop ecx
mov byte [esi + 0xe60], 1
test edx, edx
je 0x1002f0cd
dec dword [0x1010cdf4]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1002eb9a
xor edx, edx
cmp dword [edi + 0xc4], edx
je 0x1002f14b
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
cmp ecx, eax
je 0x1002f0f8
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x1002f0fb
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
lea ecx, [esi + 0x1c]
sub eax, edx
mov dword [esp + 0x58], edx
lea eax, [eax*4 + 1]
push eax
call fcn.100359a4
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
lea eax, [ecx + eax*2]
push eax
mov eax, dword [esp + 0x5c]
lea eax, [ecx + eax*2]
mov ecx, dword [esi + 0x24]
push eax
call fcn.1001dc45
pop ecx
pop ecx
mov ecx, dword [esi + 0x24]
call fcn.1001f894
mov al, byte [esp + 0x16]
xor edx, edx
test al, al
je 0x1002eb9a
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1002f16a
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x47], dl
mov byte [esi + 0xe60], 1
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1002eb9a
lea edx, [esi + 0x38]
mov ecx, esi
call fcn.1002d1a5
xor eax, eax
mov byte [esi + 0x47], al
jmp 0x1002eb9a
movzx eax, cl
mov ecx, esi
xor eax, 1
add eax, 0x1000a
push eax
call fcn.1002dd39
mov eax, dword [esi + 0x38]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
jmp 0x1002eb9a
mov cl, byte [esp + 8]
jmp 0x1002eba2
mov eax, dword [esp + 0x48]
test al, dl
je 0x1002f1fd
mov ecx, dword [edi + 0x40]
test ecx, ecx
js 0x1002f1e0
mov dl, 1
call fcn.100240c3
mov edx, dword [ebp + 0x10]
test al, al
je 0x1002f1e0
mov eax, dword [esp + 0x48]
push 3
jmp 0x1002f20c
mov ecx, dword [edi + 0x44]
test ecx, ecx
js 0x1002f1fd
mov dl, 1
call fcn.100240c3
mov edx, dword [ebp + 0x10]
test al, al
je 0x1002f1fd
mov eax, dword [esp + 0x48]
push 4
jmp 0x1002f20c
mov ecx, 0x100
push 0
test ecx, edx
pop eax
cmovne eax, ecx
push 0x15
pop ecx
test eax, eax
je 0x1002f37a
mov dword [esp + 0xac], eax
xor edi, edi
mov al, byte [esp + 0xc]
xor al, 1
mov dword [esp + 0xb0], edx
mov byte [esp + 0xb8], al
xor edx, edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc4], eax
mov eax, dword [esi + 0x30]
mov esi, dword [esi + 0xc]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xbc], ecx
mov ecx, esi
mov byte [esp + 0xcc], dl
mov eax, dword [eax + 0x38]
mov word [esp + 0xb9], di
mov byte [esp + 0xbb], 0
mov word [esp + 0xcd], di
lea edx, [esi + eax*2]
mov byte [esp + 0xcf], 0
call fcn.1001dcaf
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xd0], edi
mov ecx, dword [eax + 0x3c]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1001dcaf
mov dword [esp + 0x60], eax
mov ecx, esi
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x40]
lea edx, [esi + edx*2]
call fcn.1001dcaf
mov dword [esp + 0x5c], eax
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xac]
push eax
xor eax, eax
call eax
pop ecx
mov ecx, dword [esp + 0xd0]
cmp ecx, edi
mov edi, dword [esp + 0xc0]
je 0x1002f30e
lea edx, [ecx + edi]
mov ecx, edi
call fcn.1001db47
mov esi, dword [esp + 0x28]
mov dword [esi + 0x38], eax
jmp 0x1002f312
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xd4]
cmp eax, dword [esp + 0x60]
je 0x1002f32c
lea edx, [eax + edi]
mov ecx, edi
call fcn.1001db47
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0xd8]
cmp eax, dword [esp + 0x5c]
je 0x1002f346
lea edx, [eax + edi]
mov ecx, edi
call fcn.1001db47
mov dword [esi + 0x40], eax
cmp byte [esp + 0xcc], 0
je 0x1002f37a
mov edx, dword [esi + 4]
xor eax, eax
push eax
push ecx
mov ecx, dword [esi + 0xc]
push edi
call fcn.1001dae5
mov dword [esi + 0x2c], eax
add esp, 0xc
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x28], eax
mov dword [esi + 0xe5c], 0xbe99999a
cmp byte [esp + 0xc], 0
je 0x1002f3c6
mov edi, dword [esp + 0x40]
mov ecx, edi
mov eax, dword [esi + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002f3aa
test dl, dl
je 0x1002f3a6
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002f3aa
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002f38a
xor eax, eax
jmp 0x1002f3af
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002f3c6
push dword [ebp + 8]
mov edx, dword [esi + 0x24]
mov ecx, edi
call fcn.1001d78c
pop ecx
mov byte [esp + 0x23], 1
mov edi, dword [esp + 0x38]
cmp byte [esp + 0xa], 0
mov edx, dword [esp + 0x18]
je 0x1002f3ea
cmp dword [edi + 0x1a3c], edx
jne 0x1002f400
xor edx, edx
xor ecx, ecx
call fcn.1001ea1e
mov edx, dword [esp + 0x18]
cmp dword [edi + 0x1a3c], edx
jne 0x1002f400
cmp byte [esp + 0xc], 0
je 0x1002f400
mov eax, dword [esi + 0x24]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
test cl, cl
jne 0x1002f45c
push 1
lea ecx, [esp + 0x7c]
call fcn.10023b46
movss xmm1, dword [0x100555b4]
pop ecx
push 7
pop ecx
call fcn.1001de59
push dword [esp + 0x84]
movss xmm2, dword [edi + 0x154c]
mov dl, 1
push dword [esp + 0x84]
mov ecx, eax
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.1002376f
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x24]
movss xmm1, dword [esp + 0x78]
movss xmm3, dword [esp + 0x54]
movaps xmm0, xmm1
movss xmm2, dword [esp + 0x7c]
addss xmm0, xmm3
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, xmm2
movss dword [esp + 0xa8], xmm0
test cl, cl
je 0x1002f4ce
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xac], eax
jmp 0x1002f4f3
addss xmm1, dword [edi + 0x1544]
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x1548]
movss dword [esp + 0xac], xmm1
movss dword [esp + 0xb0], xmm0
lea eax, [esp + 0xac]
xorps xmm7, xmm7
xorps xmm2, xmm2
movss xmm5, dword [eax + 4]
movss xmm0, dword [eax]
mov dword [esp + 0x28], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x2c], xmm7
cmp dword [esi], edx
jne 0x1002f54c
test cl, cl
je 0x1002f54c
push ecx
push ecx
mov ecx, dword [esp + 0x54]
call fcn.1001e8fa
cmp dword [edi + 0x1a3c], eax
jne 0x1002f54c
mov al, 1
xor edx, edx
jmp 0x1002f550
xor edx, edx
mov al, dl
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x1a3c], ecx
je 0x1002f60e
test al, al
jne 0x1002f60e
mov esi, edx
cmp byte [esp + 0x24], al
je 0x1002f5b9
mov eax, dword [esp + 0x40]
mov ecx, edx
mov dl, byte [eax]
lea esi, [eax + 1]
jmp 0x1002f58b
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [esi]
cmovne eax, ecx
inc esi
mov ecx, eax
test dl, dl
jne 0x1002f57d
dec esi
mov al, byte [esi]
cmp al, 0xa
je 0x1002f59b
cmp al, 0xd
je 0x1002f59b
inc ecx
movd xmm0, ecx
movaps xmm2, xmm3
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x58], xmm2
mulss xmm0, dword [edi + 0x1938]
movss dword [esp + 0x2c], xmm0
movss xmm1, dword [0x100555b4]
xor ecx, ecx
call fcn.1001de59
movss xmm2, dword [edi + 0x1938]
lea ecx, [esp + 0x9c]
xor edx, edx
cmp byte [esp + 0x24], dl
cmovne ecx, edx
push ecx
push ecx
and dword [esp], edx
push esi
mov esi, dword [esp + 0x4c]
push esi
push eax
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x64]
push dword [edi + 0x1934]
mov ecx, dword [eax + 0x27c]
call fcn.100461db
jmp 0x1002fda6
mov edx, dword [esi + 0xc]
xor ecx, ecx
mov eax, dword [esi + 0x38]
inc ecx
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [esi + 0xe5c]
or dword [esp + 0x3c], 0xffffffff
lea eax, [edx + eax*2]
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x40]
movss dword [esi + 0xe5c], xmm0
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0xfc], xmm7
mov dword [esp + 0x18], 0xfffffc19
cmp dword [esi + 0x3c], eax
je 0x1002f674
cmovl eax, dword [esi + 0x3c]
or dword [esp + 0x18], 0xffffffff
push 2
pop ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
movzx eax, al
add ecx, eax
mov dword [esp + 0x60], edx
movzx edx, word [edx]
xor eax, eax
mov dword [esp + 0x1c], eax
test dx, dx
je 0x1002f6f7
mov esi, dword [esp + 0x1c]
mov eax, edx
mov edx, dword [esp + 0x60]
push 0xa
pop edi
cmp ax, di
mov edi, dword [esp + 0x18]
jne 0x1002f6d4
inc esi
cmp dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x1002f6c0
cmp edx, dword [esp + 0x6c]
jb 0x1002f6c0
dec ecx
mov dword [esp + 0x3c], esi
test ecx, ecx
jle 0x1002f6e9
cmp edi, 0xffffffff
jne 0x1002f6d4
cmp edx, dword [esp + 0x50]
jb 0x1002f6d4
dec ecx
mov dword [esp + 0x18], esi
test ecx, ecx
jle 0x1002f6e9
add edx, 2
movzx eax, word [edx]
mov esi, eax
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x1c]
test ax, ax
jne 0x1002f699
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
lea esi, [edi + 0x1d80]
mov ecx, dword [esp + 0x18]
inc eax
cmp dword [esp + 0x3c], 0xffffffff
mov edx, eax
mov dword [esp + 0x1c], eax
cmovne edx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
mov dword [esp + 0xec], edx
cmove ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x6c]
mov edx, ecx
cmp ecx, eax
jbe 0x1002f74a
push 0xa
pop edi
lea esi, [edx - 2]
mov dword [esp + 0x60], esi
cmp word [esi], di
je 0x1002f740
mov edx, esi
cmp edx, eax
ja 0x1002f72e
mov edi, dword [esp + 0x38]
lea esi, [edi + 0x1d80]
xor eax, eax
push eax
push ecx
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.1002cbd0
movd xmm3, dword [esp + 0xfc]
add esp, 0x10
cmp dword [esp + 0x18], 0
movss xmm0, dword [edi + 0x1938]
movss xmm1, dword [eax]
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x3c], xmm1
mulss xmm3, xmm0
movss dword [esp + 0x60], xmm3
jl 0x1002f804
mov ecx, dword [esp + 0x50]
mov edx, ecx
mov eax, dword [esp + 0x48]
cmp ecx, eax
jbe 0x1002f7bb
push 0xa
pop edi
lea esi, [edx - 2]
mov dword [esp + 0xec], esi
cmp word [esi], di
je 0x1002f7b1
mov edx, esi
cmp edx, eax
ja 0x1002f79c
mov edi, dword [esp + 0x38]
lea esi, [edi + 0x1d80]
xor eax, eax
push eax
push ecx
push eax
push ecx
lea ecx, [esp + 0xfc]
call fcn.1002cbd0
movd xmm6, dword [esp + 0x28]
add esp, 0x10
movss xmm3, dword [esp + 0x60]
movss xmm1, dword [esp + 0x3c]
movss xmm0, dword [eax]
cvtdq2ps xmm6, xmm6
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [edi + 0x1938]
mulss xmm6, xmm0
movss dword [esp + 0x5c], xmm6
mov ecx, dword [esp + 0x24]
movss xmm4, dword [esp + 0x54]
test cl, cl
je 0x1002f82e
movd xmm6, dword [esp + 0x1c]
movaps xmm2, xmm4
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x58], xmm2
mulss xmm6, xmm0
movss dword [esp + 0x2c], xmm6
cmp byte [esi + 0xe60], 0
je 0x1002f8e4
test dword [ebp + 0x10], 0x1000
jne 0x1002f885
movss xmm2, dword [esi + 0x34]
movaps xmm0, xmm4
comiss xmm2, xmm1
mulss xmm0, dword [0x10055574]
jbe 0x1002f866
subss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x1002f873
subss xmm1, xmm4
comiss xmm1, xmm2
jb 0x1002f889
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x34], xmm0
jmp 0x1002f889
and dword [esi + 0x34], 0
test cl, cl
je 0x1002f8e4
mov eax, dword [esp + 0x4c]
movaps xmm1, xmm3
subss xmm1, dword [edi + 0x1938]
movss xmm5, dword [eax + 0x58]
comiss xmm5, xmm1
jbe 0x1002f8af
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x1002f8bf
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x8c]
maxss xmm0, xmm5
subss xmm5, xmm0
movss dword [eax + 0x58], xmm0
addss xmm5, dword [eax + 0xcc]
movss dword [esp + 0x30], xmm5
movss dword [eax + 0xcc], xmm5
movss dword [esp + 0x74], xmm5
movss xmm0, dword [esi + 0x34]
xor eax, eax
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov byte [esi + 0xe60], al
movss dword [esp + 0x1c], xmm0
cmp edx, ecx
je 0x1002fb8d
mov esi, dword [esp + 0x48]
mov eax, ecx
cmovl eax, edx
cmovge ecx, edx
cmp byte [esp + 0x24], 0
lea eax, [esi + eax*2]
mov dword [esp + 0xec], eax
mov eax, esi
lea eax, [eax + ecx*2]
mov dword [esp + 0x50], eax
je 0x1002f93c
movss dword [esp + 0x98], xmm7
movss dword [esp + 0x6c], xmm7
jmp 0x1002f94a
movss xmm0, dword [0x100555f4]
movss dword [esp + 0x6c], xmm0
movss xmm1, dword [0x100555b4]
push 0x2f
pop ecx
call fcn.1001de59
mov ecx, dword [esp + 0x28]
lea esi, [edi + 0x1d80]
mov edx, dword [esp + 0x50]
movaps xmm6, xmm5
addss xmm6, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
movss xmm7, dword [ecx]
addss xmm7, dword [esp + 0xfc]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x54], ecx
subss xmm6, dword [0x10055508]
subss xmm7, dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm6
cmp ecx, edx
jae 0x1002fb8a
movss xmm2, dword [esp + 0xa8]
movss xmm4, dword [esp + 0xa0]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x1938]
comiss xmm6, xmm0
ja 0x1002fb7e
comiss xmm4, xmm6
jbe 0x1002fa05
cmp ecx, edx
jae 0x1002fb5e
mov ax, word [ecx]
add ecx, 2
mov dword [esp + 0x54], ecx
cmp ax, word [esp + 0xe0]
je 0x1002fb5a
cmp ecx, edx
jb 0x1002f9e4
jmp 0x1002fb5a
push 1
push ecx
lea eax, [esp + 0x5c]
push eax
push edx
mov edx, ecx
lea ecx, [esp + 0x98]
call fcn.1002cbd0
movss xmm1, dword [esp + 0x98]
xorps xmm2, xmm2
add esp, 0x10
comiss xmm2, xmm1
jb 0x1002fa6a
mov eax, dword [edi + 0x1934]
cmp dword [eax + 0x1c], 0x20
jle 0x1002fa49
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + 0x80]
jmp 0x1002fa4e
movss xmm0, dword [eax + 0x38]
mulss xmm0, dword [0x10055588]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x88], xmm1
movss xmm3, dword [esp + 0x98]
addss xmm1, xmm7
subss xmm3, dword [edi + 0x1938]
movss xmm0, dword [esp + 0x6c]
movaps xmm5, xmm7
movss xmm4, dword [esp + 0xa0]
addss xmm0, xmm6
movss xmm7, dword [esp + 0xa4]
addss xmm5, xmm2
movss xmm2, dword [esp + 0xa8]
minss xmm1, xmm7
addss xmm3, xmm6
minss xmm0, xmm2
maxss xmm5, dword [esp + 0x9c]
movss dword [esp + 0xf4], xmm1
maxss xmm3, xmm4
comiss xmm0, xmm4
movss dword [esp + 0xec], xmm5
movss dword [esp + 0xf0], xmm3
movss dword [esp + 0xf8], xmm0
jbe 0x1002fb52
comiss xmm2, xmm3
jbe 0x1002fb52
comiss xmm1, dword [esp + 0x9c]
jbe 0x1002fb52
comiss xmm7, xmm5
jbe 0x1002fb52
push 0xf
push ecx
and dword [esp], 0
lea eax, [esp + 0xfc]
push esi
push eax
lea eax, [esp + 0xfc]
push eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x27c]
call fcn.10045f7f
movss xmm0, dword [esp + 0x98]
movss xmm2, dword [esp + 0xa8]
movss xmm4, dword [esp + 0xa0]
movss xmm6, dword [esp + 0x5c]
movss dword [esp + 0x98], xmm0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
movss xmm7, dword [eax]
addss xmm6, dword [edi + 0x1938]
subss xmm7, dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm6
cmp ecx, edx
jb 0x1002f9c3
movss xmm5, dword [esp + 0x30]
lea esi, [edi + 0x1d80]
xorps xmm7, xmm7
movss xmm1, dword [0x100555b4]
xor ecx, ecx
call fcn.1001de59
mov edx, eax
movss xmm2, dword [edi + 0x1938]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x9c]
subss xmm5, xmm7
movss xmm0, dword [eax]
xor eax, eax
cmp byte [esp + 0x24], al
subss xmm0, dword [esp + 0x1c]
cmovne ecx, eax
movss dword [esp + 0x8c], xmm5
push ecx
push ecx
and dword [esp], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov esi, dword [esp + 0x54]
push eax
push ecx
push edx
mov ecx, dword [esi + 0x27c]
lea eax, [esp + 0x9c]
push eax
push dword [edi + 0x1934]
movss dword [esp + 0xa4], xmm0
call fcn.100461db
cmp byte [edi + 0xbd], 0
je 0x1002fc66
movss xmm0, dword [edi + 0x2bdc]
xorps xmm2, xmm2
comiss xmm2, xmm0
jae 0x1002fc66
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x88], xmm0
fld qword [esp + 0x88]
fld qword [0x100555e0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x100555a4]
fstp qword [esp + 0x88]
movsd xmm1, qword [esp + 0x88]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1002fc66
xor eax, eax
mov cl, al
jmp 0x1002fc68
mov cl, 1
movss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
movss xmm3, dword [0x100555b4]
addss xmm0, dword [esp + 0x60]
movss xmm5, dword [eax]
addss xmm5, dword [esp + 0x3c]
subss xmm0, dword [0x10055508]
subss xmm5, dword [esp + 0x1c]
movss dword [esp + 0x30], xmm0
movaps xmm1, xmm0
movaps xmm6, xmm0
subss xmm1, dword [edi + 0x1938]
movss dword [esp + 0xe0], xmm5
movaps xmm2, xmm5
movss dword [esp + 0x88], xmm5
addss xmm2, xmm3
subss xmm6, dword [0x100555c0]
addss xmm1, dword [0x10055588]
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x94], xmm6
movss dword [esp + 0x8c], xmm1
test cl, cl
je 0x1002fd7f
comiss xmm6, dword [esp + 0xa0]
jbe 0x1002fd7f
movss xmm0, dword [esp + 0xa8]
comiss xmm0, xmm1
jbe 0x1002fd79
comiss xmm2, dword [esp + 0x9c]
jbe 0x1002fd79
movss xmm0, dword [esp + 0xa4]
comiss xmm0, xmm5
jbe 0x1002fd79
movaps xmm1, xmm3
xor ecx, ecx
call fcn.1001de59
push ecx
mov ecx, dword [esi + 0x27c]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0xb4]
movss dword [esp + 0xb4], xmm5
push eax
lea eax, [esp + 0x94]
movss dword [esp + 0xbc], xmm6
push eax
call fcn.10045e17
movss xmm5, dword [esp + 0xe0]
movss xmm3, dword [0x100555b4]
movss xmm0, dword [esp + 0x30]
cmp byte [esp + 0xc], 0
mov esi, dword [esp + 0x40]
je 0x1002fda6
subss xmm0, dword [edi + 0x1938]
subss xmm5, xmm3
movss dword [edi + 0x2c7c], xmm0
movss dword [edi + 0x2c78], xmm5
cmp byte [esp + 0x24], 0
je 0x1002fdf1
movss xmm0, dword [esp + 0x58]
lea ecx, [esp + 0xac]
addss xmm0, dword [0x10055508]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [edi + 0x1938]
movss dword [esp + 0xb0], xmm0
call fcn.1003456c
call fcn.10024acb
call fcn.10034715
mov eax, dword [esp + 0x68]
test al, al
je 0x1002fe02
call fcn.10028d25
mov eax, dword [esp + 0x68]
cmp byte [edi + 0x2cb4], 0
je 0x1002fe1e
test al, al
jne 0x1002fe1e
xor eax, eax
lea ecx, [esp + 0x70]
push eax
mov edx, esi
call fcn.10023370
pop ecx
movss xmm0, dword [esp + 0xe4]
comiss xmm0, dword [0x10055508]
jbe 0x1002fe85
movss xmm0, dword [esp + 0x80]
xor edx, edx
addss xmm0, dword [edi + 0x155c]
mov ecx, dword [esp + 0xdc]
push 1
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x80]
addss xmm0, dword [edi + 0x1548]
movss dword [esp + 0xec], xmm0
push dword [esp + 0xec]
push dword [esp + 0xec]
call fcn.10023485
add esp, 0xc
mov cl, byte [esp + 0x23]
test cl, cl
je 0x1002fe99
mov eax, dword [0x100d0cb4]
mov byte [eax + 0x1a4b], 1
test byte [ebp + 0x10], 0x20
movzx eax, cl
movzx ecx, byte [esp + 0x17]
cmovne eax, ecx
jmp 0x1002e115