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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2174
call fcn.00420250
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.004200c0
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.0041106e
add esp, 0xc
push ebx
push edi
push 2
call dword [0x455a88]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0xc], esi
jne 0x4111ad
push eax
call dword [0x455ba4]
or eax, esi
jmp 0x41159f
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call dword [0x455b7c]
cmp eax, 0xffffffff
jne 0x4111c6
push 0xfffffffffffffffe
jmp 0x411595
push accept
push esi
call dword [0x455bc4]
cmp eax, 0xffffffff
jne 0x4111de
push 0xfffffffffffffffd
jmp 0x411595
lea eax, [ebp - 0x1c]
push eax
push 0x8004667e
push esi
call dword [0x455a04]
cmp eax, 0xffffffff
jne 0x4111fa
push 0xfffffffffffffffc
jmp 0x411595
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 0x411572
call fcn.00410709
call fcn.00410904
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 4]
call dword [0x455ae8]
test eax, eax
je 0x411550
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jne 0x41132e
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 0x411550
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.00410748
cmp eax, dword [0x456374]
pop ecx
pop ecx
ja 0x411317
cmp dword [0x456598], 0x40
jae 0x411317
call fcn.004106ba
cmp eax, 0x2710
ja 0x411317
call fcn.004106cd
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 0x4112ee
cmp dword [ecx*4 + 0x45659c], edi
je 0x4112ee
inc ecx
cmp ecx, eax
jb 0x4112e0
cmp ecx, eax
jne 0x411304
cmp eax, 0x40
jae 0x411304
mov dword [ecx*4 + 0x45659c], edi
inc dword [0x456598]
xor ebx, ebx
cmp edi, dword [ebp - 8]
jbe 0x411550
mov dword [ebp - 8], edi
jmp 0x411550
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 0x411550
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1174]
push ebx
push eax
call fcn.004200c0
push esi
lea eax, [ebp - 0x2174]
push ebx
push eax
call fcn.004200c0
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 0x4113cd
mov eax, dword [0x456598]
xor ecx, ecx
cmp eax, ebx
jbe 0x4113a5
cmp dword [ecx*4 + 0x45659c], esi
je 0x411398
inc ecx
cmp ecx, eax
jb 0x411374
jmp 0x4113a5
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 0x411384
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.00410675
cmp eax, ebx
pop ecx
je 0x411550
mov byte [eax + 0xe], 1
jmp 0x411550
push 0xa
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x1174]
push eax
call fcn.00420120
add esp, 0xc
test eax, eax
jne 0x4114ba
push esi
call fcn.00410675
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x4113ff
push dword [ebp - 4]
jmp 0x41154a
push 0x77
call fcn.00410781
cmp eax, dword [0x456394]
pop ecx
ja 0x4113f7
cmp byte [esi + 0xc], 0
jne 0x411426
push 0x77
push dword [esi + 4]
call fcn.00410748
cmp eax, 1
pop ecx
pop ecx
jg 0x4113f7
mov edi, dword [esi + 4]
push edi
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 0x77
call fcn.00410815
cmp eax, ebx
pop ecx
je 0x411455
cmp byte [eax + 9], 0
je 0x41145c
push ebx
push 2
push 0x4288b8
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x4113f7
push edi
call fcn.004108b6
pop ecx
mov byte [eax + 9], 1
mov dword [eax + 4], esi
mov ecx, dword [0x456598]
xor edx, edx
cmp ecx, ebx
jbe 0x4114a5
mov esi, dword [ebp - 4]
cmp dword [edx*4 + 0x45659c], esi
je 0x411497
inc edx
cmp edx, ecx
jb 0x41146f
jmp 0x4114a5
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 0x411482
dec ecx
mov dword [0x456598], ecx
push ebx
push ebx
push eax
push 0x411023
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x411550
lea eax, [ebp - 0x1174]
push str.GET
push eax
call fcn.00412098
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x411549
lea eax, [ebp - 0x1174]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 5
jle 0x411549
push esi
call fcn.00410675
cmp eax, ebx
pop ecx
je 0x411549
add edi, 4
push edi
push eax
mov byte [eax + 0xd], 0x68
call fcn.00410d02
sub eax, ebx
pop ecx
pop ecx
je 0x411549
dec eax
dec eax
jne 0x411550
mov eax, dword [0x456598]
xor ecx, ecx
cmp eax, ebx
jbe 0x411550
mov edx, dword [ebp - 4]
cmp dword [ecx*4 + 0x45659c], edx
je 0x41153a
inc ecx
cmp ecx, eax
jb 0x411513
jmp 0x411550
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 0x411526
dec eax
mov dword [0x456598], eax
jmp 0x411550
push esi
call fcn.004110cc
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jbe 0x41123f
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 0x411232
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