Function at 0x4110c6
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2174
call fcn.00420220
push ebx
push esi
push edi
xor eax, eax
push 7
pop ecx
mov byte [ebp - 0x60], 0
lea edi, [ebp - 0x5f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov edx, 0x3ff
mov byte [ebp - 0x1174], 0
mov ecx, edx
lea edi, [ebp - 0x1173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x2174], 0
mov ecx, edx
lea edi, [ebp - 0x2173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10
xor ebx, ebx
xor edi, edi
lea eax, [ebp - 0x30]
push ebx
inc edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.00420090
xor eax, eax
mov ax, word [0x456358]
add esp, 0xc
mov word [ebp - 0x30], 2
push eax
call dword [0x455bf0]
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x60]
push eax
xor eax, eax
mov ax, word [0x456358]
mov dword [ebp - 0x2c], ebx
push eax
push dword [0x4564d0]
call fcn.00411049
add esp, 0xc
push ebx
push edi
push 2
call dword [0x455a88]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0xc], esi
jne 0x411188
push eax
call dword [0x455ba4]
or eax, esi
jmp 0x41157a
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call dword [0x455b7c]
cmp eax, 0xffffffff
jne 0x4111a1
push 0xfffffffffffffffe
jmp 0x411570
push accept
push esi
call dword [0x455bc4]
cmp eax, 0xffffffff
jne 0x4111b9
push 0xfffffffffffffffd
jmp 0x411570
lea eax, [ebp - 0x1c]
push eax
push 0x8004667e
push esi
call dword [0x455a04]
cmp eax, 0xffffffff
jne 0x4111d5
push 0xfffffffffffffffc
jmp 0x411570
push 0x41
pop ecx
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x174]
push ebx
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], ebx
mov dword [0x45659c], esi
mov dword [0x456598], edi
mov dword [ebp - 8], esi
mov byte [0x45669c], 1
jmp 0x41154d
call fcn.004106e4
call fcn.004108df
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 4]
call dword [0x455ae8]
test eax, eax
je 0x41152b
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jne 0x411309
push 0x10
pop esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
cmp edi, 0xffffffff
je 0x41152b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.WS2_32.dll_getpeername]
mov ebx, dword [ebp - 0x3c]
push 0
push ebx
call fcn.00410723
cmp eax, dword [0x456374]
pop ecx
pop ecx
ja 0x4112f2
cmp dword [0x456598], 0x40
jae 0x4112f2
call fcn.00410695
cmp eax, 0x2710
ja 0x4112f2
call fcn.004106a8
mov esi, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
mov eax, dword [0x456598]
xor ecx, ecx
test eax, eax
jbe 0x4112c9
cmp dword [ecx*4 + 0x45659c], edi
je 0x4112c9
inc ecx
cmp ecx, eax
jb 0x4112bb
cmp ecx, eax
jne 0x4112df
cmp eax, 0x40
jae 0x4112df
mov dword [ecx*4 + 0x45659c], edi
inc dword [0x456598]
xor ebx, ebx
cmp edi, dword [ebp - 8]
jbe 0x41152b
mov dword [ebp - 8], edi
jmp 0x41152b
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
xor ebx, ebx
jmp 0x41152b
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1174]
push ebx
push eax
call fcn.00420090
push esi
lea eax, [ebp - 0x2174]
push ebx
push eax
call fcn.00420090
add esp, 0x18
push ebx
push esi
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x1174]
push eax
push esi
call dword [0x4559d8]
test eax, eax
jg 0x4113a8
mov eax, dword [0x456598]
xor ecx, ecx
cmp eax, ebx
jbe 0x411380
cmp dword [ecx*4 + 0x45659c], esi
je 0x411373
inc ecx
cmp ecx, eax
jb 0x41134f
jmp 0x411380
mov eax, dword [ecx*4 + 0x4565a0]
mov dword [ecx*4 + 0x45659c], eax
mov eax, dword [0x456598]
inc ecx
lea edx, [eax - 1]
cmp ecx, edx
jb 0x41135f
dec eax
mov dword [0x456598], eax
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [0x455ba4]
push esi
call fcn.00410650
cmp eax, ebx
pop ecx
je 0x41152b
mov byte [eax + 0xe], 1
jmp 0x41152b
push 0xa
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x1174]
push eax
call fcn.004200f0
add esp, 0xc
test eax, eax
jne 0x411495
push esi
call fcn.00410650
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x4113da
push dword [ebp - 4]
jmp 0x411525
push 0x77
call fcn.0041075c
cmp eax, dword [0x456394]
pop ecx
ja 0x4113d2
cmp byte [esi + 0xc], 0
jne 0x411401
push 0x77
push dword [esi + 4]
call fcn.00410723
cmp eax, 1
pop ecx
pop ecx
jg 0x4113d2
mov edi, dword [esi + 4]
push edi
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 0x77
call fcn.004107f0
cmp eax, ebx
pop ecx
je 0x411430
cmp byte [eax + 9], 0
je 0x411437
push ebx
push 2
push 0x4288b8
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x4113d2
push edi
call fcn.00410891
pop ecx
mov byte [eax + 9], 1
mov dword [eax + 4], esi
mov ecx, dword [0x456598]
xor edx, edx
cmp ecx, ebx
jbe 0x411480
mov esi, dword [ebp - 4]
cmp dword [edx*4 + 0x45659c], esi
je 0x411472
inc edx
cmp edx, ecx
jb 0x41144a
jmp 0x411480
mov ecx, dword [edx*4 + 0x4565a0]
mov dword [edx*4 + 0x45659c], ecx
mov ecx, dword [0x456598]
inc edx
lea esi, [ecx - 1]
cmp edx, esi
jb 0x41145d
dec ecx
mov dword [0x456598], ecx
push ebx
push ebx
push eax
push 0x410ffe
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x41152b
lea eax, [ebp - 0x1174]
push str.GET
push eax
call fcn.00412073
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x411524
lea eax, [ebp - 0x1174]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 5
jle 0x411524
push esi
call fcn.00410650
cmp eax, ebx
pop ecx
je 0x411524
add edi, 4
push edi
push eax
mov byte [eax + 0xd], 0x68
call fcn.00410cdd
sub eax, ebx
pop ecx
pop ecx
je 0x411524
dec eax
dec eax
jne 0x41152b
mov eax, dword [0x456598]
xor ecx, ecx
cmp eax, ebx
jbe 0x41152b
mov edx, dword [ebp - 4]
cmp dword [ecx*4 + 0x45659c], edx
je 0x411515
inc ecx
cmp ecx, eax
jb 0x4114ee
jmp 0x41152b
mov eax, dword [ecx*4 + 0x4565a0]
mov dword [ecx*4 + 0x45659c], eax
mov eax, dword [0x456598]
inc ecx
lea edx, [eax - 1]
cmp ecx, edx
jb 0x411501
dec eax
mov dword [0x456598], eax
jmp 0x41152b
push esi
call fcn.004110a7
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jbe 0x41121a
push 0x41
pop ecx
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x174]
push ebx
push eax
mov eax, dword [ebp - 8]
inc eax
mov esi, 0x456598
lea edi, [ebp - 0x174]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [0x455b44]
cmp eax, 0xffffffff
jne 0x41120d
mov esi, dword [ebp - 0xc]
push 0xfffffffffffffffb
pop edi
push esi
call dword [0x455ba4]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret