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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5f00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100f9124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x30], ebx
call dword [0x100fa5b0]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.1000e8f0
mov dword [ebp - 4], 0
call fcn.1008c1dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1000f51c
push 0x80004005
call fcn.10002060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x100f0c6c
push eax
mov byte [ebp - 4], 1
call fcn.10006c30
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x10
push eax
call fcn.10002180
add eax, 0x10
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 0x1c]
test esi, esi
mov byte [ebp - 4], 2
je 0x1000f6b2
call fcn.1008c1dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1000f586
push 0x80004005
call fcn.10002060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x20]
push ecx
push esi
lea edx, [ebp - 0x28]
push str._s:_s
push edx
mov byte [ebp - 4], 3
call fcn.10006c30
mov edi, dword [ebp - 0x28]
add esp, 0x10
test edi, edi
jne 0x1000f5ba
xor ebx, ebx
jmp 0x1000f5ec
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x1000f5cf
xor ebx, ebx
jmp 0x1000f5ec
lea esi, [eax + eax]
mov eax, esi
call fcn.10097b70
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], esp
mov eax, esp
push ecx
push esi
push edi
push eax
call fcn.1000e720
mov ebx, eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000f5f1
sub eax, edx
mov esi, eax
push 0
push esi
lea ecx, [ebp - 0x19]
call fcn.100038b0
mov dword [ebp - 0x20], eax
add eax, 1
call fcn.10097b70
mov dword [ebp - 0x10], esp
mov edi, esp
push 0
lea edx, [ebp - 0x20]
push edx
push edi
push esi
push ebx
lea ecx, [ebp - 0x19]
call fcn.10003930
test edi, edi
mov eax, dword [ebp - 0x20]
mov byte [edi + eax], 0
jne 0x1000f639
xor eax, eax
jmp 0x1000f66a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x1000f651
xor eax, eax
jmp 0x1000f66a
lea eax, [esi + esi]
call fcn.10097b70
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], esp
mov eax, esp
push ecx
push esi
push edi
push eax
call fcn.1000e6e0
push eax
lea edx, [ebp - 0x18]
push 0x100f0ca0
push edx
call fcn.10006c30
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 0xc]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.10006ae0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f6af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x1000f6db
push eax
lea ecx, [ebp - 0x18]
push 0x100f0ce0
push ecx
call fcn.10006c30
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 0xc]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.10006ae0
push 2
push 0x100b7788
lea ecx, [ebp - 0x24]
call fcn.10006ae0
mov edi, dword [ebp - 0x24]
test edi, edi
jne 0x1000f6f5
xor eax, eax
jmp 0x1000f725
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x1000f70a
xor eax, eax
jmp 0x1000f725
lea esi, [eax + eax]
mov eax, esi
call fcn.10097b70
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], esp
mov eax, esp
push edx
push esi
push edi
push eax
call fcn.1000e720
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x1000f730
push 0
sub ecx, esi
push ecx
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1000f755
push 0
call fcn.1000e790
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x24]
push esi
push ecx
mov ecx, ebx
call fcn.1000f340
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x1000f7e1
push 0x100b767c
push eax
call fcn.1009599e
add esp, 8
test eax, eax
je 0x1000f7e1
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x1000f7e1
mov ecx, dword [ecx - 0xc]
sub ecx, eax
sub ecx, 1
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.100057e0
mov eax, dword [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.10097bad
add esp, 4
cmp eax, 0xc8
je 0x1000f7be
push 0x4c9
call fcn.1000e790
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f7e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f824
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009536d
mov esp, ebp
pop ebp
ret 0x24