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

Disassembly:
sub esp, 0x90c
mov eax, dword [0x7c9564]
xor eax, esp
mov dword [esp + 0x908], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x7f
lea eax, [esp + 0x9d]
push ebx
push eax
mov esi, ecx
mov byte [esp + 0xa4], bl
call fcn.004d1020
push 0x7f
lea ecx, [esp + 0x29]
push ebx
push ecx
mov byte [esp + 0x30], bl
call fcn.004d1020
mov ebp, dword [esi + 0x134]
mov eax, dword [ebp + 0x1eb8]
sub eax, dword [ebp + 0x1eb4]
mov edx, dword [esi + 0xc]
add eax, 2
push eax
lea ecx, [ebp + 0x1cb4]
lea eax, [ebx + 0x3c]
mov dword [esp + 0x30], edx
call fcn.00437e70
mov eax, dword [ebp + 0x1eb4]
movzx ecx, byte [eax]
inc eax
add esp, 0x1c
mov dword [ebp + 0x1eb4], eax
cmp ecx, 0x18
je 0x438675
cmp ecx, 0x23
je 0x438615
cmp ecx, 0x27
jne 0x43870a
push ebx
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea ecx, [esp + 0x12c]
push 0x800
push ecx
call fcn.00430880
mov ebp, dword [ebp + 0x1cb0]
add esp, 0x1c
lea edi, [ebx + 4]
cmp ebp, ebx
je 0x4385d1
mov eax, dword [ebp]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438520
sub eax, edx
lea edx, [eax + edi + 1]
cmp edx, 0x7fa
jae 0x4385c6
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x24], bl
mov eax, dword [ebp]
push str._127____1____127s
push eax
mov word [esp + 0x24], bx
call fcn.004d20a5
add esp, 0x14
cmp eax, 1
jne 0x438592
lea ecx, [esp + 0x98]
push ecx
push ebx
mov edx, 0x800
push str._c_s
sub edx, edi
push edx
lea eax, [esp + edi + 0x128]
push eax
call fcn.00430880
add esp, 0x14
jmp 0x4385c4
cmp eax, 2
jl 0x4385c6
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0xa0]
push edx
push ebx
mov eax, 0x800
push str._c_s_c_s
sub eax, edi
push eax
lea ecx, [esp + edi + 0x130]
push ecx
call fcn.00430880
add esp, 0x1c
add edi, eax
mov ebp, dword [ebp + 4]
cmp ebp, ebx
jne 0x438514
push 0xf0
push 0xff
mov edx, 0x800
push 0x729bd8
sub edx, edi
push edx
lea eax, [esp + edi + 0x128]
push eax
call fcn.00430880
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x148]
add esp, 0x14
push ebx
add edi, 2
push edi
lea ecx, [esp + 0x120]
push ecx
push eax
jmp 0x4386d3
lea ecx, [ebp + 0x1c28]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x438620
push 0xf0
push 0xff
push ecx
push ebx
push 0x23
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
lea ecx, [esp + 0x138]
sub eax, edi
push 0x800
push ecx
lea edi, [eax + 6]
call fcn.00430880
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x148]
add esp, 0x28
push ebx
push edi
lea edx, [esp + 0x120]
push edx
push ecx
jmp 0x4386d3
lea ecx, [ebp + 0x1c08]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x438680
push 0xf0
push 0xff
push ecx
push ebx
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
lea edx, [esp + 0x138]
sub eax, edi
push 0x800
push edx
lea edi, [eax + 6]
call fcn.00430880
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x148]
add esp, 0x28
push ebx
push edi
lea eax, [esp + 0x120]
push eax
push edx
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
jns 0x4386f2
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042c1c0
add esp, 0xc
add edi, 0xfffffffe
push edi
lea ecx, [esp + 0x11e]
mov eax, 0x3e
call fcn.00437e70
add esp, 4
mov ecx, dword [esp + 0x918]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d0e4d
add esp, 0x90c
ret