Function at 0x4019e0
Capabilities:
Get number of processors
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x425e93
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42d414]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
lea eax, [edi + 0x8c]
push eax
mov dword [esp + 0x2c], vtable.AutoLock.0
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
lea esi, [edi + 0x24]
push ecx
mov dword [esp + 0x50], 0
call fcn.0040a860
mov eax, dword [esp + 0x20]
test eax, eax
mov edx, dword [esi + 4]
mov dword [esp + 0x3c], edx
je 0x401a57
cmp eax, esi
je 0x401a60
call fcn.0041a633
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x3c]
jne 0x401a7c
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x401d81
test eax, eax
jne 0x401a89
call fcn.0041a633
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 4]
jne 0x401a97
call fcn.0041a633
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 8], 4
je 0x401b58
test ebp, ebp
jle 0x401b4e
push 0x30
call fcn.00419cca
add esp, 4
xor esi, esi
cmp eax, esi
je 0x401ac7
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
mov esi, eax
mov edi, dword [esp + 0x64]
push edi
push ebx
mov byte [esp + 0x50], 0
push esi
mov dword [esp + 0x5c], esi
call fcn.0041adc0
mov dword [esi + 0x1c], edi
add esi, 0x20
add esp, 0xc
mov eax, ebp
mov ecx, esi
call fcn.0040b110
mov eax, dword [esi + 4]
test eax, eax
je 0x401afc
mov edx, dword [esi + 8]
sub edx, eax
jne 0x401b01
call fcn.0041a633
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 4]
push ebp
push eax
push ecx
call fcn.0041adc0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 0xc
cmp esi, dword [edx + 4]
jne 0x401b25
call fcn.0041a633
mov esi, dword [esi + 0x18]
mov edi, dword [esi + 0x68]
mov ecx, dword [edi + 4]
add esi, 0x64
lea eax, [esp + 0x50]
push eax
push ecx
push edi
call fcn.0040c960
mov ecx, esi
mov ebx, eax
call fcn.0040c9a0
mov dword [edi + 4], ebx
mov edx, dword [ebx + 4]
mov dword [edx], ebx
mov eax, dword [esp + 0x2c]
push eax
jmp 0x401d79
cmp esi, dword [eax + 4]
jne 0x401b62
call fcn.0041a633
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x60], edx
call fcn.00401da0
test ebp, ebp
mov ecx, dword [esp + 0x58]
mov esi, eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x20], 3
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
jle 0x401c71
cmp word [ebx], 2
lea edi, [esi + 0x44]
mov ecx, edi
jne 0x401bfb
lea eax, [ebp + 0xa]
call fcn.0040b110
mov eax, dword [edi + 4]
test eax, eax
je 0x401bb3
mov edx, dword [edi + 8]
sub edx, eax
jne 0x401bb8
call fcn.0041a633
mov eax, dword [edi + 4]
mov word [eax], 0
mov byte [eax + 2], 0
mov byte [eax + 3], 1
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dx, word [ebx + 2]
mov word [eax + 8], dx
mov eax, dword [edi + 4]
test eax, eax
je 0x401be7
mov ecx, dword [edi + 8]
sub ecx, eax
cmp ecx, 0xa
ja 0x401bec
call fcn.0041a633
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + 4]
push ebp
push eax
add ecx, 0xa
push ecx
jmp 0x401c69
lea eax, [ebp + 0x16]
call fcn.0040b110
mov eax, dword [edi + 4]
test eax, eax
je 0x401c11
mov edx, dword [edi + 8]
sub edx, eax
jne 0x401c16
call fcn.0041a633
mov eax, dword [edi + 4]
mov word [eax], 0
mov byte [eax + 2], 0
mov byte [eax + 3], 4
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x10], edx
mov cx, word [ebx + 2]
mov word [eax + 0x14], cx
mov eax, dword [edi + 4]
test eax, eax
je 0x401c57
mov ecx, dword [edi + 8]
sub ecx, eax
cmp ecx, 0x16
ja 0x401c5c
call fcn.0041a633
mov edx, dword [esp + 0x5c]
mov eax, dword [edi + 4]
push ebp
push edx
add eax, 0x16
push eax
call fcn.0041adc0
add esp, 0xc
mov eax, dword [esi + 0x48]
test eax, eax
lea edi, [esi + 0x44]
je 0x401c82
mov ecx, dword [edi + 8]
sub ecx, eax
jne 0x401c87
call fcn.0041a633
mov edx, dword [edi + 4]
mov dword [esp + 0x34], edx
mov eax, dword [edi + 4]
test eax, eax
jne 0x401c9b
mov dword [esp + 0x30], eax
jmp 0x401ca4
mov ecx, dword [edi + 8]
sub ecx, eax
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 4]
jne 0x401cc0
call fcn.0041a633
cmp ebx, dword [ebp + 4]
jne 0x401cc0
call fcn.0041a633
mov edx, dword [ebx + 0x18]
mov eax, dword [edx + 0x28]
mov ebp, dword [esp + 0x60]
push 0
push esi
push eax
mov ecx, edx
add ecx, 0xc
push ecx
push 0
lea edx, [esp + 0x30]
push edx
push 1
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
je 0x401d35
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x401d35
mov ebx, edi
mov dword [esi + 0x20], 4
call fcn.00409d00
mov edi, dword [esp + 0x50]
mov ecx, dword [edi + 4]
push esi
push ebp
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x401d26
push esi
mov ecx, edi
call fcn.00401e50
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x401d81
mov esi, dword [esp + 0x20]
cmp ebx, dword [esi + 4]
jne 0x401d43
call fcn.0041a633
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x70], 0
jne 0x401d74
cmp ebx, dword [esi + 4]
jne 0x401d56
call fcn.0041a633
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0x18]
mov ebx, dword [esp + 0x50]
push edx
push eax
xor eax, eax
mov edi, ebp
mov byte [ecx + 0x70], 1
call fcn.00402000
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x18