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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ef51
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x411c
call fcn.0045a270
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x4118], eax
push ebx
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x4130]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x24], eax
xor eax, eax
push 0x884
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
call fcn.00458160
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
call fcn.00418690
mov edx, dword [esp + 0x8ac]
push edx
lea esi, [esp + 0x30]
mov edi, ebx
call fcn.00417c90
test eax, eax
je 0x418091
push 0x2800
lea eax, [esp + 0x1928]
push 0
push eax
call fcn.00458160
mov edi, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push edi
push ebx
lea esi, [esp + 0x1930]
lea eax, [esp + 0xb8]
call fcn.00418ac0
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x417f10
sub eax, edx
push 0
push eax
mov eax, dword [ebx]
lea edx, [esp + 0x192c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x41809b
push 0xc6c
lea ecx, [esp + 0x8b8]
push 0
push ecx
call fcn.00458160
add esp, 0xc
push 0x400
lea edx, [esp + 0x1528]
push 0
push edx
call fcn.00458160
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x8b8]
push ecx
lea ecx, [esp + 0x152c]
mov edx, ebx
call fcn.00417d20
push 0x1400
lea esi, [ebx + 4]
push 0
push esi
call fcn.00458160
lea eax, [esp + 0x1128]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x417fa0
sub eax, edx
cmp eax, 8
jbe 0x417fe0
lea eax, [esp + 0x111c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x417fc0
sub eax, edx
add eax, 0xfffffff8
push eax
lea edx, [esp + 0x1120]
push edx
push esi
call fcn.00454500
add esp, 0xc
lea eax, [esp + 0xd1c]
push 0x47b3d4
push eax
call fcn.00468095
add esp, 8
test eax, eax
je 0x4180a5
cmp dword [esp + 0x151c], 0xc8
je 0x4180c5
mov esi, dword [esp + 0x28]
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x418018
lea eax, [esp + 0xd1c]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x418031
mov edi, dword [esp + 0x14]
mov edx, dword [ebx]
add edi, 1
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp edi, 0xa
je 0x4180a5
push 0x884
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00458160
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov edi, esi
call fcn.00418690
mov edx, dword [esp + 0x8ac]
push edx
lea esi, [esp + 0x30]
mov edi, ebx
call fcn.00417c90
test eax, eax
jne 0x417ed0
mov eax, 0x65
jmp 0x41823f
mov eax, 0x66
jmp 0x41823f
cmp dword [esp + 0x151c], 0xc8
je 0x4180c5
mov eax, dword [ebx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0x67
jmp 0x41823f
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
lea ecx, [esp + 0x1524]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00418520
mov esi, dword [esp + 0x20]
lea edx, [esp + 0xcdc]
push edx
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.00410560
lea edi, [esp + 0x1c]
mov dword [esp + 0x4138], 0
call fcn.0040e820
mov eax, dword [esp + 0x1c]
push str.chunked
push eax
call fcn.0045599c
add esp, 8
test eax, eax
sete al
test al, al
je 0x418206
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00410560
mov byte [esp + 0x4138], 1
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
jge 0x418151
or edi, 0xffffffff
jmp 0x418170
push 0x47c208
push ecx
call fcn.00455250
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x41816c
or edi, 0xffffffff
jmp 0x418170
sub eax, ecx
mov edi, eax
push 0x30
push ecx
call fcn.00455323
add esp, 8
test eax, eax
jne 0x418184
or eax, 0xffffffff
jmp 0x418188
sub eax, dword [esp + 0x10]
cmp edi, 0xffffffff
je 0x4181de
sub eax, edi
sub eax, 2
push eax
add edi, 2
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040e880
mov byte [esp + 0x4138], 2
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.0040ed30
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004585d0
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esi], eax
call fcn.00410760
mov byte [esp + 0x4138], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esp + 0x4138], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41823a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x64
mov ecx, dword [esp + 0x4130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4118]
xor ecx, esp
call fcn.004540ed
mov esp, ebp
pop ebp
ret 0xc