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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x10036040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
push 0x1003cd7c
mov dword [ebp - 0x3a0], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
sub esi, 1
je 0x100048e4
sub esi, 1
je 0x100047e4
sub esi, 1
jne 0x100049fe
push 0x80
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.1000ea10
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.100051e0
push 0x80
mov edi, eax
lea eax, [ebp - 0x88]
push 0x1003cbb8
push eax
call fcn.10012390
add esp, 0xc
test eax, eax
jne 0x100046cb
push 0x1f7
push eax
lea eax, [ebp - 0x37f]
mov word [ebp - 0x394], 0xd
push eax
mov word [ebp - 0x392], di
call fcn.1000ea10
add esp, 0xc
push esi
call fcn.1000d62d
add esp, 4
push eax
call fcn.1000d0d3
mov eax, dword [ebp - 0x394]
add esp, 4
mov dword [ebp - 0x387], eax
lea eax, [ebp - 0x388]
mov byte [ebp - 0x388], 9
mov dword [ebp - 0x383], 0x13305c2
push esi
push 9
push eax
push ebx
jmp 0x100049f6
mov ecx, 0x1003cbb8
lea esi, [ebp - 0x88]
mov edx, 0x80
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x10004700
mov al, byte [esi + ecx]
test al, al
je 0x100046fb
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x100046e0
jmp 0x100046ff
test edx, edx
jne 0x10004700
dec ecx
push 0x100
lea eax, [ebp - 0x188]
mov byte [ecx], 0
push 0
push eax
call fcn.1000ea10
add esp, 0xc
mov eax, 2
mov word [ebp - 0x38c], ax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0x100318e8
push eax
push 0x100318ec
push eax
push 0x100318f0
push eax
push 0x100318f4
push 0x100318f8
lea eax, [ebp - 0x188]
push 0x100
push eax
call fcn.10001250
lea ebx, [ebp - 0x188]
add esp, 0x30
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10004770
sub ebx, ecx
cmp ebx, 0x100
jae 0x10004a1c
push 0x200
mov byte [ebp + ebx - 0x188], al
lea eax, [ebp - 0x388]
push 0
push eax
mov dword [ebp - 0x390], 0x13305c2
mov byte [ebp - 0x394], 9
mov word [ebp - 0x392], di
mov byte [ebp - 0x393], bl
call fcn.1000ea10
add esp, 0xc
lea eax, [ebp - 0x394]
lea edx, [ebp - 0x188]
lea ecx, [ebp - 0x388]
push eax
push ebx
call fcn.10006c40
add esp, 8
push 0
push eax
jmp 0x100049e9
push 0x80
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.1000ea10
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.100051e0
mov edx, 0x1003cbb8
mov dword [ebp - 0x398], eax
lea edi, [ebp - 0x88]
mov esi, 0x80
sub edi, edx
nop dword [eax]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x10004840
mov al, byte [edi + edx]
test al, al
je 0x1000483b
mov byte [edx], al
inc edx
sub esi, 1
jne 0x10004820
jmp 0x1000483f
test esi, esi
jne 0x10004840
dec edx
push 0x100
lea eax, [ebp - 0x188]
mov byte [edx], 0
push 0
push eax
call fcn.1000ea10
add esp, 0xc
mov eax, 2
mov word [ebp - 0x38c], ax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0x100318c0
push eax
push 0x100318c4
push eax
push 0x100318c8
push eax
push 0x100318cc
push 0x100318d0
lea eax, [ebp - 0x188]
push 0x100
push eax
call fcn.10001250
lea ebx, [ebp - 0x188]
add esp, 0x30
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100048b0
sub ebx, ecx
mov dword [ebp - 0x390], ebx
cmp ebx, 0x100
jae 0x10004a1c
mov byte [ebp + ebx - 0x188], al
mov eax, dword [ebp - 0x398]
mov byte [ebp - 0x39c], 9
jmp 0x1000497b
push 0x100
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.1000ea10
add esp, 0xc
mov eax, 2
mov word [ebp - 0x38c], ax
lea eax, [ebp - 0x38c]
push 0x134db32
push eax
push 0x1003ceb0
push eax
push 0x1003cc50
push eax
push 0x1003ba80
push eax
push 0x100318a4
push str._s_s_s_s_s_s_s_s_lu
lea eax, [ebp - 0x188]
push 0x100
push eax
call fcn.10001250
lea ebx, [ebp - 0x188]
add esp, 0x30
lea ecx, [ebx + 1]
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10004950
sub ebx, ecx
mov dword [ebp - 0x390], ebx
cmp ebx, 0x100
jae 0x10004a1c
mov byte [ebp + ebx - 0x188], al
xor eax, eax
mov byte [ebp - 0x39c], 5
push 0x1f7
mov word [ebp - 0x39a], ax
lea eax, [ebp - 0x37f]
push 0
push eax
mov byte [ebp - 0x39b], bl
call fcn.1000ea10
add esp, 0xc
lea ecx, [ebp - 0x188]
mov edx, ebx
call fcn.10009c80
mov eax, dword [ebp - 0x39c]
add ebx, 9
push dword [ebp - 0x390]
mov dword [ebp - 0x387], eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x37f]
mov byte [ebp - 0x388], bl
push eax
mov dword [ebp - 0x383], 0x13305c2
call fcn.10010080
add esp, 0xc
push 0
push ebx
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 0x3a0]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
push 0x1003cd7c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d0c5
mov esp, ebp
pop ebp
ret
call fcn.1000d1fa
int3