Function at 0x13153220
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Contain obfuscated stackstrings
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.13153af0
mov al, 0x52
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov byte [esp + 0x4a], al
mov byte [esp + 0x24], al
mov al, 0x65
mov cl, 0x45
mov byte [esp + 0x25], al
mov byte [esp + 0x27], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x49], cl
mov byte [esp + 0x4c], cl
mov byte [esp + 0x29], cl
lea eax, [esp + 0x24]
lea ecx, [esp + 0x48]
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x50], 0x4b
mov byte [esp + 0x53], 0x4e
mov byte [esp + 0x55], 0x4c
mov byte [esp + 0x56], 0x33
mov byte [esp + 0x57], 0x32
mov byte [esp + 0x58], 0x2e
mov byte [esp + 0x59], 0x64
mov byte [esp + 0x5a], 0x6c
mov byte [esp + 0x5b], 0x6c
mov byte [esp + 0x5c], bl
mov byte [esp + 0x2e], 0x73
mov byte [esp + 0x30], 0x74
mov byte [esp + 0x32], 0x76
mov byte [esp + 0x34], 0x6e
mov byte [esp + 0x35], 0x74
mov byte [esp + 0x36], bl
call edi
mov ebp, dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebp
mov edx, dword [esi + 0xac]
push edx
call eax
mov byte [esi + 0xb5], bl
mov eax, dword [0x1315d220]
cmp eax, ebx
je 0x131532ed
cmp eax, 4
je 0x131532ed
cmp eax, 5
je 0x131532ed
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x58
ret 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0xa8], eax
jne 0x13153310
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x58
ret 8
cmp dword [0x1315d220], ebx
je 0x1315331f
push 0x1315d224
jmp 0x13153324
mov eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x1315333e
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x58
ret 8
mov eax, dword [0x1315d220]
mov word [esp + 0x58], 2
cmp eax, ebx
je 0x13153358
mov cx, word [0x13152020]
push ecx
jmp 0x1315335d
mov edx, dword [esp + 0x70]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0x14]
push 0x10
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
lea ecx, [esp + 0x5c]
push ecx
mov eax, dword [edx]
mov edx, dword [esi + 0xa8]
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1315339c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x58
ret 8
cmp dword [0x1315d220], 5
jne 0x131533c4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
mov ecx, esi
call fcn.131534c0
test al, al
jne 0x131533c4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x13]
push 1
push edx
push 8
push 0xffff
push eax
mov byte [esp + 0x27], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x13153493
mov cl, 0x57
lea edx, [esp + 0x30]
mov byte [esp + 0x30], cl
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov al, 0x53
push ecx
push edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0x2bf20
mov dword [esp + 0x4c], 0x1388
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], 0x32
mov byte [esp + 0x3b], 0x5f
mov byte [esp + 0x3c], 0x33
mov byte [esp + 0x3d], 0x32
mov byte [esp + 0x3e], 0x2e
mov byte [esp + 0x3f], 0x64
mov byte [esp + 0x40], 0x6c
mov byte [esp + 0x41], 0x6c
mov byte [esp + 0x42], bl
mov byte [esp + 0x21], al
mov byte [esp + 0x22], 0x41
mov byte [esp + 0x23], 0x49
mov byte [esp + 0x24], 0x6f
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x28], bl
call edi
push eax
call ebp
push ebx
lea ecx, [esp + 0x17]
push ebx
push ecx
mov ecx, dword [esi + 0xa8]
push ebx
push ebx
lea edx, [esp + 0x50]
push 0xc
push edx
push 0x98000004
push ecx
call eax
push 1
push ebx
push ebx
push esi
push 0x131537d0
push ebx
push ebx
mov byte [esi + 0xb5], 1
call fcn.13156a30
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8