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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x102d944c]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x5c], ecx
cmp byte [esi + 0x67], 0
mov dword [esp + 0x30], eax
je 0x10152e31
mov ecx, esi
call fcn.10151b30
mov eax, dword [esp + 0x30]
mov edi, dword [0x103f64e8]
mov ecx, dword [edi + 0x1c48]
mov dword [esp + 0x50], ecx
cmp byte [ecx + 0xc8], 0
jne 0x10152f0e
xor edx, edx
test eax, eax
je 0x10152e57
push edx
jmp 0x10152e69
mov eax, ecx
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x3c]
call fcn.10111d40
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [edi + 0x1c84], eax
jne 0x10152e87
mov dword [edi + 0x1c88], eax
cmp dword [edi + 0x1cbc], eax
jne 0x10152e96
mov byte [edi + 0x1cc0], 1
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x10152f24
cmp byte [ecx], 0
jne 0x10152f24
mov eax, dword [edi + 0x1c6c]
lea ecx, [edi + 0x1da0]
or eax, 0x18
mov dword [esp + 0x48], eax
mov dword [edi + 0x1c6c], eax
lea eax, [esp + 0x48]
push eax
call fcn.1012d630
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
push 0
push 0
movups xmmword [esp + 0xd8], xmm0
call fcn.1011e830
mov edx, dword [0x103f64e8]
add esp, 8
dec dword [edx + 0x1da0]
mov eax, dword [edx + 0x1da8]
mov ecx, dword [edx + 0x1da0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c6c], eax
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
test eax, 0x100000
je 0x10152f3a
xor ecx, ecx
mov dword [esp + 0x5c], ecx
jmp 0x10152f47
test ecx, ecx
jne 0x10152f49
or eax, 0x100000
mov dword [esp + 0x44], eax
test ecx, ecx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x64]
setne al
movzx eax, al
push eax
call fcn.10153e00
mov ecx, dword [esp + 0x18]
add esp, 4
test ecx, ecx
je 0x10152f94
xor edx, edx
cmp dword [esi], edx
jle 0x10152f94
lea eax, [esi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
nop dword [eax + eax]
cmp dword [eax], ecx
je 0x1015300b
inc edx
add eax, 0x28
mov dword [esp + 0x28], eax
cmp edx, dword [esi]
jl 0x10152f80
lea eax, [esi + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esi]
or eax, 0xffffffff
xorps xmm0, xmm0
movq qword [esp + 0xb0], xmm0
mov word [esp + 0xb4], ax
mov word [esp + 0xb2], ax
mov word [esp + 0xb0], ax
mov eax, dword [esi + 4]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x9c], 0xffffffff
cmp ecx, eax
jne 0x101530c3
inc ecx
test eax, eax
je 0x101530b1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x101530b6
mov byte [esp + 0x13], 0
test eax, eax
je 0x10152f9b
movss xmm0, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x24]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x28]
mov word [esi + 0x6c], ax
movss dword [edx + 0x1c], xmm0
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edx + 0x22], cx
mov eax, dword [edi + 0x1be0]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x40], eax
inc ecx
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
test eax, eax
je 0x10153128
or eax, 0xffffffff
mov word [edx + 0x20], ax
jmp 0x10153226
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1013d930
mov eax, dword [esi]
mov edx, dword [esp + 0x24]
movups xmm0, xmmword [esp + 0x90]
mov byte [esp + 0x13], 1
lea ecx, [eax + eax*4]
mov eax, dword [edx]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esp + 0xb0]
movq qword [eax + ecx*8 + 0x20], xmm0
inc dword [esi]
mov eax, dword [esi]
movss xmm0, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
add eax, 0xffffffd8
mov dword [esp + 0x28], eax
mov dword [eax], edx
movss dword [eax + 0x18], xmm0
mov byte [esi + 0x69], 1
jmp 0x1015301a
mov ecx, dword [esi + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov word [edx + 0x20], cx
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10153142
mov eax, dword [esp + 0x38]
sub ecx, edx
inc ecx
add ecx, eax
je 0x10153158
sub ecx, eax
jmp 0x10153169
mov ecx, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10153160
sub ecx, edx
mov eax, dword [esi + 0x84]
mov edx, 1
test eax, eax
mov dword [esp + 0x1c], ecx
cmovne edx, eax
mov eax, dword [esi + 0x88]
add ecx, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], ecx
lea edx, [esi + 0x84]
cmp ecx, eax
jl 0x101531b0
add eax, eax
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1012e360
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0x84]
mov eax, dword [edx + 4]
mov dword [esp + 0x48], eax
cmp ecx, eax
jle 0x101531f2
test eax, eax
je 0x101531d2
cdq
sub eax, edx
lea edx, [esi + 0x84]
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x48]
jmp 0x101531d7
mov ecx, 8
mov eax, dword [esp + 0x2c]
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1012e360
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0x84]
push dword [esp + 0x1c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 8]
dec ecx
push dword [esp + 0x3c]
add eax, ecx
push eax
call fcn.101febb0
mov ecx, dword [esp + 0x60]
add esp, 0xc
add ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x8c]
mov byte [ecx + eax - 1], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x3c], eax
jge 0x10153257
test byte [esi + 0xc], 2
je 0x10153257
cmp dword [esi + 0x18], 0
jne 0x10153257
cmp ecx, eax
jge 0x10153246
cmp dword [esi + 0x14], 0
jne 0x10153257
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
test al, al
jne 0x1015325f
mov dword [esi + 0x18], ecx
jmp 0x1015325f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
test byte [esp + 0x44], 2
je 0x10153272
cmp dword [esi + 0x14], ecx
je 0x10153272
test al, al
jne 0x10153272
mov dword [esi + 0x18], ecx
cmp dword [esi + 0x1c], ecx
lea eax, [esi + 0x14]
mov dword [esp + 0x1c], eax
sete dl
mov byte [esp + 0x2c], dl
mov edx, dword [esp + 0x40]
jne 0x1015328f
mov byte [esi + 0x68], 1
jmp 0x101532ca
cmp dword [eax], 0
jne 0x101532ca
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], edx
jge 0x101532ca
cmp dword [esp + 0x30], 0
mov dword [esp + 0x1c], eax
jne 0x101532ca
cmp dword [esi], 1
mov dword [esp + 0x1c], eax
jne 0x101532ca
test byte [esi + 0xc], 2
mov dword [esp + 0x1c], eax
jne 0x101532ca
mov dl, 1
mov dword [esp + 0x1c], eax
mov byte [esp + 0x2c], dl
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
jge 0x10153381
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
jge 0x101532f1
cmp byte [esp + 0x13], 0
je 0x10153381
mov ecx, dword [0x103f64e8]
mov eax, dword [ecx + 0x1c6c]
or eax, 0x18
mov dword [ecx + 0x1c6c], eax
add ecx, 0x1da0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
call fcn.1012d630
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
push 0
push 0
movups xmmword [esp + 0xd8], xmm0
call fcn.1011e830
mov esi, dword [0x103f64e8]
add esp, 8
dec dword [esi + 0x1da0]
cmp byte [esp + 0x34], 0
mov ecx, dword [esi + 0x1da8]
mov edx, dword [esi + 0x1da0]
mov ecx, dword [ecx + edx*4 - 4]
mov dword [esi + 0x1c6c], ecx
jne 0x10152f0e
mov al, byte [esp + 0x2c]
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret
cmp dword [eax], ecx
jne 0x1015338e
mov eax, dword [edi + 0x1be0]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x50]
movss xmm1, dword [edx + 0x18]
movss xmm0, dword [eax + 0x108]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0x10c]
mov eax, dword [edx + 4]
movss dword [esp + 0x48], xmm0
and eax, 0xc0
movss xmm0, dword [edx + 0x14]
mov edx, 4
mov dword [esp + 0x60], eax
jne 0x101533df
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x60]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x50]
xorps xmm2, xmm2
movss xmm6, dword [0x102c13d0]
addss xmm0, dword [esi + 0x28]
movss dword [esp + 0x20], xmm0
addss xmm1, xmm0
movss xmm5, dword [edx + esi + 0x28]
movss dword [ecx + 0x108], xmm0
addss xmm5, xmm2
movss dword [esp + 0xec], xmm0
movss dword [esp + 0x88], xmm1
movss dword [esp + 0xf4], xmm1
movss dword [esp + 0x58], xmm5
movaps xmm4, xmm5
movss dword [ecx + 0x10c], xmm5
movss dword [esp + 0xf0], xmm5
addss xmm4, dword [esp + 0x68]
movss dword [esp + 0x64], xmm4
movss dword [esp + 0xf8], xmm4
test eax, eax
jne 0x10153618
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm0
ja 0x10153475
comiss xmm1, dword [esi + 0x5c]
jbe 0x10153618
mov ecx, dword [0x103f64e8]
movaps xmm2, xmm0
movss xmm1, dword [esi + 0x5c]
maxss xmm2, xmm3
movaps xmm0, xmm5
mov byte [esp + 0x13], 1
subss xmm0, xmm6
movss dword [esp + 0x78], xmm1
mov eax, dword [ecx + 0x1c48]
movaps xmm5, xmm4
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x70], xmm2
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x1c48]
mov dword [esp + 0xcc], eax
movss dword [esp + 0x74], xmm0
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0xc8], eax
movups xmm3, xmmword [eax + 0x60]
comiss xmm3, xmm2
movaps xmmword [esp + 0xd0], xmm3
jbe 0x101534ef
movaps xmm2, xmm3
movss dword [esp + 0x70], xmm2
movss xmm3, dword [esp + 0xd4]
comiss xmm3, xmm0
jbe 0x10153506
movaps xmm0, xmm3
movss dword [esp + 0x74], xmm0
movss xmm3, dword [esp + 0xd8]
comiss xmm1, xmm3
movss dword [esp + 0x78], xmm1
jbe 0x10153523
movaps xmm1, xmm3
movss dword [esp + 0x78], xmm1
movss xmm3, dword [esp + 0xdc]
comiss xmm4, xmm3
jbe 0x1015353a
movaps xmm5, xmm3
movss dword [esp + 0x7c], xmm5
comiss xmm2, xmm1
jb 0x10153545
movss dword [esp + 0x78], xmm2
comiss xmm0, xmm5
jb 0x10153550
movss dword [esp + 0x7c], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esp + 0xc4], ecx
cmp edx, eax
jne 0x10153592
inc edx
mov dword [esp + 0x60], edx
test eax, eax
je 0x1015357b
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10153580
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1012e3d0
mov ecx, dword [esp + 0xc4]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0xc8]
movups xmmword [ecx + 0x60], xmm0
call fcn.10135da0
mov edx, dword [esp + 0xcc]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [esp + 0x50]
mov dword [edx + 0x268], eax
movss dword [edx + 0x26c], xmm0
movss dword [edx + 0x270], xmm1
movss dword [edx + 0x274], xmm2
movss xmm4, dword [esp + 0x64]
movss xmm1, dword [esp + 0x88]
movss xmm5, dword [esp + 0x58]
jmp 0x1015361d
mov byte [esp + 0x13], 0
subss xmm1, dword [esp + 0x20]
movss xmm0, dword [ecx + 0x120]
subss xmm4, xmm5
movss xmm7, dword [ecx + 0x124]
lea ecx, [esp + 0x88]
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x88], xmm1
movss xmm1, dword [edi + 0x15d4]
movss dword [esp + 0x8c], xmm4
call fcn.1011e700
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xec]
movss xmm0, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
push 0
push 0
movss dword [eax + 0x120], xmm0
movss dword [eax + 0x124], xmm7
call fcn.1011e830
add esp, 8
test al, al
jne 0x101536db
cmp byte [esp + 0x13], al
je 0x101536a3
call fcn.10116e50
mov eax, dword [esp + 0x50]
movss xmm0, dword [esp + 0x54]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [eax + 0x10c], xmm0
mov al, byte [esp + 0x2c]
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
movzx eax, al
inc eax
shl eax, 4
or eax, 0x1000
cmp byte [edi + 0x1f5c], 0
mov dword [esp + 0x20], eax
je 0x1015374c
cmp dword [edi + 0x1f7c], 0xffffffff
je 0x1015373d
lea ecx, [edi + 0x1f80]
mov eax, str._IMWINDOW
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10153730
test dl, dl
je 0x1015372c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10153730
add eax, 2
add ecx, 2
test dl, dl
jne 0x10153710
xor eax, eax
jmp 0x10153735
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [esp + 0x20]
je 0x1015374c
mov ecx, dword [esp + 0x24]
or eax, 0x200
mov dword [esp + 0x24], ecx
jmp 0x10153750
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x1f]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x22]
push eax
lea ecx, [esp + 0xf8]
call fcn.10140b80
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x4f], al
test al, al
je 0x10153788
cmp byte [esp + 0x34], 0
jne 0x10153788
mov dword [esi + 0x18], ecx
cmp dword [edi + 0x1c70], ecx
sete al
or byte [esp + 0x1a], al
cmp byte [esp + 0x1b], 0
je 0x101537bb
mov eax, dword [esp + 0x30]
test eax, eax
je 0x101537bb
cmp dword [edi + 0x1c84], ecx
jne 0x101537c1
cmp byte [edi + 0x1c90], 0
je 0x101537bb
mov dword [edi + 0x1cb0], eax
cmp dword [edi + 0x1c84], ecx
mov edx, dword [0x103f64e8]
je 0x101537f3
mov eax, dword [edx + 0x1c48]
mov eax, dword [eax + 0x154]
cmp dword [edx + 0x1c70], eax
jne 0x101537e4
mov byte [edx + 0x1c78], 1
cmp dword [edx + 0x1c84], eax
jne 0x101537f3
mov byte [edx + 0x1c91], 1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10153838
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x10153838
cmp dword [eax + 0x10], 0
jne 0x10153838
test dword [eax + 8], 0x400
jne 0x10153838
cmp dword [eax + 0x1c], 1
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
jne 0x10153838
mov edx, dword [esp + 0x20]
mov al, 1
mov dword [esp + 0x24], edx
mov edx, dword [0x103f64e8]
jmp 0x1015383a
xor al, al
cmp byte [esp + 0x1b], 0
je 0x10153b9f
xorps xmm3, xmm3
test al, al
je 0x10153875
cmp byte [edx + 0xec], 0
je 0x10153875
movss xmm0, dword [edx + 0x44c]
comiss xmm0, xmm3
setae al
test al, al
je 0x10153875
mov ecx, dword [esp + 0x30]
call fcn.10114770
jmp 0x10153b9f
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
jl 0x10153b9f
cmp byte [edx + 0xec], 0
je 0x10153b9f
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x10153b9f
xor eax, eax
xorps xmm5, xmm5
cmp byte [edi + 0x1f5c], al
jne 0x10153961
test byte [esi + 0xc], 1
jne 0x101538d0
cmp dword [esp + 0x30], eax
je 0x10153b9f
movss xmm1, dword [edi + 0x378]
comiss xmm3, xmm1
jbe 0x10153919
movss xmm0, dword [edi + 0xe4]
movss xmm2, dword [esp + 0xec]
comiss xmm2, xmm0
jbe 0x10153919
push dword [edi + 0xe8]
mov edx, dword [esp + 0x2c]
movaps xmm5, xmm2
push dword [edi + 0xe4]
mov ecx, esi
subss xmm5, xmm0
call fcn.10152830
add esp, 8
or eax, 0xffffffff
jmp 0x1015395a
comiss xmm1, xmm3
jbe 0x10153961
movss xmm0, dword [edi + 0xe4]
movss xmm1, dword [esp + 0xf4]
comiss xmm0, xmm1
jbe 0x10153961
push dword [edi + 0xe8]
mov edx, dword [esp + 0x2c]
movaps xmm5, xmm0
push dword [edi + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.10152830
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x14]
xorps xmm3, xmm3
mov edx, dword [esp + 0x30]
test edx, edx
je 0x10153b9f
test byte [edx + 8], 4
jne 0x10153b9f
cmp byte [edi + 0x1f5c], 0
movss xmm6, dword [esp + 0xf0]
je 0x10153995
cmp dword [edi + 0x1f74], ecx
je 0x10153a70
movss xmm2, dword [edi + 0x19d8]
xor cl, cl
movss xmm1, dword [edi + 0x424]
movaps xmm0, xmm2
andps xmm1, xmmword [0x102c1d20]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x102c1490]
subss xmm1, xmm0
mulss xmm1, dword [0x102c133c]
comiss xmm3, xmm1
ja 0x101539e0
movaps xmm3, xmm2
mulss xmm3, dword [0x102c1508]
minss xmm3, xmm1
movss xmm0, dword [edi + 0xe8]
movaps xmm1, xmm6
mulss xmm2, dword [0x102c1420]
subss xmm1, xmm0
movzx ecx, cl
mov edx, 1
subss xmm0, dword [esp + 0xf8]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae ecx, edx
comiss xmm5, xmm4
mov dword [esp + 0x3c], ecx
jbe 0x10153a68
test eax, eax
jns 0x10153a40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x10153a62
jle 0x10153a68
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
mov eax, dword [esi]
sar edx, 4
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
je 0x10153a70
mov ecx, dword [esp + 0x3c]
test cl, cl
je 0x10153b9f
mov eax, dword [esp + 0x30]
lea edx, [edi + 0x2fc4]
mov ecx, dword [edx + 4]
mov dword [esp + 0xac], eax
mov eax, dword [edx]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0xa4], 0x3f000000
mov byte [esp + 0xa8], 0
mov dword [esp + 0x90], 2
mov dword [esp + 0x58], eax
cmp eax, ecx
jne 0x10153b11
test ecx, ecx
je 0x10153ae7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10153aec
mov eax, 8
mov ecx, dword [esp + 0x58]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x2fc4]
call fcn.1012dff0
movss xmm6, dword [esp + 0xf0]
lea edx, [edi + 0x2fc4]
mov eax, dword [edx]
movups xmm0, xmmword [esp + 0x90]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 8]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
mov eax, dword [esp + 0x30]
inc dword [edx]
mov edx, eax
mov dword [edi + 0x1c58], eax
mov ecx, dword [eax + 0x88]
call fcn.10114050
mov eax, dword [edi + 0x1c58]
movss xmm0, dword [edi + 0x1ca8]
movss xmm1, dword [eax + 0x44]
subss xmm1, dword [esp + 0xec]
movss xmm2, dword [eax + 0x48]
subss xmm2, xmm6
mov byte [edi + 0x1c92], 1
subss xmm0, xmm1
movss dword [edi + 0x1ca8], xmm0
movss xmm0, dword [edi + 0x1cac]
subss xmm0, xmm2
movss dword [edi + 0x1cac], xmm0
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x3c], eax
jne 0x10153be9
cmp byte [esp + 0x1a], 0
jne 0x10153be9
cmp byte [esp + 0x2c], 0
je 0x10153bd5
mov eax, dword [esp + 0x6c]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x10153bee
cmp byte [esp + 0x6c], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x10153bee
mov ecx, 0x22
movss xmm1, dword [0x102c13d0]
call fcn.10112760
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xec]
push eax
push dword [esp + 0x48]
call fcn.10153f00
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xf4]
push 1
call fcn.101134e0
add esp, 0xc
mov ecx, 8
call fcn.10114230
test al, al
je 0x10153c67
mov ecx, dword [0x103f64e8]
movss xmm0, dword [ecx + 0x400]
ucomiss xmm0, dword [0x102c1298]
lahf
test ah, 0x44
jnp 0x10153c57
cmp byte [ecx + 0x3eb], 0
je 0x10153c67
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x14]
jne 0x10153c6b
mov dword [esi + 0x18], eax
jmp 0x10153c6b
mov eax, dword [esp + 0x14]
test byte [esi + 0xc], 8
je 0x10153c76
or dword [esp + 0x44], 4
cmp dword [esp + 0x5c], 0
je 0x10153cb3
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.10111d40
mov ecx, eax
add esp, 4
mov eax, dword [0x103f64e8]
cmp dword [eax + 0x1c84], ecx
jne 0x10153ca2
mov dword [eax + 0x1c88], ecx
cmp dword [eax + 0x1cbc], ecx
jne 0x10153cb5
mov byte [eax + 0x1cc0], 1
jmp 0x10153cb5
xor ecx, ecx
push dword [esi + 0x78]
lea eax, [esp + 0x52]
push dword [esi + 0x74]
lea edx, [esp + 0xf4]
push eax
lea eax, [esp + 0x26]
push eax
push dword [esp + 0x3c]
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
push dword [esp + 0x54]
push dword [esp + 0x64]
call fcn.101542c0
add esp, 0x24
cmp byte [esp + 0x1a], 0
je 0x10153d34
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10153d34
mov ecx, dword [esp + 0x28]
mov byte [eax], 0
test byte [ecx + 4], 1
jne 0x10153d2a
mov byte [ecx + 0x26], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [ecx]
jne 0x10153d34
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [eax], 0
jmp 0x10153d34
mov eax, dword [ecx]
cmp dword [esi + 0x1c], eax
je 0x10153d34
mov dword [esi + 0x18], eax
cmp byte [esp + 0x13], 0
je 0x10153d40
call fcn.10116e50
cmp byte [esp + 0x4e], 0
mov eax, dword [esp + 0x50]
movss xmm0, dword [esp + 0x54]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [eax + 0x10c], xmm0
je 0x10153dd8
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x1c70], eax
jne 0x10153dd8
cmp byte [esp + 0x1b], 0
jne 0x10153dd8
movss xmm0, dword [edi + 0x1c80]
comiss xmm0, dword [edi + 0x2f84]
jbe 0x10153dd8
xor ecx, ecx
call fcn.10114230
test al, al
je 0x10153dd8
test byte [esi + 0xc], 0x20
jne 0x10153dd8
mov eax, dword [esp + 0x28]
test byte [eax + 4], 0x10
jne 0x10153dd8
mov eax, dword [esp + 0x38]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10153dc7
mov dl, byte [ecx]
test dl, dl
je 0x10153dc7
cmp dl, 0x23
jne 0x10153dc1
cmp byte [ecx + 1], dl
je 0x10153dc7
inc ecx
cmp ecx, 0xffffffff
jb 0x10153db1
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.1011f840
add esp, 0xc
cmp byte [esp + 0x34], 0
movzx ecx, byte [esp + 0x4f]
movzx eax, byte [esp + 0x2c]
cmovne eax, ecx
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret