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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
mov eax, dword [0x10025014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
sub edx, 1
je 0x10003be2
sub edx, 1
je 0x10003ad0
sub edx, 1
jne 0x10003cc4
mov esi, 0x80
lea eax, [ebp - 0x88]
push esi
push ebx
push eax
call fcn.1000a7f0
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.10004b8c
push esi
mov dword [ebp - 0x4a0], eax
lea eax, [ebp - 0x88]
push 0x10029660
push eax
call fcn.1000cd40
add esp, 0xc
test eax, eax
jne 0x10003a1e
mov al, byte [0x1002854c]
and al, 1
mov dword [ebp - 0x498], 0x13305c2
shl al, 6
or al, 0xd
mov byte [ebp - 0x49b], bl
mov byte [ebp - 0x49c], al
mov eax, dword [ebp - 0x4a0]
push 0x200
mov word [ebp - 0x49a], ax
lea eax, [ebp - 0x288]
push ebx
push eax
call fcn.1000a7f0
add esp, 0xc
lea eax, [ebp - 0x49c]
xor edx, edx
lea ecx, [ebp - 0x288]
push eax
push ebx
call fcn.100057ce
pop ecx
pop ecx
push ebx
push eax
lea eax, [ebp - 0x288]
jmp 0x10003cba
push SysReAllocString
lea eax, [ebp - 0x88]
mov edx, esi
push eax
push ecx
mov ecx, 0x10029660
call fcn.100011d3
mov esi, 0x100
lea eax, [ebp - 0x188]
push esi
push ebx
push eax
call fcn.1000a7f0
add esp, 0xc
lea ecx, [ebp - 0x48c]
push 2
pop eax
mov word [ebp - 0x48c], ax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x48c]
push eax
mov eax, 0x100215fc
push eax
push ecx
push eax
push ecx
push eax
push ecx
push eax
push str._s_s_s_s_s_s_s_s_s
lea eax, [ebp - 0x188]
push esi
push eax
call fcn.10001176
lea ecx, [ebp - 0x188]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003a95
sub ecx, edx
mov dword [ebp - 0x498], ecx
cmp ecx, esi
jae 0x10003cd5
mov al, byte [0x1002854c]
and al, 1
mov byte [ebp + ecx - 0x188], bl
shl al, 6
or al, 9
mov byte [ebp - 0x494], al
mov eax, dword [ebp - 0x4a0]
jmp 0x10003c66
mov esi, 0x80
lea eax, [ebp - 0x88]
push esi
push ebx
push eax
call fcn.1000a7f0
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.10004b8c
mov dword [ebp - 0x498], eax
mov edx, esi
push SysReAllocString
lea eax, [ebp - 0x88]
push eax
push ecx
mov ecx, 0x10029660
call fcn.100011d3
mov esi, 0x100
lea eax, [ebp - 0x188]
push esi
push ebx
push eax
call fcn.1000a7f0
add esp, 0xc
lea ecx, [ebp - 0x48c]
push 2
pop eax
mov word [ebp - 0x48c], ax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x48c]
push eax
mov eax, 0x100215fc
push eax
push ecx
push eax
push ecx
push eax
push ecx
push eax
push str._s_s_s_s_s_s_s_s_s
lea eax, [ebp - 0x188]
push esi
push eax
call fcn.10001176
lea ecx, [ebp - 0x188]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003b6e
sub ecx, edx
mov dword [ebp - 0x4a0], ecx
cmp ecx, esi
jae 0x10003cd5
mov eax, dword [ebp - 0x498]
mov word [ebp - 0x492], ax
mov al, byte [0x1002854c]
and al, 1
mov byte [ebp + ecx - 0x188], bl
shl al, 6
or al, 9
mov dword [ebp - 0x490], 0x13305c2
push 0x200
mov byte [ebp - 0x494], al
lea eax, [ebp - 0x488]
push ebx
push eax
mov byte [ebp - 0x493], cl
call fcn.1000a7f0
add esp, 0xc
lea eax, [ebp - 0x494]
push eax
push dword [ebp - 0x4a0]
jmp 0x10003c9f
mov esi, 0x100
lea eax, [ebp - 0x188]
push esi
push ebx
push eax
call fcn.1000a7f0
add esp, 0xc
push 2
pop eax
push 0x134b42b
mov word [ebp - 0x48c], ax
lea eax, [ebp - 0x48c]
push eax
push 0x1002a940
push eax
push 0x100296f8
push eax
push 0x1002852c
push eax
push 0x100215fc
push str._s_s_s_s_s_s_s_s_lu
lea eax, [ebp - 0x188]
push esi
push eax
call fcn.10001176
lea ecx, [ebp - 0x188]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003c43
sub ecx, edx
mov dword [ebp - 0x498], ecx
cmp ecx, esi
jae 0x10003cd5
mov byte [ebp + ecx - 0x188], bl
xor eax, eax
mov byte [ebp - 0x494], 5
push 0x200
mov word [ebp - 0x492], ax
lea eax, [ebp - 0x488]
push ebx
push eax
mov dword [ebp - 0x490], 0x13305c2
mov byte [ebp - 0x493], cl
call fcn.1000a7f0
add esp, 0xc
lea eax, [ebp - 0x494]
push eax
push dword [ebp - 0x498]
lea edx, [ebp - 0x188]
lea ecx, [ebp - 0x488]
call fcn.100057ce
pop ecx
pop ecx
push ebx
push eax
lea eax, [ebp - 0x488]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008f85
leave
ret
call fcn.100090ba
int3