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

Disassembly:
sub esp, 0x228
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, dword [esp + 0x240]
push ebp
push esi
mov esi, dword [esp + 0x23c]
push edi
mov dword [esp + 0x30], ebx
cmp dword [0x101d336c], 0xffffffd9
mov bh, bh
mov ebx, ebx
mov bl, bl
cmp dword [0x101d334c], 0x6c78
push ecx
pop ecx
cmp dword [0x101d3368], 0xffffe0f2
cmp dword [0x101d3354], 0x7a43
cmp dword [0x101d3348], 0xffffaed2
mov ah, ah
cmp dword [0x101d3354], 0x7a43
nop
cmp dword [0x101d334c], 0x6c78
cmp dword [0x101d336c], 0xffffffd9
cmp dword [0x101d3348], 0xffffaed2
mov dword [esp + 0x20], 0
cmp dword [0x101d3350], 0xffffc960
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
cmp dword [0x101d3348], 0xffffaed2
mov dword [esp + 0x14], eax
cmp dword [0x101d336c], 0x26
test esi, esi
je 0x101091cf
mov ebp, dword [esp + 0x244]
test ebp, ebp
je 0x101091cf
test ebx, ebx
je 0x101091cf
mov dword [ebx], 0
cmp dword [0x101d3350], 0x369f
mov dword [esp + 0x18], 4
mov dl, dl
mov edi, dword [esp + 0x23c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x1005
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x10108f02
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
push ecx
pop ecx
mov dword [esp + 0x20], 1
mov cl, cl
mov dword [esp + 0x1c], 0xffffffff
cmp dword [0x101d3354], 0x7a43
jmp 0x101091e7
mov edx, dword [esp + 0x248]
push 4
lea eax, [esp + 0x14]
push eax
push 0x1005
push 0xffff
push edi
mov dword [esp + 0x24], edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x10108f52
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
push ecx
pop ecx
mov dword [esp + 0x20], 1
cmp dword [0x101d336c], 0x26
mov dword [esp + 0x1c], 0xffffffff
mov edi, edi
jmp 0x101091e7
lea eax, [ebp + 4]
mov ebx, eax
and ebx, 0x1ff
neg ebx
sbb ebx, ebx
neg ebx
shr eax, 9
add ebx, eax
mov ebp, ebp
mov dword [esp + 0x24], 0
xchg ebx, eax
xchg ebx, eax
mov edi, esi
mov ebp, ebp
mov bh, bh
test ebx, ebx
mov dword [esp + 0x28], 0
jle 0x101091e7
jmp 0x10108f94
mov edi, dword [esp + 0x2c]
push 0x200
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.1012ea60
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x10108fef
mov esi, esi
cmp ebp, 0x1fc
mov esi, ebp
jb 0x10108fc0
mov esi, 0x1fc
nop
mov edx, dword [esp + 0x244]
mov dword [esp + 0x34], edx
mov ecx, ecx
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1012fbf0
add esp, 0xc
push ecx
pop ecx
add edi, esi
mov dword [esp + 0x2c], edi
mov bh, bh
sub ebp, esi
nop
add esi, 4
jmp 0x10109034
push eax
pop eax
cmp ebp, 0x200
mov esi, ebp
jl 0x10109000
mov esi, 0x200
cmp dword [0x101d3354], 0x7a43
push esi
lea edx, [esp + 0x38]
push edi
push edx
call fcn.1012fbf0
add esp, 0xc
cmp dword [0x101d336c], 0x26
add edi, esi
mov dword [esp + 0x2c], edi
cmp dword [0x101d3360], 0x2da4
sub ebp, esi
push ebx
pop ebx
cmp dword [0x101d3354], 0x7a43
lea edi, [esp + 0x34]
mov edi, edi
test esi, esi
jle 0x101090b7
jmp 0x10109050
mov eax, dword [esp + 0x23c]
push 0
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x101090cf
test eax, eax
je 0x1010916d
cmp eax, esi
jne 0x10109087
add dword [esp + 0x24], eax
cmp dword [0x101d3354], 0x7a43
sub esi, eax
push eax
pop eax
jmp 0x101090b3
jg 0x1010918b
cmp eax, esi
jge 0x101091a9
add dword [esp + 0x24], eax
cmp dword [0x101d3364], 0xffffd0a6
sub esi, eax
mov ebp, ebp
add edi, eax
cmp dword [0x101d335c], 0x6408
test esi, esi
jg 0x10109050
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x10108f90
jmp 0x101091e7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
cmp dword [0x101d3360], 0x2da4
mov eax, dword [ecx]
cmp eax, 0x2746
je 0x1010914c
cmp eax, 0x2745
je 0x1010914c
cmp eax, 0x274a
je 0x1010914c
cmp eax, 0x2744
je 0x1010914c
cmp eax, 0x274c
mov dword [esp + 0x20], 1
jne 0x1010912b
cmp dword [0x101d334c], 0x6c78
mov dword [esp + 0x1c], 0xfffffffb
mov eax, eax
jmp 0x101091e7
cmp dword [0x101d3348], 0x512d
mov dword [esp + 0x1c], 0xffffffff
cmp dword [0x101d3358], 0xffffd980
jmp 0x101091e7
mov dword [esp + 0x20], 1
cmp dword [0x101d3368], 0xffffe0f2
mov dword [esp + 0x1c], 0xfffffffa
mov cl, cl
jmp 0x101091e7
mov dword [esp + 0x20], 1
cmp dword [0x101d3364], 0x2f59
mov dword [esp + 0x1c], 0
mov bl, bl
jmp 0x101091e7
mov dword [esp + 0x20], 1
cmp dword [0x101d3368], 0xffffe0f2
mov dword [esp + 0x1c], 0xffffffff
mov ebp, ebp
jmp 0x101091e7
mov dword [esp + 0x20], 1
cmp dword [0x101d3364], 0xffffd0a6
mov dword [esp + 0x1c], 0xffffffff
cmp dword [0x101d334c], 0x6c78
jmp 0x101091e7
mov dword [esp + 0x20], 1
cmp dword [0x101d335c], 0x6408
mov dword [esp + 0x1c], eax
mov ch, ch
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x10109260
mov dword [esp], eax
cmp dword [0x101d335c], 0xffff9bf7
mov edx, dword [esp + 0x22c]
push 4
lea ecx, [esp + 4]
push ecx
push 0x1005
push 0xffff
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x10109260
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov ebx, ebx
mov al, al
mov dword [esp + 0xc], 0xffffffff
cmp dword [0x101d3354], 0x7a43
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x228
ret
cmp dword [esp + 0x10], 1
jne 0x10109280
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x228
ret
nop
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
xor ecx, esp
add eax, 0xfffffffc
call fcn.1012e3ba
add esp, 0x228
ret