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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6094a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x6ca27c]
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
push 0x6ce7c8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005e11fa
mov ecx, dword [ebx + 0xb0]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, esi
je 0x54163d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jle 0x54163d
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x6ce7c8
je 0x54162a
mov eax, 0x6a2958
push eax
push edx
lea edx, [ebp - 0x1c]
push 0x6a0048
push edx
call fcn.005d9fbb
add esp, 0x10
mov eax, dword [0x6cff08]
push 1
push eax
mov ecx, ebx
call fcn.00534870
mov ecx, dword [ebx + 0xb0]
mov al, byte [ecx + 0x175]
test al, al
je 0x541661
mov eax, dword [ebp - 0x1c]
jmp 0x54167b
push 0x6ce7c8
lea ecx, [ebp - 0x24]
call fcn.005e11fa
mov dword [ebp - 0x20], 1
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov edx, dword [ebx + 0xb0]
push 0x6a0cc0
mov ecx, dword [edx + 8]
lea edx, [ebp - 0x18]
push ecx
push eax
push str.LIST__s_s_s
push edx
call fcn.005d9fbb
mov al, byte [ebp - 0x20]
add esp, 0x14
test al, 1
mov dword [ebp - 4], 2
je 0x5416b2
lea ecx, [ebp - 0x24]
call fcn.005e118c
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xb0]
mov byte [ebx + 0x3207], 0
mov byte [ebp - 4], 4
mov cl, byte [eax + 0x172]
test cl, cl
jne 0x54170b
mov cl, byte [eax + 0x173]
test cl, cl
je 0x5416f1
cmp dword [ebx + 0x3a34], esi
jg 0x54170b
jl 0x5416f1
cmp dword [ebx + 0x3a30], esi
ja 0x54170b
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push 0x69ffbc
push edx
call fcn.005d9fbb
add esp, 0xc
jmp 0x5417f8
mov esi, dword [ebp - 0x18]
xor edi, edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x30], di
call fcn.00401070
cmp esi, edi
je 0x54176f
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x54176f
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push eax
call edi
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x54176f
lea eax, [eax + eax + 2]
push eax
call fcn.005dd58d
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x541772
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 5
jne 0x54177d
lea eax, [ebp - 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov esi, eax
test esi, esi
je 0x5417cd
push esi
lea ecx, [ebp - 0x14]
call fcn.005e1559
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x5417b0
lea ecx, [ebp - 0x30]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call edi
test eax, eax
je 0x5417cd
mov byte [ebx + 0x3207], 1
mov al, byte [ebx + 0x3207]
test al, al
jne 0x5417ec
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push edx
push 0x69ffbc
push eax
call fcn.005d9fbb
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00401070
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push str.send___LIST
dec ecx
push 0
push ecx
mov ecx, dword [ebx + 0x31dc]
push edx
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, ebx
call fcn.005349f0
mov esi, eax
test esi, esi
je 0x54186d
mov edx, dword [ebx + 0x31ec]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [edx + 0x160], esi
call fcn.005e118c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005e118c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf
lea ecx, [ebx + 0x31d0]
call fcn.0057df90
mov ecx, ebx
call fcn.005364e0
mov eax, dword [ebx + 0x31ec]
mov dword [ebx + 0x8c], 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [eax + 0x86c], 2
call fcn.005e118c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005e118c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret