Function at 0x10061090
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5d2e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp word [edi + 4], 0
je 0x100612b0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
je 0x1006128f
mov eax, 2
mov word [ebp - 0x88], ax
mov eax, dword [edi]
mov dword [ebp - 0x84], eax
movzx eax, word [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x86], ax
lea eax, [ebp - 0x88]
push 0x10
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100612ce
push ecx
lea ecx, [ebp - 0x150]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100f00a0]
mov esi, eax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0xb594e5d
mov dword [ebp - 0x64], 0x47424a4d
mov word [ebp - 0x60], 0x11
mov byte [ebp - 4], 1
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x77]
xor al, byte [ebp - 0x78]
mov byte [ebp + ecx - 0x5e], al
inc ecx
cmp ecx, 0x18
jb 0x100611a0
lea edx, [ebp - 0x5e]
mov byte [ebp - 0x46], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x100611d8
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x1006121d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061213
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100615e9
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x150]
lea eax, [ebp - 0x44]
push eax
call fcn.100044d0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10061243
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003ef0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x10061284
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006127a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100615ee
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x150]
call fcn.10004400
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x100612b0
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 8], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 0x51], 0
mov byte [edi + 0x52], 1
je 0x1006128f
lea esi, [edi + 0x20]
mov dword [ebp - 0x9c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push esi
mov dword [ebp - 4], 4
call fcn.100920b5
add esp, 4
test eax, eax
jne 0x100615e3
mov byte [ebp - 4], 5
cmp dword [edi + 0x1c], eax
je 0x100613b7
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
dec ecx
and ecx, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x10061348
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1006133e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10008f60
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
dec ecx
and ecx, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x8c], eax
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x10061394
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x10061384
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100615e9
mov eax, edx
push ecx
push eax
call fcn.1009517b
mov eax, dword [ebp - 0x8c]
add esp, 8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [edi + 0x1c], 0xffffffff
jne 0x100613b4
mov dword [edi + 0x18], 0
jmp 0x100613b7
inc dword [edi + 0x18]
push esi
mov byte [ebp - 4], 4
call fcn.100920da
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x100614c9
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100614e8
push ecx
lea ecx, [ebp - 0x150]
mov byte [edi + 0x52], 0
call fcn.100045c0
mov edx, str._TID:
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100efe40]
mov esi, eax
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x58], 0x65
mov byte [ebp - 4], 7
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x67]
xor al, byte [ebp - 0x68]
mov byte [ebp + ecx - 0x56], al
inc ecx
cmp ecx, 0x10
jb 0x10061450
lea edx, [ebp - 0x56]
mov byte [ebp - 0x46], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10061488
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 7
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x1006153c
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061532
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100615f3
jmp 0x10061532
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 3
mov dword [ebp - 0x94], 0
call fcn.100617a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10061523
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061519
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100615e9
push ecx
push edx
call fcn.1009517b
add esp, 8
cmp byte [edi + 0x51], 0
jne 0x100612e1
jmp 0x1006128f
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 6
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x150]
lea eax, [ebp - 0x44]
push eax
call fcn.100044d0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x10061562
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003ef0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x1006159f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061595
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100615f8
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x150]
call fcn.10004400
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1006128f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100615d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100615e9
push ecx
push edx
call fcn.1009517b
add esp, 8
jmp 0x1006128f
push eax
call fcn.10091b0d
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
int3