Function at 0x41a770
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
lea esi, [ebx + 0x44]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [ebx + 4], 0xffffffff
jne 0x41a798
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea esp, [esp]
mov esi, dword [ebx + 0x70]
test esi, esi
jle 0x41a82d
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
push 0
push eax
mov dword [esi + 0x20], 1
mov edx, dword [ebx + 4]
push ecx
push edx
call dword [sym.imp.wsock32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
je 0x41a819
mov eax, dword [esi + 0x28]
cmp edi, eax
jl 0x41a7e4
mov edx, dword [ebx]
push 1
push eax
add esi, 8
push esi
mov ecx, ebx
call dword [edx + 0x1c]
jmp 0x41a7a0
cmp edi, 0xffffffff
je 0x41a819
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
sub ecx, edi
push ecx
lea edx, [eax + edi]
push edx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 4]
add esp, 0xc
sub eax, edi
push ecx
mov dword [esi + 0x28], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.wsock32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x41a82d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a840
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x74]
mov eax, 0x5b4
sub eax, ecx
cmp eax, 0x5b4
jb 0x41a859
mov eax, 0x5b4
push 0
push eax
lea eax, [ecx + esi + 0x78]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.wsock32.dll_recv]
cmp eax, 0xffffffff
je 0x41a886
test eax, eax
mov edx, dword [esi]
mov ecx, esi
jne 0x41a87c
pop esi
jmp dword [edx + 0x24]
push 1
push eax
push 0
call dword [edx + 0x20]
pop esi
ret
call dword [sym.imp.wsock32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x41a884
mov eax, dword [esi]
mov ecx, esi
pop esi
jmp dword [eax + 0x24]

Function at 0x41b330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push esi
push eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0041a910
push 0
push 0
push 0
push 0
mov dword [esi], 0x44b948
call dword [sym.imp.kernel32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x8c], eax
je 0x41b3bd
lea edx, [ebp + 0x18]
push edx
push 0
push esi
push 0x41b200
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x88], eax
je 0x41b3bd
mov ecx, esi
call fcn.00419290
test eax, eax
je 0x41b3af
mov ecx, dword [esi + 0x60]
push 3
push esi
call fcn.00418d70
mov eax, esi
pop esi
pop ebp
ret 0x14
mov ecx, esi
call fcn.0041ab80
mov eax, esi
pop esi
pop ebp
ret 0x14
mov ecx, esi
call fcn.00419250
push 0
mov ecx, esi
call fcn.00419130
mov eax, esi
pop esi
pop ebp
ret 0x14