Function at 0x140038110
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x14010c4d8]
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je case.0x14003818c.3145735
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x20]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
sub eax, 0x300003
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x1e
ja case.0x14003818c.3145735
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x38410]
mov eax, dword [rcx + rax*4 + 0x383e8]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x28]
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
xor eax, eax
jmp 0x1400383df
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
sub eax, 0x300003
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x1e
ja case.0x1400381dd.3145739
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x38430]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xac8]
divsd xmm0, qword [0x1400d7270]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xae8]
divsd xmm0, qword [0x1400d7270]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xaf0]
divsd xmm0, qword [0x1400d7270]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xaf8]
divsd xmm0, qword [0x1400d7270]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xb00]
divsd xmm0, qword [0x1400d7270]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xb08]
divsd xmm0, qword [0x1400d7270]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xab0]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xaa8]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xad0]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xad8]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xac4]
and eax, 0x40
test eax, eax
je 0x14003834f
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xa98]
movsd qword [rsp + 0x38], xmm0
jmp 0x14003835d
movsd xmm0, qword [0x1400d7278]
movsd qword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x70]
movsd xmm0, qword [rsp + 0x38]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xac4]
and eax, 0x20
test eax, eax
je 0x140038396
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xaa0]
movsd qword [rsp + 0x40], xmm0
jmp 0x1400383a4
movsd xmm0, qword [0x1400d7278]
movsd qword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x70]
movsd xmm0, qword [rsp + 0x40]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov rax, qword [rsp + 0x60]
cvtsi2sd xmm0, qword [rax + 0xb10]
divsd xmm0, qword [0x1400d7270]
mov rax, qword [rsp + 0x70]
movsd qword [rax], xmm0
jmp 0x1400383dd
mov eax, 0x30
jmp 0x1400383df
xor eax, eax
add rsp, 0x50
pop rdi
ret