Function at 0x140001180
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0xcd8]
sub rsp, 0xdd8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xcc0], rax
mov r15, rdx
cmp ecx, 4
jge 0x1400011bd
lea rcx, str.__usage_:_msload.exe_ipaddress_port_command
call fcn.140001120
jmp 0x14000148f
xor edx, edx
mov qword [rsp + 0xe00], rsi
mov r8d, 0x198
lea rcx, [rsp + 0x20]
call fcn.140002480
mov ecx, 2
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_183]
call qword [sym.imp.LIBEAY32MD.dll_Ordinal_3212]
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_74]
mov rcx, qword [r15 + 0x10]
call fcn.140004828
mov rcx, qword [r15 + 8]
mov edx, eax
call section..text
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001227
lea rcx, str.__Connect_Error__n
call fcn.140001120
jmp 0x140001487
mov qword [rsp + 0xdf0], rbx
mov qword [rsp + 0xe08], rdi
mov qword [rsp + 0xdd0], r14
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_111]
mov rcx, rax
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_12]
mov rdi, rax
test rax, rax
je 0x140001266
lea rdx, str.SEED:ARIA:3DES:AES:NES:_LOW:_EXP:_MD5_STRENGTH
mov rcx, rax
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_15]
mov rcx, rdi
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_75]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_42]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_87]
test eax, eax
jne 0x140001296
lea rcx, str.SSL_set_fd_fail_n
call fcn.140001120
mov rcx, rbx
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_43]
mov r14d, eax
cmp eax, 1
je 0x1400012e8
lea rcx, str.__SSL_handshake_Error__n
call fcn.140001120
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_58]
cmp eax, 1
jne 0x1400012dc
call qword [sym.imp.LIBEAY32MD.dll_Ordinal_227]
mov ecx, eax
xor edx, edx
call qword [sym.imp.LIBEAY32MD.dll_Ordinal_223]
mov rcx, rax
call fcn.140001120
lea rcx, [0x140018dec]
jmp 0x140001450
lea rcx, str.__SSL_handshake_success_n
call fcn.140001120
mov eax, dword [0x140018e18]
lea rcx, [rbp + 0x4cf]
movsd xmm0, qword [str.SystemInfo__]
xor edx, edx
mov dword [rbp + 0x4c8], eax
mov r8d, 0x3f1
movzx eax, word [0x140018e1c]
mov word [rbp + 0x4cc], ax
movzx eax, byte [0x140018e1e]
mov byte [rbp + 0x4ce], al
movsd qword [rbp + 0x4c0], xmm0
call fcn.140002480
movaps xmm0, xmmword [str.____Intel_R__Core_TM__i5_3320M_CPU___2.60GHz7.90_GB__x86_D4_BE_D9_6C_70_BBUnknowon_Unknowon0]
lea rcx, [rbp + 0x125]
movaps xmm1, xmmword [0x140018e30]
xor edx, edx
mov eax, dword [0x140018e80]
mov r8d, 0x39b
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm0, xmmword [0x140018e40]
movaps xmmword [rbp + 0xd0], xmm1
movaps xmm1, xmmword [0x140018e50]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmm0, xmmword [0x140018e60]
movaps xmmword [rbp + 0xf0], xmm1
movaps xmm1, xmmword [0x140018e70]
mov dword [rbp + 0x120], eax
movzx eax, byte [0x140018e84]
movaps xmmword [rbp + 0x100], xmm0
movaps xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x124], al
call fcn.140002480
xor edx, edx
lea rcx, [rbp + 0x8c0]
mov r8d, 0x400
call fcn.140002480
lea r8, [rbp + 0x4c0]
mov edx, 0x400
lea rcx, [rbp + 0x8c0]
call fcn.140004854
mov r8, qword [r15 + 0x18]
lea rcx, [rbp + 0x8c0]
mov edx, 0x400
call fcn.140004854
lea r8, [rbp + 0xc0]
mov edx, 0x400
lea rcx, [rbp + 0x8c0]
call fcn.140004854
lea rax, [rbp + 0x8c0]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001424
lea rdx, [rbp + 0x8c0]
mov rcx, rbx
call qword [sym.imp.SSLEAY32MD.dll_Ordinal_108]
lea rcx, str.__SSL_write_fail__n
test eax, eax
je 0x140001450
lea rcx, str.__success_ok____n
call fcn.140001120
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdx, rdi
mov rcx, rbx
call fcn.1400010b0
mov rdi, qword [rsp + 0xe08]
mov rbx, qword [rsp + 0xdf0]
mov r14, qword [rsp + 0xdd0]
mov rsi, qword [rsp + 0xe00]
xor eax, eax
mov rcx, qword [rbp + 0xcc0]
xor rcx, rsp
call fcn.1400014c0
add rsp, 0xdd8
pop r15
pop rbp
ret