Function at 0x1400037a0
Capabilities:
Hash data using sha1
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3d0
movaps xmmword [rsp + 0x3c0], xmm6
mov rax, qword [0x1400522c0]
xor rax, rsp
mov qword [rsp + 0x3b8], rax
mov r13, rdx
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov r12d, 1
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x380], r15
xor r14d, r14d
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x38], 4
movsxd rcx, dword [r15 + 0xd8]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x140003839
cmp dword [rsp + 0x34], r14d
je 0x140003842
mov rcx, r15
call fcn.140003070
nop
mov edx, dword [r15 + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.140001b30
nop
lea rcx, [rsp + 0x70]
call fcn.140001750
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140001750
mov esi, ebx
shl rsi, 0x20
mov eax, eax
or rsi, rax
je 0x140003f92
lea rcx, str.Downloading_addresses..._r
call fcn.140002610
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [r15 + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x300], 0
mov dword [rsp + 0x308], 0
mov word [rsp + 0x30c], 0
mov byte [rsp + 0x30e], 0
xor edx, edx
mov dword [rsp + 0x30f], edx
mov byte [rsp + 0x313], dl
lea rdx, [rsp + 0x300]
call qword [rax + 8]
mov rcx, qword [r15 + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x300]
call qword [rax + reloc.WS2_32.dll_recv]
nop
cmp qword [rax + 0x18], 7
jbe 0x140003903
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.140006960
mov rax, qword [rsp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1cc], edx
mov rdx, qword [rsp + 0x318]
cmp rdx, 7
jbe 0x140003992
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000398d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000398d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400357cc
mov qword [rsp + 0x310], r14
mov qword [rsp + 0x318], 7
mov word [rsp + 0x300], r14w
mov rax, qword [rsp + 0x1d0]
movsxd rdx, dword [rax + 4]
lea rcx, [rsp + 0x1d0]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140003a3a
lea rdx, str.Could_not_open_file
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006220
mov rbx, rax
lea rcx, [r15 + 0x78]
call fcn.140006430
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
lea rdx, [rsp + 0x380]
mov rcx, rax
call r8
nop
mov rdx, rax
mov rcx, rbx
call fcn.140006440
lea rdx, [0x1400063f0]
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]
nop
lea rcx, [rsp + 0x380]
call fcn.140002d80
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2f0], r14
mov qword [rsp + 0x2f8], send
mov byte [rsp + 0x2e0], 0
mov byte [rsp + 0x20], 0
mov r9d, 0x100000
xor r8d, r8d
mov edx, r9d
lea rcx, [rsp + 0x2e0]
call fcn.140002050
xorps xmm0, xmm0
movups xmmword [rsp + 0x338], xmm0
mov qword [rsp + 0x348], r14
mov qword [rsp + 0x350], send
mov byte [rsp + 0x338], 0
mov dword [rsp + 0x320], 0x67452301
mov dword [rsp + 0x324], 0xefcdab89
mov dword [rsp + 0x328], 0x98badcfe
mov dword [rsp + 0x32c], 0x10325476
mov dword [rsp + 0x330], 0xc3d2e1f0
mov qword [rsp + 0x358], r14
xor r8d, r8d
lea rdx, [0x140046db1]
lea rcx, [rsp + 0x338]
call fcn.140005f20
nop
lea r15, [0x140046db8]
lea rbx, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
movsd xmm6, qword [0x140046f98]
mov rcx, qword [rsp + 0x2f0]
nop dword [rax + rax]
cmp r14, rsi
jae 0x140003e06
lea rax, [rcx + r14]
cmp rax, rsi
jbe 0x140003bef
mov rdi, rsi
sub rdi, r14
cmp rdi, rcx
ja 0x140003b6c
lea rax, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0xf
cmova rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2f0], rdi
mov byte [rax + rdi], 0
jmp 0x140003bf2
mov r15, rdi
sub r15, rcx
mov rdx, qword [rsp + 0x2f8]
mov rax, rdx
sub rax, rcx
cmp r15, rax
ja 0x140003bcb
lea rax, [r15 + rcx]
mov qword [rsp + 0x2f0], rax
lea rbx, [rsp + 0x2e0]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x2e0]
add rbx, rcx
mov r8, r15
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + r15], 0
lea rbx, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r15, [0x140046db8]
jmp 0x140003bf2
mov byte [rsp + 0x20], 0
mov r9, r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x2e0]
call fcn.140002050
lea r15, [0x140046db8]
jmp 0x140003bf2
mov rdi, rcx
lea rdx, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0xf
cmova rdx, qword [rsp + 0x2e0]
mov r8, rdi
lea rcx, [rsp + 0x70]
call fcn.140001950
lea rdx, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0xf
cmova rdx, qword [rsp + 0x2e0]
mov r8, rdi
lea rcx, [rsp + 0x1d0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0xe0], r15
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r12d, 4
mov dword [rsp + 0x30], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0xe0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0xe0], rbx
mov rax, qword [rsp + 0xe0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0xdc], edx
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0xf
cmova rdx, qword [rsp + 0x2e0]
mov r9d, 2
mov r8, qword [rsp + 0x2f0]
lea rcx, [rsp + 0xf0]
call fcn.14000bcf0
nop
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x320]
call fcn.1400096a0
nop
mov rax, qword [rsp + 0xe0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0xe0], rbx
mov rax, qword [rsp + 0xe0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0xdc], edx
lea rcx, [rsp + 0xf0]
call fcn.14000ba00
lea rcx, [rsp + 0xf8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xorps xmm1, xmm1
test r14, r14
js 0x140003d8a
cvtsi2sd xmm1, r14
jmp 0x140003da2
mov rcx, r14
shr rcx, 1
mov rax, r14
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
xorps xmm0, xmm0
test rsi, rsi
js 0x140003db1
cvtsi2sd xmm0, rsi
jmp 0x140003dc9
mov rcx, rsi
shr rcx, 1
mov rax, rsi
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, xmm6
movq rdx, xmm1
lea rcx, str.Downloading_addresses...__.1f_____r
call fcn.140002610
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [rsp + 0x2f0]
add r14, rcx
jmp 0x140003b20
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x320]
call fcn.1400098a0
mov r15, qword [rsp + 0x380]
mov rcx, qword [r15 + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x3a0]
call qword [rax + 8]
xor r14d, r14d
mov edi, r14d
lea ecx, [r14 + 0x29]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov ebx, r14d
nop dword [rax + rax]
movzx r8d, byte [rsp + rbx + 0x3a0]
movsxd rcx, edi
add rcx, rsi
lea rdx, str._.2x
call fcn.140002670
add edi, 2
inc rbx
cmp rbx, 0x14
jl 0x140003e50
mov byte [rsi + 0x28], r14b
mov rdx, rsi
lea rcx, str.Downloading_addresses..._100_____s__n
call fcn.140002610
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rsp + 0x350]
cmp rdx, 0xf
jbe 0x140003eda
inc rdx
mov rcx, qword [rsp + 0x338]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ed5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ed5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400357cc
mov qword [rsp + 0x348], r14
mov qword [rsp + 0x350], send
mov byte [rsp + 0x338], 0
mov r8, qword [rsp + 0x2f8]
cmp r8, 0xf
jbe 0x140003f19
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x2e0]
call fcn.140001f60
mov qword [rsp + 0x2f0], r14
mov qword [rsp + 0x2f8], send
mov byte [rsp + 0x2e0], 0
mov rax, qword [rsp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1cc], edx
lea rcx, [rsp + 0x1d8]
call fcn.140005730
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x278]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov ecx, 0x38
call fcn.140035790
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], send
mov byte [rax + 0x18], 0
mov qword [r13], rax
or r12d, 2
or r12d, 1
mov dword [rsp + 0x30], r12d
mov rcx, qword [rsp + 0x90]
cmp rcx, qword [rsp + 0x98]
jb 0x140004019
mov rax, qword [rsp + 0x70]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
sub r8, rdx
lea rcx, [rsp + 0x70]
call qword [rax]
mov qword [rsp + 0x98], rax
mov rcx, r14
mov qword [rsp + 0x90], rcx
test rax, rax
je 0x1400043c8
lea rax, [rcx + 1]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x78]
movzx esi, byte [rcx + rax]
mov edi, r14d
cmp edi, esi
jge 0x1400040a5
mov rbx, qword [r13]
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x70]
call fcn.140001a00
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004088
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
add qword [rbx + 8], 0x20
jmp 0x140004094
mov r8, rax
mov rcx, rbx
call fcn.140006dd0
nop
lea rcx, [rsp + 0x2e0]
call fcn.140001ee0
inc edi
jmp 0x140004031
mov rcx, qword [r13]
mov word [rsp + 0x2ee], r14w
mov qword [rsp + 0x2f0], send
mov qword [rsp + 0x2f8], send
movsd xmm0, qword [str.__inputAddress]
movsd qword [rsp + 0x2e0], xmm0
mov eax, dword [0x140046a48]
mov dword [rsp + 0x2e8], eax
movzx eax, word [0x140046a4c]
mov word [rsp + 0x2ec], ax
mov byte [rsp + 0x2ee], 0
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140004135
movups xmm0, xmmword [rsp + 0x2e0]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x2f0]
movups xmmword [rdx + 0x10], xmm1
mov r8d, send
mov byte [rsp + 0x2e0], 0
add qword [rcx + 8], 0x20
jmp 0x14000414a
lea r8, [rsp + 0x2e0]
call fcn.140006dd0
mov r8, qword [rsp + 0x2f8]
cmp r8, 0xf
jbe 0x140004165
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x2e0]
call fcn.140001f60
mov rcx, qword [r15 + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x2e0]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140004185
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
call fcn.140034e90
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x380], xmm0
lea r8, [rsp + 0x380]
mov edx, eax
lea rcx, [rsp + 0x360]
call fcn.1400060b0
or r12d, 0x38
mov dword [rsp + 0x30], r12d
mov rbx, qword [r13]
add rbx, 0x18
lea rax, [rsp + 0x360]
cmp rbx, rax
je 0x140004260
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000421e
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140004219
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400042b4
mov rcx, r8
call fcn.1400357cc
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], send
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x360]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x370]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x370], r14
mov qword [rsp + 0x378], send
mov byte [rsp + 0x360], 0
lea rcx, [rsp + 0x360]
call fcn.140001ee0
nop
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 7
jbe 0x1400042c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042bb
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.1400357cc
mov rbx, qword [r13]
lea r8, [rbx + 0x18]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1400042e4
mov rdx, r8
mov rcx, rax
call fcn.1400059d0
add qword [rbx + 8], 0x20
jmp 0x1400042ef
mov rdx, rax
mov rcx, rbx
call fcn.140007070
mov dword [rsp + 0x30], r14d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140004340
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000432a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004373
call fcn.1400357cc
mov qword [rsp + 0x78], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000437f
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000437a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000437a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400357cc
mov rax, r13
mov rcx, qword [rsp + 0x3b8]
xor rcx, rsp
call fcn.140035770
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xc0]
call fcn.1400016f0
lea rdx, [0x14004f110]
lea rcx, [rsp + 0xc0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3