Function at 0x100189a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010202d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10167080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x10018d95
mov eax, dword [0x10167e0c]
push dword [eax + 0x4c]
push dword [eax + 0x48]
push dword [esi + 4]
call dword [0x10167edc]
add esp, 0xc
test al, al
je 0x10018d95
mov ecx, dword [0x10167e0c]
cmp byte [ecx + 0x50], 0
je 0x10018a11
mov ecx, dword [ecx + 0x4c]
mov eax, dword [esi + 4]
cmp byte [ecx + eax], 0
jne 0x10018d95
xor ebx, ebx
cmp dword [esi + 0xc], ebx
push str.con_inputHintBoxColor
setne bl
lea ebx, [ebx*2 + 2]
call fcn.100658f0
add eax, 0xc
push ebx
push eax
call fcn.10017290
mov eax, dword [0xc5ae94]
add esp, 0xc
movaps xmm0, xmmword [0x10151e40]
mov dword [ebp - 0x58], eax
mov eax, dword [0x10167e0c]
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x48], 0x3f800000
mov dword [ebp - 0x44], 0x3f800000
movss xmm0, dword [eax + 0x54]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [eax + 0x60]
addss xmm0, dword [eax + 0x58]
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
movss dword [ebp - 0x4c], xmm0
push 0
sub esp, 0x14
fld dword [ebp - 0x40]
fstp dword [esp + 0x10]
fld dword [ebp - 0x44]
fstp dword [esp + 0xc]
fld dword [ebp - 0x48]
fstp dword [esp + 8]
fld dword [ebp - 0x4c]
fstp dword [esp + 4]
fld dword [ebp - 0x50]
fstp dword [esp]
push dword [ebp - 0x58]
push accept
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
call dword [0x101493b8]
add esp, 0x24
mov eax, dword [0x10167e0c]
mov dword [ebp - 0x50], 0x3f800000
mov dword [ebp - 0x54], 0x3f800000
mov dword [ebp - 0x44], str.__command
movss xmm0, dword [eax + 0x54]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 0x60]
addss xmm0, xmm0
mov dword [ebp - 0x3c], 0
addss xmm0, dword [eax + 0x58]
mov eax, dword [0x10167e08]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x4c], xmm0
push 0
sub esp, 0x14
fld dword [ebp - 0x3c]
fstp dword [esp + 0x10]
fld dword [ebp - 0x54]
fstp dword [esp + 0xc]
fld dword [ebp - 0x50]
fstp dword [esp + 8]
fld dword [ebp - 0x4c]
fstp dword [esp + 4]
fld dword [ebp - 0x48]
fstp dword [esp]
push dword [ebp - 0x58]
push accept
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
call dword [0x101493b8]
add esp, 0x24
mov eax, dword [esi + 8]
test eax, eax
je 0x10018c05
mov dword [ebp - 0x44], eax
mov eax, dword [0x10167e04]
mov dword [ebp - 0x40], eax
mov eax, dword [0x10167e0c]
movss xmm0, dword [eax + 0x60]
addss xmm0, dword [eax + 0x58]
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
movss dword [ebp - 0x4c], xmm0
push dword [ebp - 0x58]
push 0x100
mov eax, dword [ebp - 0x3c]
call dword [0x10149398]
add esp, 8
mov ecx, dword [0x10167e0c]
mov dword [ebp - 0x50], 0x3f800000
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x54], 0x3f800000
mov dword [ebp - 0x3c], 0
movss xmm1, dword [ecx + 0x54]
addss xmm1, dword [0x10151af8]
addss xmm1, xmm0
movss dword [ebp - 0x48], xmm1
push 0
sub esp, 0x14
fld dword [ebp - 0x3c]
fstp dword [esp + 0x10]
fld dword [ebp - 0x54]
fstp dword [esp + 0xc]
fld dword [ebp - 0x50]
fstp dword [esp + 8]
fld dword [ebp - 0x4c]
fstp dword [esp + 4]
fld dword [ebp - 0x48]
fstp dword [esp]
push dword [ebp - 0x58]
push accept
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
call dword [0x101493b8]
add esp, 0x24
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10018c94
mov eax, dword [0x10167e0c]
mov dword [ebp - 0x50], 0x3f800000
mov dword [ebp - 0x54], 0x3f800000
mov dword [ebp - 0x44], ecx
movss xmm0, dword [eax + 0x54]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 0x60]
mulss xmm0, dword [0x10151ac0]
mov dword [ebp - 0x3c], 0
addss xmm0, dword [eax + 0x58]
mov eax, dword [0x10167e04]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x4c], xmm0
push 0
sub esp, 0x14
fld dword [ebp - 0x3c]
fstp dword [esp + 0x10]
fld dword [ebp - 0x54]
fstp dword [esp + 0xc]
fld dword [ebp - 0x50]
fstp dword [esp + 8]
fld dword [ebp - 0x4c]
fstp dword [esp + 4]
fld dword [ebp - 0x48]
fstp dword [esp]
push dword [ebp - 0x58]
push accept
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
call dword [0x101493b8]
add esp, 0x24
mov ecx, dword [0x10167e0c]
movss xmm0, dword [ecx + 0x60]
addss xmm0, dword [ecx + 0x58]
mov eax, dword [ecx + 0x5c]
mov dword [ecx + 0x54], eax
movss dword [ecx + 0x58], xmm0
mov eax, dword [0x1410b40]
cmp dword [eax*4 + 0x1410b84], 2
jne 0x10018d95
mov eax, dword [esi + 4]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x3c], eax
pushal
lea edi, [ebp - 0x5c]
mov esi, dword [ebp - 0x3c]
call dword [0x1013ed38]
mov dword [ebp - 0x60], eax
popal
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x10018d95
mov eax, dword [0x10167e10]
cmp byte [eax + 0x10244], 0
movss xmm0, dword [eax + 0x10258]
movss dword [ebp - 0x3c], xmm0
jne 0x10018d16
addss xmm0, dword [0x1021acf8]
movss dword [eax + 0x10258], xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_void____cdecl___char_const____int___void__char_const____int_.0
mov dword [ebp - 0x34], 0x45fc30
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x64], ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1001bb30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10018d70
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10018d83
push dword [eax - 4]
call dword [0x10167ee0]
add esp, 4
mov eax, dword [0x10167e10]
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0x10258], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret