Function at 0x180051550
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x360
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov r12, rcx
xor r13d, r13d
mov dword [rbp + 0xc], r13d
cmp edx, 1
jne 0x180051ee9
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b5b24
mov rcx, rax
mov qword [rbp + 0x60], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_30]
movdqu xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [str.C:UsersLoaderCsGoPicture.png]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1800d72c0]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x1800d72c8]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1800d72cc]
mov word [rcx + 0x1c], ax
mov byte [rcx + 0x1e], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b5b24
mov rcx, rax
mov qword [rbp + 0xa0], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_send]
movdqu xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32]
movups xmmword [rax], xmm1
movzx eax, word [0x1800d72e0]
mov word [rcx + 0x10], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_50]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b5b24
mov rcx, rax
mov qword [rbp + 0xc0], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_send]
movdqu xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [str.C:WindowsSysWOW64]
movups xmmword [rax], xmm1
movzx eax, word [0x1800d72f8]
mov word [rcx + 0x10], ax
movzx eax, byte [0x1800d72fa]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_ntohs]
movdqu xmmword [rbp + 0xf0], xmm1
movsd xmm0, qword [str.C:WindowsTemp]
movsd qword [rbp + 0xe0], xmm0
mov eax, dword [0x1800d7308]
mov dword [rbp + 0xe8], eax
movzx eax, word [0x1800d730c]
mov word [rbp + 0xec], ax
movzx eax, byte [reloc.WS2_32.dll_WSASetLastError]
mov byte [rbp + 0xee], al
mov byte [rbp + 0xef], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqu xmmword [rbp + 0x110], xmm1
movsd xmm0, qword [str.C:WindowsLogs]
movsd qword [rbp + 0x100], xmm0
mov eax, dword [0x1800d7318]
mov dword [rbp + 0x108], eax
movzx eax, word [0x1800d731c]
mov word [rbp + 0x10c], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rbp + 0x10e], al
mov byte [rbp + 0x10f], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b5b24
mov rcx, rax
mov qword [rbp + 0x120], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_send]
movdqu xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [str.C:WindowsPrefetch]
movups xmmword [rax], xmm1
movzx eax, word [0x1800d7330]
mov word [rcx + 0x10], ax
movzx eax, byte [0x1800d7332]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b5b24
mov rcx, rax
mov qword [rbp + 0x140], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_sendto]
movdqu xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [str.C:WindowsResources]
movups xmmword [rax], xmm1
mov eax, dword [0x1800d7348]
mov dword [rcx + 0x10], eax
mov byte [rcx + 0x14], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_ntohl]
movdqu xmmword [rbp + 0x170], xmm1
movsd xmm0, qword [str.C:WindowsWeb]
movsd qword [rbp + 0x160], xmm0
mov eax, dword [0x1800d7358]
mov dword [rbp + 0x168], eax
movzx eax, word [0x1800d735c]
mov word [rbp + 0x16c], ax
mov byte [rbp + 0x16e], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b5b24
mov rcx, rax
mov qword [rbp + 0x180], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_recvfrom]
movdqu xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [str.C:WindowsWinSxS]
movups xmmword [rax], xmm1
movzx eax, byte [0x1800d7370]
mov byte [rcx + 0x10], al
mov byte [rcx + 0x11], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1b0], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b5b24
mov rcx, rax
mov qword [rbp + 0x1a0], rax
movdqa xmm0, xmmword [0x1800d7800]
movdqu xmmword [rbp + 0x1b0], xmm0
movups xmm1, xmmword [str.C:WindowsSoftwareDistribution]
movups xmmword [rax], xmm1
movsd xmm0, qword [0x1800d7388]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x1800d7390]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1800d7394]
mov word [rcx + 0x1c], ax
movzx eax, byte [0x1800d7396]
mov byte [rcx + 0x1e], al
mov byte [rcx + 0x1f], r13b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov ecx, pe_nt_image_headers64
call fcn.1800b5b24
mov rbx, rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
add rax, 0x120
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
mov qword [rbp], rax
lea rdi, [rbp + 0xa0]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
lea rax, [rbp + 0x10]
mov qword [rbp + 0x50], rax
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.180052eb0
add rbx, 0x20
mov qword [rbp + 0x48], rbx
add rdi, 0x20
lea rax, [rbp + 0x1c0]
cmp rdi, rax
jne 0x180051950
mov qword [rbp + 0x40], rbx
lea r8, [rbp + 0x10]
mov rdx, rbx
mov rcx, rbx
call fcn.180053b80
mov qword [rbp + 0x18], rbx
mov qword [rbp], r13
lea r9, [fcn.180041600]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov r8d, 9
lea rcx, [rbp + 0xa0]
call fcn.1800b5b60
mov rsi, qword [rbp + 0x10]
mov r15, qword [rbp + 0x18]
cmp rsi, r15
je 0x180051bd0
movzx ebx, byte [rbp + 8]
movabs r8, 0x7fffffffffffffff
movabs r14, 0x7b6bfcebb2c9c00f
movabs r11, 0x3fba01597979381d
movabs r10, 0x7b6b9b85c2e7a57d
movabs r9, 0x38dbd481b8423919
movabs rdi, 0x4dafb7e8e82d7e6a
movabs rcx, 0x4060a18a2f1bb94c
movabs rdx, 0x7cc8643d18167441
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r9
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r10
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r11
mov rax, qword [rbp]
mov qword [rbp + 0x2e0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x2e8], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x2f0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x2f8], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x2e0]
vmovdqa ymmword [rbp + 0x40], ymm1
mov rdx, qword [rsi + 0x10]
lea rcx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
vzeroupper
inc rax
cmp byte [rcx + rax], 0
jne 0x180051aa1
mov rcx, r8
sub rcx, rdx
cmp rcx, rax
jb 0x180051f0f
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180051ac6
mov r9, qword [rsi]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, rsi
movzx edx, bl
lea rcx, [rbp + 0x80]
call fcn.180041fb0
mov r14d, dword [rbp + 0xc]
or r14d, 1
mov dword [rbp + 0xc], r14d
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x1c0]
call fcn.180051f20
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
movzx edi, al
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call fcn.180052c40
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x98]
test dil, dil
jne 0x180051bd9
cmp rdx, 0xf
jbe 0x180051bc3
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051bbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051c0a
call fcn.1800b5fa8
add rsi, 0x20
cmp rsi, r15
jne 0x1800519c1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp rdx, 0xf
jbe 0x180051c16
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051c11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051c11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b5fa8
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rbx, qword [rbp + 0x60]
lea rax, [0x1800d7480]
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 2
mov dword [rbp + 0xc], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1c0]
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 [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rdi
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1d0], rax
mov byte [rbp + 0x24c], 0
mov byte [rbp + 0x241], 0
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x250], r13
mov rax, qword [0x18016e010]
mov qword [rbp + 0x244], rax
mov qword [rbp + 0x238], r13
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x1d0]
call fcn.180053320
test rax, rax
jne 0x180051d25
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], rdi
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
movzx ebx, al
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], rdi
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call fcn.180052c40
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
test bl, bl
je 0x180051bd0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x180051ddd
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
mov r9, r12
lea r8, [0x18004b7f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x180051eab
mov rdi, qword [rbp + 0x18]
cmp rbx, rdi
je 0x180051e64
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180051e48
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180051e43
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180051e90
mov rcx, r8
call fcn.1800b5fa8
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x180051e12
mov rbx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x20]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x180051e97
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051e97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800b5fa8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x180051ee9
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051ee4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051ee4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b5fa8
mov eax, 1
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180036df0
nop
int3