Function at 0x140012c60
Capabilities:
Connect socket
Resolve dns

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
cmp byte [rcx + 0x198], 0
je 0x140012dc4
movabs rax, 0xe2efc167ef18a840
mov qword [rsp + 0x30], rax
movabs rcx, 0xaef62b7897c9e776
mov qword [rsp + 0x38], rcx
movabs rdx, 0xe2efc135a04afa05
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rcx
lea rdi, [rsp + 0x90]
mov rax, rdi
movups xmm0, xmmword [rax]
xorps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0xc29bb158c53e8e64
mov qword [rsp + 0x50], rax
movabs rax, 0xcb984517f4e98802
mov qword [rsp + 0x58], rax
movabs rax, 0xe3c19b03fe45d19c
mov qword [rsp + 0x60], rax
movabs rax, 0x7058e4893571a578
mov qword [rsp + 0x68], rax
movabs rax, 0xba733a676f867eaa
mov qword [rsp + 0x70], rax
movabs rax, 0x5688924905d78f69
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rcx
movabs rax, 0x86adf26b8965a5ff
mov qword [rsp + 0xa0], rax
movabs rax, 0x15368ae65651c458
mov qword [rsp + 0xa8], rax
movabs rax, 0xdb041a0900ef0ac9
mov qword [rsp + 0xb0], rax
movabs rax, 0x5688fc2c75b8af1a
mov qword [rsp + 0xb8], rax
movups xmm0, xmmword [rdi]
xorps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rdi + 0x10]
xorps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rdi + 0x20]
xorps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
xor edi, edi
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x30]
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
add rsp, 0xc8
pop rdi
pop rsi
ret
mov rsi, rcx
cmp qword [rcx + 0x370], 0
je 0x140012f0d
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x88], 0
movabs rax, 0x100000002
mov qword [rsp + 0x94], rax
mov dword [rsp + 0x9c], 6
mov rax, qword [r8]
mov rcx, qword [rdx]
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x88]
mov rdx, rax
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14001300a
movabs rax, 0xe2efc167ef18a840
mov qword [rsp + 0x20], rax
movabs rcx, 0xaef62b7897c9e776
mov qword [rsp + 0x28], rcx
movabs rdx, 0xe2efc135a04afa05
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rcx
lea rdi, [rsp + 0x50]
mov rax, rdi
movups xmm0, xmmword [rax]
xorps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
movabs rax, 0x8b9da551c13e9f62
mov qword [rsp + 0x30], rax
movabs rax, 0xc184591db7a68118
mov qword [rsp + 0x38], rax
movabs rax, 0x86adf26b8965a58d
mov qword [rsp + 0x40], rax
movabs rax, 0x15368ae65651c458
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rcx
movabs rcx, 0x86adf26b8965a5ff
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdi]
xorps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rdi + 0x10]
xorps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
xor edi, edi
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x20]
jmp 0x140012dad
movabs rax, 0xe2efc167ef18a840
mov qword [rsp + 0x30], rax
movabs rcx, 0xaef62b7897c9e776
mov qword [rsp + 0x38], rcx
movabs rdx, 0xe2efc135a04afa05
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rcx
lea rdi, [rsp + 0x90]
mov rax, rdi
movups xmm0, xmmword [rax]
xorps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0x9186e150d22f9271
mov qword [rsp + 0x50], rax
movabs rax, 0xcd995908b7a68956
mov qword [rsp + 0x58], rax
movabs rax, 0xe58d9505e016d69a
mov qword [rsp + 0x60], rax
movabs rax, 0x355de987343da839
mov qword [rsp + 0x68], rax
movabs rax, 0xdb041a09009b6fba
mov qword [rsp + 0x70], rax
movabs rax, 0x5688fc2c75b8af1a
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rcx
movabs rcx, 0x86adf26b8965a5ff
mov qword [rsp + 0xa0], rcx
movabs rcx, 0x15368ae65651c458
mov qword [rsp + 0xa8], rcx
movabs rcx, 0xdb041a0900ef0ac9
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
jmp 0x140012d78
mov rax, qword [rsp + 0x88]
mov r8d, dword [rax + 0xc]
mov ecx, dword [rax + 4]
mov edx, dword [rax + 8]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi + 0x1a0], rax
mov rcx, qword [rsp + 0x88]
cmp rax, 0xffffffffffffffff
je 0x140013128
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
mov edi, eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp edi, 0xffffffff
je 0x1400131d4
mov rcx, qword [rsi + 0x1a8]
call fcn.1400aa260
mov rdi, rax
mov edx, dword [rsi + 0x1a0]
mov rcx, rax
call fcn.1400a9f20
mov rcx, rdi
call fcn.1400aab80
mov rcx, rsi
mov rdx, rdi
call fcn.140013280
test al, al
je 0x14001325c
mov byte [rsi + 0x198], 1
mov qword [rsp + 0x30], rsi
lea rax, [0x140013740]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea r8, [rsp + 0x30]
call fcn.1400138f0
cmp dword [rsi + 0x380], 0
jne 0x14001326d
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x378], xmm0
mov qword [rsp + 0x30], rsi
lea rax, [0x1400139b0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea r8, [rsp + 0x30]
call fcn.1400138f0
cmp dword [rsi + 0x390], 0
jne 0x14001326d
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x388], xmm0
mov dil, 1
jmp 0x140012db8
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movabs rax, 0xe2efc167ef18a840
mov qword [rsp + 0x20], rax
movabs rcx, 0xaef62b7897c9e776
mov qword [rsp + 0x28], rcx
movabs rdx, 0xe2efc135a04afa05
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rcx
lea rdi, [rsp + 0x50]
mov rax, rdi
movups xmm0, xmmword [rax]
xorps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
movabs rax, 0x96cfa550cc239b63
mov qword [rsp + 0x30], rax
movabs rax, 0xcb824a1de5aac719
mov qword [rsp + 0x38], rax
movabs rax, 0x86d99700ea0ad6df
mov qword [rsp + 0x40], rax
movabs rax, 0x15368ae65651c458
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rcx
movabs rcx, 0x86adf26b8965a5ff
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
jmp 0x140012ee1
movabs rax, 0xe2efc167ef18a840
mov qword [rsp + 0x30], rax
movabs rax, 0xaef62b7897c9e776
mov qword [rsp + 0x38], rax
movabs rcx, 0xe2efc135a04afa05
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x50]
mov rdx, rdi
movups xmm0, xmmword [rdx]
xorps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movabs rdx, 0x8bcfb350d6389f76
mov qword [rsp + 0x20], rdx
movabs rdx, 0xaef6450ff8adc705
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdi]
xorps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
xor edi, edi
lea rdx, [rsp + 0x20]
jmp 0x140012da8
xor edi, edi
mov rcx, rsi
xor edx, edx
call fcn.140013390
jmp 0x140012db8
call fcn.1401eed54
int3