Function at 0x4125d0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489c87
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4bd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 6
push str.unauth
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.00403320
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push 7
push str.stats_r_n
mov dword [ebp - 0x78], 0x1f4
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.00403320
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044a330
add esp, 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 2
call fcn.0043a6b0
test eax, eax
jne 0x41294b
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
push 4
lea eax, [ebp - 0x78]
mov dword [ebp - 0xc4], edi
push eax
push 0x1006
push 0xffff
push edi
call esi
push 4
lea eax, [ebp - 0x78]
push eax
push 0x1005
push 0xffff
push edi
call esi
cmp edi, 0xffffffff
je 0x412951
sub esp, 0x18
lea esi, [ebx + 0x58]
mov ecx, esp
push esi
call fcn.00403180
push dword [ebx + 0x70]
lea eax, [ebp - 0xc4]
push eax
call fcn.0043a6f0
test eax, eax
jne 0x41294b
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
mov edi, dword [ebp - 0xc4]
cmovae eax, dword [ebp - 0xa8]
push 0
push dword [ebp - 0x98]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x412951
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0043a7d0
test eax, eax
jne 0x41294b
cmp dword [ebp - 0x7c], 0x10
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x80]
cmovae ecx, dword [ebp - 0x90]
push 8
push str.STAT_pid
push ecx
call fcn.00409ed0
add esp, 0xc
cmp eax, 0xffffffff
je 0x41294b
cmp dword [ebp - 0xac], 0x10
lea eax, [ebp - 0xc0]
lea edi, [ebx + 0x40]
cmovae eax, dword [ebp - 0xc0]
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4127ae
mov ecx, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x4127b6
mov esi, dword [esi]
push eax
push ecx
push esi
lea eax, [ebp - 0x74]
push str._s__s__s
push eax
call fcn.00401410
push 0x4c0f64
call fcn.0044684a
add esp, 0x18
test eax, eax
je 0x4127e1
push eax
call fcn.004463ca
add esp, 4
sub esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, esp
mov dword [ebp - 0xc8], esp
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412803
sub ecx, esi
lea eax, [ebp - 0x74]
push ecx
push eax
mov ecx, edx
call fcn.00403320
mov byte [ebp - 4], 3
push dword [ebx + 0x70]
push 1
push 1
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00403180
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00419430
push eax
mov byte [ebp - 4], 4
call fcn.00409b20
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00419570
push 0x4c0f64
call fcn.0044686f
add esp, 4
test eax, eax
je 0x412870
push eax
call fcn.004463ca
add esp, 4
push dword [ebp - 0xc4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x4128b3
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4128a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41297d
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x412902
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4128f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412982
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x412961
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412987
jmp 0x412957
mov edi, dword [ebp - 0xc4]
push edi
jmp 0x412876
push edx
push ecx
call fcn.004449d2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444991
mov esp, ebp
pop ebp
ret
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
int3