Function at 0x100ac820
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6350
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x100db040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10163c7c]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
test al, 1
jne 0x100ac8b8
or eax, 1
mov dword [0x10163c7c], eax
mov eax, dword [0x1015ec68]
mov dword [0x10163c80], eax
mov dword [0x10163c84], 0
mov dword [0x10163c88], 0
mov dword [0x10163c8c], 0
push 0x30
lea eax, [ebp - 0x16c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x120]
xorps xmm0, xmm0
movups xmmword [ebp - 0x190], xmm0
push 0x104
push eax
push str.USERNAME
movups xmmword [ebp - 0x180], xmm0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x124], 0
movups xmmword [ebp - 0x138], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ac924
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.1002cbe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
cmp dword [ebp - 0x124], 0xf
mov edi, dword [ebp - 0x138]
mov esi, dword [ebp - 0x128]
cmova ecx, edi
cmp esi, 4
jne 0x100acd79
mov edx, str.User
sub esi, esi
jb 0x100ac986
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100ac98b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100ac975
cmp esi, 0xfffffffc
je 0x100ac9bf
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100ac9b8
cmp esi, 0xfffffffd
je 0x100ac9bf
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100ac9b8
cmp esi, 0xfffffffe
je 0x100ac9bf
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100ac9b8
cmp esi, 0xffffffff
je 0x100ac9bf
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100ac9bf
sbb eax, eax
or eax, 1
jmp 0x100ac9c1
xor eax, eax
test eax, eax
jne 0x100acd79
mov ecx, dword [0x1015ea84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100ad26a
mov ecx, dword [0x100db2a8]
test ecx, ecx
je 0x100ac9ff
mov eax, dword [0x1015ece0]
add eax, 0xffffffcb
xor eax, 0xe94c9666
cmp dword [eax + ecx], 0
jne 0x100ac9ff
mov al, 1
jmp 0x100aca01
xor al, al
cmp byte [0x10163920], 0
je 0x100acaac
test al, al
je 0x100aca43
mov ecx, dword [0x1015eae8]
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
test eax, eax
jne 0x100aca3d
mov ecx, dword [0x1015eae8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x8c]
call eax
jmp 0x100acae1
mov ecx, dword [0x100db2a8]
mov eax, dword [0x1015ed4c]
add eax, 0xffffffb0
xor eax, 0xe94c9681
cmp dword [eax + ecx], 4
jne 0x100acae1
mov ecx, dword [0x1015eae8]
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
test eax, eax
je 0x100aca8f
mov ecx, dword [0x1015eae8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
call eax
mov eax, dword [0x1015eae8]
mov dword [eax + 0xb0], 0
mov ecx, dword [0x1015ed4c]
mov eax, dword [0x100db2a8]
add ecx, 0xffffffb0
xor ecx, 0xe94c9681
mov dword [ecx + eax], 5
jmp 0x100acae1
mov ecx, dword [0x1015eae8]
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
test eax, eax
je 0x100acae1
mov ecx, dword [0x1015eae8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
call eax
mov eax, dword [0x1015eae8]
mov dword [eax + 0xb0], 0
mov ecx, dword [0x1015eae8]
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
test eax, eax
je 0x100ad26a
mov ecx, dword [0x1015ea84]
lea edx, [ebp - 0x19c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x19c]
mulss xmm0, dword [0x100cfd34]
movss dword [ebp - 0x1a8], xmm0
call fcn.10024a40
movss dword [ebp - 0x1ac], xmm0
movss xmm0, dword [ebp - 0x198]
mulss xmm0, dword [0x100cfd34]
movss dword [ebp - 0x1b0], xmm0
call fcn.10024a40
mulss xmm0, dword [ebp - 0x1ac]
movss dword [ebp - 0x1a4], xmm0
movss xmm0, dword [ebp - 0x1b0]
call fcn.10024a70
movss xmm3, dword [0x100ec8dc]
movaps xmm2, xmm0
movss xmm1, dword [ebp - 0x1a4]
mulss xmm2, dword [ebp - 0x1ac]
mov eax, dword [0x100db2a8]
movss xmm0, dword [0x100db2b8]
mulss xmm1, xmm3
mov dword [0x10163c84], eax
mulss xmm2, xmm3
subss xmm0, xmm1
movss dword [ebp - 0x194], xmm3
movss xmm1, dword [0x100db2bc]
subss xmm1, xmm2
subss xmm0, dword [0x100db2b8]
subss xmm1, dword [0x100db2bc]
movss dword [ebp - 0x1a4], xmm0
movss xmm0, dword [ebp - 0x1a8]
movss dword [ebp - 0x1b0], xmm1
call fcn.10024a70
mulss xmm0, dword [0x100ec8dc]
mov dword [ebp - 0x1e4], 0
movss xmm3, dword [0x100db2c0]
movss xmm2, dword [ebp - 0x1a4]
movss xmm1, dword [ebp - 0x1b0]
addss xmm0, xmm3
movss dword [ebp - 0x1ec], xmm1
movss dword [ebp - 0x1f0], xmm2
mulss xmm1, xmm1
mov dword [ebp - 0x1c0], 0
subss xmm0, xmm3
mulss xmm2, xmm2
mov byte [ebp - 0x1bb], 1
addss xmm1, xmm2
movss dword [ebp - 0x1e8], xmm0
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100acc6a
mov byte [ebp - 0x1bb], 0
movss xmm0, dword [0x100db2b8]
lea edx, [ebp - 0x190]
mov ecx, dword [0x1015eaa0]
movss dword [ebp - 0x200], xmm0
movss xmm0, dword [0x100db2bc]
push edx
mov dword [ebp - 0x1c4], 0
lea edx, [ebp - 0x200]
mov dword [ebp - 0x1d0], 0x41800000
mov dword [ebp - 0x1cc], 0x41800000
mov dword [ebp - 0x1c8], 0x41800000
mov byte [ebp - 0x1bc], 0
mov dword [ebp - 0x1d4], 0
movss dword [ebp - 0x1fc], xmm0
movss dword [ebp - 0x1f8], xmm3
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov eax, dword [ecx]
push 0x10163c80
push 0x2000b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm2, dword [ebp - 0x164]
xorps xmm0, xmm0
minss xmm2, dword [0x100cfe18]
mov eax, dword [0x1015eae8]
movss xmm1, dword [ebp - 0x198]
maxss xmm2, xmm0
movss xmm0, dword [ebp - 0x19c]
movss dword [ebp - 0x164], xmm2
mulss xmm2, dword [ebp - 0x194]
movss dword [ebp - 0x194], xmm2
movss dword [eax + 0xa8], xmm0
movss dword [eax + 0xac], xmm1
movss dword [eax + 0xb0], xmm2
jmp 0x100ad26a
mov ecx, dword [0x1015ea84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100ad26a
mov ecx, dword [0x100db2a8]
test ecx, ecx
je 0x100acdb2
mov eax, dword [0x1015ece0]
add eax, 0xffffffcb
mov byte [ebp - 0x19d], 1
xor eax, 0xe94c9666
cmp dword [eax + ecx], 0
je 0x100acdb9
mov byte [ebp - 0x19d], 0
mov ecx, dword [0x1015ea84]
lea edx, [ebp - 0x19c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x19c]
mulss xmm0, dword [0x100cfd34]
movss dword [ebp - 0x1b0], xmm0
call fcn.10024a40
movss dword [ebp - 0x1ac], xmm0
movss xmm0, dword [ebp - 0x198]
mulss xmm0, dword [0x100cfd34]
movss dword [ebp - 0x1a8], xmm0
call fcn.10024a40
mulss xmm0, dword [ebp - 0x1ac]
movss dword [ebp - 0x1a4], xmm0
movss xmm0, dword [ebp - 0x1a8]
call fcn.10024a70
movss xmm3, dword [0x100ec8dc]
movaps xmm2, xmm0
movss xmm1, dword [ebp - 0x1a4]
mulss xmm2, dword [ebp - 0x1ac]
mov eax, dword [0x100db2a8]
movss xmm0, dword [0x100db2b8]
mulss xmm1, xmm3
mov dword [0x10163c84], eax
mulss xmm2, xmm3
subss xmm0, xmm1
movss dword [ebp - 0x194], xmm3
movss xmm1, dword [0x100db2bc]
subss xmm1, xmm2
subss xmm0, dword [0x100db2b8]
subss xmm1, dword [0x100db2bc]
movss dword [ebp - 0x1a8], xmm0
movss xmm0, dword [ebp - 0x1b0]
movss dword [ebp - 0x1a4], xmm1
call fcn.10024a70
mulss xmm0, dword [0x100ec8dc]
mov dword [ebp - 0x1e4], 0
movss xmm3, dword [0x100db2c0]
movss xmm2, dword [ebp - 0x1a8]
movss xmm1, dword [ebp - 0x1a4]
addss xmm0, xmm3
movss dword [ebp - 0x1ec], xmm1
movss dword [ebp - 0x1f0], xmm2
mulss xmm1, xmm1
mov dword [ebp - 0x1c0], 0
subss xmm0, xmm3
mulss xmm2, xmm2
mov byte [ebp - 0x1bb], 1
addss xmm1, xmm2
movss dword [ebp - 0x1e8], xmm0
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100acf28
mov byte [ebp - 0x1bb], 0
movss xmm0, dword [0x100db2b8]
lea edx, [ebp - 0x190]
mov ecx, dword [0x1015eaa0]
movss dword [ebp - 0x200], xmm0
movss xmm0, dword [0x100db2bc]
push edx
mov dword [ebp - 0x1c4], 0
lea edx, [ebp - 0x200]
mov dword [ebp - 0x1d0], 0x41800000
mov dword [ebp - 0x1cc], 0x41800000
mov dword [ebp - 0x1c8], 0x41800000
mov byte [ebp - 0x1bc], 0
mov dword [ebp - 0x1d4], 0
movss dword [ebp - 0x1fc], xmm0
movss dword [ebp - 0x1f8], xmm3
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov eax, dword [ecx]
push 0x10163c80
push 0x2000b
push edx
mov eax, dword [eax + 0x14]
call eax
cmp byte [0x10163920], 0
xorps xmm4, xmm4
movss xmm3, dword [ebp - 0x164]
mov esi, 0x10163c98
movss xmm5, dword [0x100cfe18]
minss xmm3, xmm5
maxss xmm3, xmm4
movss dword [ebp - 0x164], xmm3
mulss xmm3, dword [ebp - 0x194]
movss dword [ebp - 0x194], xmm3
je 0x100ad04b
cmp byte [ebp - 0x19d], 0
je 0x100ad04b
mov edx, dword [0x1015eae8]
mov byte [0x10163de4], 0
cmp byte [edx + 0xa5], 0
jne 0x100ad12e
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x8c]
call eax
jmp 0x100ad10f
mov eax, dword [0x1015eae4]
lea ecx, [ebp - 0x1a8]
movss xmm2, dword [0x10163c98]
movaps xmm0, xmm2
mov dword [ebp - 0x1a4], 0x3f800000
mulss xmm0, dword [0x100cfd2c]
mov dword [ebp - 0x1a8], 0
movss xmm1, dword [eax + 0x14]
lea eax, [ebp - 0x1a4]
mulss xmm1, dword [0x100cff04]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x19c]
subss xmm2, xmm1
movss xmm1, dword [ebp - 0x198]
comiss xmm2, xmm4
movss dword [0x10163c98], xmm2
cmovae ecx, esi
comiss xmm5, xmm2
cmovae eax, ecx
movss xmm2, dword [eax]
mov eax, dword [0x1015eae8]
movss dword [0x10163c98], xmm2
mulss xmm2, xmm3
movss dword [eax + 0xa8], xmm0
movss dword [eax + 0xac], xmm1
movss dword [eax + 0xb0], xmm2
movss xmm0, dword [0x10163c98]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x100ad108
mov eax, dword [0x1015eae8]
mov byte [eax + 0xa5], 0
jmp 0x100ad11b
mov byte [0x10163de4], 1
mov eax, dword [0x1015eae8]
mov byte [eax + 0xa5], 1
mov edx, dword [0x1015eae8]
cmp byte [edx + 0xa5], 0
je 0x100ad1fb
cmp byte [0x10163de4], 0
jne 0x100ad1fb
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x8c]
call eax
mov eax, dword [0x1015eae4]
lea ecx, [ebp - 0x1a8]
movss xmm0, dword [0x10163c98]
mulss xmm0, dword [0x100cfd2c]
mov dword [ebp - 0x1a4], 0x3f800000
movss xmm2, dword [eax + 0x14]
lea eax, [ebp - 0x1a4]
mulss xmm2, dword [0x100cff04]
mov dword [ebp - 0x1a8], 0
movss xmm1, dword [ebp - 0x198]
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, dword [0x10163c98]
comiss xmm2, xmm0
movss xmm0, dword [0x100cfe18]
movss dword [0x10163c98], xmm2
cmovae ecx, esi
comiss xmm0, xmm2
movss xmm0, dword [ebp - 0x19c]
cmovae eax, ecx
movss xmm2, dword [eax]
mov eax, dword [0x1015eae8]
movss dword [0x10163c98], xmm2
mulss xmm2, dword [ebp - 0x194]
movss dword [eax + 0xa8], xmm0
movss dword [eax + 0xac], xmm1
movss dword [eax + 0xb0], xmm2
mov edx, dword [0x1015eae8]
mov ecx, dword [0x1015ed4c]
mov eax, dword [0x100db2a8]
add ecx, 0xffffffb0
xor ecx, 0xe94c9681
cmp dword [ecx + eax], 4
jne 0x100ad26a
cmp byte [ebp - 0x19d], 0
jne 0x100ad26a
mov eax, dword [edx]
mov ecx, edx
push 0xffffffffffffffff
mov eax, dword [eax + 0x80]
call eax
test eax, eax
je 0x100ad24f
mov ecx, dword [0x1015eae8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
call eax
mov eax, dword [0x1015eae8]
mov dword [eax + 0xb0], 0
mov ecx, dword [0x1015ed4c]
mov eax, dword [0x100db2a8]
add ecx, 0xffffffb0
xor ecx, 0xe94c9681
mov dword [ecx + eax], 5
mov eax, dword [ebp - 0x124]
cmp eax, 0xf
jbe 0x100ad2a2
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100ad298
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ad298
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.100bb6e4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bb1b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret