Function at 0x140004580
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x1350]
mov eax, 0x1450
call fcn.140156570
sub rsp, rax
movsxd rax, dword [0x1401ba7d4]
mov edi, ecx
imul r8, rax, 0x38
movaps xmmword [rsp + 0x1440], xmm6
mov rax, qword [0x140175020]
test byte [r8 + rax + 0x18], 0x10
je 0x1400045ea
mov r8, qword [r8 + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
movzx r8d, byte [0x1401b9251]
lea rcx, str.dvconChildCompleteCommand_status__d___d__n
mov edx, edi
call fcn.140001fb0
cmp byte [0x1401b9470], 0
je 0x1400045ff
lea rcx, [0x1401b9470]
call fcn.14000d3d0
movss xmm0, dword [0x1401758c8]
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov rbx, 0xffffffffffffffff
jp 0x14000461c
je 0x14000480e
comiss xmm6, xmm0
jbe 0x14000465c
lea rcx, [0x140177fc0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000464d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
comiss xmm6, xmm0
movss dword [0x1401758c8], xmm0
jbe 0x14000465c
mov dword [0x1401758c8], 0
jmp 0x14000480e
comiss xmm0, xmm6
jbe 0x14000480e
movsxd rax, dword [0x1401ba7d4]
imul r8, rax, 0x38
mov rax, qword [0x140175020]
mov qword [rsp + 0x1478], rsi
mov esi, dword [0x1401b98e4]
mov qword [rsp + 0x1480], r14
test byte [r8 + rax + 0x18], 0x10
je 0x1400046d0
mov r8, qword [r8 + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
movss xmm1, dword [0x1401758c8]
lea rcx, str.PVIEW_COMPLETE_SLEEP_set_to__g_n
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.140001fb0
movss xmm0, dword [0x1401758c8]
mov eax, dword [0x1401b9414]
lea r14, str.Complete_Sleep
cvttss2si r8d, xmm0
mov dword [0x14017685c], ebx
mov dword [0x1401768ac], ebx
inc r8d
mov dword [0x1401b98e4], r8d
cmp eax, 2
jne 0x140004748
mov rdx, rbx
inc rdx
cmp byte [r14 + rdx], 0
jne 0x140004700
mov word [rsp + 0x20], 0x5301
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r14]
mov byte [rsp + rcx + 0x22], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004720
movsxd rax, edx
lea rcx, [rsp + 0x20]
add edx, 3
mov byte [rsp + rax + 0x22], 0xa
call fcn.140009800
jmp 0x1400047a7
cmp eax, 3
jne 0x1400047a7
mov dword [reloc.WS2_32.dll_accept], r8d
test r8d, r8d
je 0x1400047a7
mov r9, r14
lea rdx, str._TIME___d__s
lea rcx, [rsp + 0x20]
call fcn.140002a20
cmp dword [0x1401b9894], 0x320
jl 0x140004783
movsxd rcx, eax
inc eax
mov byte [rsp + rcx + 0x20], 0xa
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140009800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
imul ecx, dword [reloc.WS2_32.dll_accept], 0x1f4
add eax, ecx
mov dword [0x1401b98dc], eax
mov rdx, r14
lea rcx, str._s_:
call fcn.140002310
movss xmm0, dword [0x1401758c8]
cvtps2pd xmm0, xmm0
call fcn.140022310
mov eax, dword [0x1401b9414]
mov r14, qword [rsp + 0x1480]
mov dword [0x1401b98e4], esi
mov rsi, qword [rsp + 0x1478]
cmp eax, 2
jne 0x1400047f8
lea edx, [rax + 1]
lea rcx, [0x140176a8c]
call fcn.140009800
jmp 0x140004802
cmp eax, 3
jne 0x140004802
call fcn.140008a90
lea rcx, [0x140178150]
call fcn.140001fb0
movaps xmm6, xmmword [rsp + 0x1440]
cmp edi, ebx
jne 0x140004820
inc dword [0x1401b98d0]
mov eax, dword [0x1401b9414]
cmp eax, 2
jne 0x14000485f
mov ecx, 0x45
mov word [rbp + 0x1370], 0x4601
cmp edi, ebx
mov byte [rbp + 0x1373], 0xa
mov eax, 0x53
cmove eax, ecx
lea edx, [rcx - 0x41]
mov byte [rbp + 0x1372], al
lea rcx, [rbp + 0x1370]
jmp 0x140004a35
cmp eax, 3
jne 0x140004a3a
mov rcx, qword [0x1401b9460]
cmp edi, ebx
je 0x140004895
test rcx, rcx
jne 0x140004895
lea r8, str.Output_file_name_has_not_been_specified_n
mov ecx, 0x32cc
lea edx, [rax - 2]
call fcn.140001480
mov rcx, qword [0x1401b9460]
mov edi, ebx
cmp byte [0x1401b9469], 1
jne 0x1400048da
mov eax, dword [0x140178058]
movups xmm0, xmmword [str._ERROR__TIM_Creation_Failed_n]
mov dword [rbp + 0x338], eax
movzx eax, byte [0x14017805c]
movsd xmm1, qword [0x140178050]
movaps xmmword [rbp + 0x320], xmm0
mov byte [rbp + 0x33c], al
movsd qword [rbp + 0x330], xmm1
jmp 0x1400049ea
cmp edi, ebx
jne 0x140004935
movsd xmm0, qword [str._ERROR_]
lea rcx, [rbp + 0x320]
movzx eax, byte [0x140178068]
dec rcx
movsd qword [rbp + 0x320], xmm0
mov byte [rbp + 0x328], al
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140004905
lea r8, [0x1401bcf40]
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140004920
jmp 0x1400049ea
cmp byte [0x1401b9872], 1
mov rax, qword [str._DONE_]
mov qword [rbp + 0x320], rax
jne 0x1400049c6
mov rcx, qword [0x1401b9448]
lea rdx, [rsp + 0x20]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004960
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140004976
lea r8, [0x140178078]
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140004990
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rbp + rcx + 0x327], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400049b0
jmp 0x1400049de
lea rdx, [rbp + 0x327]
sub rdx, rcx
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400049d0
lea rcx, [rbp + 0x327]
call fcn.140013be0
mov eax, dword [0x1401b925c]
mov dword [0x1401b9874], eax
lea rax, [rbp + 0x320]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140004a00
cmp dword [0x1401b9894], 0x320
jl 0x140004a2c
movsxd rax, ebx
cmp byte [rbp + rax + 0x31f], 0xa
je 0x140004a2c
mov byte [rbp + rax + 0x320], 0xa
inc ebx
mov edx, ebx
lea rcx, [rbp + 0x320]
call fcn.140009800
call fcn.14000c190
mov eax, dword [0x1401758e8]
inc dword [0x1401b98cc]
mov dword [0x1401758ec], eax
mov byte [0x1401b98a3], 0
mov byte [0x1401b93ba], 0
mov byte [0x1401b93bb], 0
mov byte [0x1401b98a4], 0
mov byte [0x1401b9468], 0
mov dword [0x1401b946c], 0
add rsp, 0x1450
pop rdi
pop rbx
pop rbp
ret