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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax + 4], ebx
je 0x559a1d
mov ecx, dword [0x6d3584]
push 1
push ecx
mov ecx, esi
call fcn.0054d1d0
mov eax, dword [0x6cd768]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xb0]
mov byte [esi + 0x320e], bl
mov byte [ebp - 4], 2
mov cl, byte [eax + 0x185]
test cl, cl
je 0x5598f8
mov eax, dword [eax + 4]
push ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
call fcn.00402e00
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x559878
lea eax, [ebp - 0x24]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xfde9
call ebx
mov edi, eax
test edi, edi
je 0x5598c3
push edi
lea ecx, [ebp - 0x14]
call fcn.00603e09
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x5598a6
lea ecx, [ebp - 0x24]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
test eax, eax
je 0x5598c3
mov byte [esi + 0x320e], 1
mov al, byte [esi + 0x320e]
test al, al
jne 0x5598e8
mov edx, dword [esi + 0xb0]
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
push 0x6a10a0
push ecx
call fcn.005fc86b
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401070
xor ebx, ebx
jmp 0x55990d
mov edx, dword [eax + 4]
lea eax, [ebp - 0x14]
push edx
push 0x6a10a0
push eax
call fcn.005fc86b
add esp, 0xc
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x188]
test cl, cl
jne 0x55995e
mov eax, dword [eax + 4]
cmp byte [eax], 0x2f
jne 0x55995e
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
je 0x559a05
mov ecx, dword [ebp - 0x14]
push 0x6a1db0
inc ecx
lea edx, [ebp - 0x18]
push ecx
push str.CWD__s_s
push edx
call fcn.005fc86b
add esp, 0x10
mov byte [esi + 0x320d], 0
jmp 0x55997f
mov eax, dword [ebp - 0x14]
push 0x6a1db0
push eax
lea ecx, [ebp - 0x18]
push str.CWD__s_s
push ecx
mov byte [esi + 0x320d], 1
call fcn.005fc86b
add esp, 0x10
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push str.send___CWD
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
cmp edi, ebx
je 0x5599e7
mov eax, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [eax + 0x140], edi
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 9
lea ecx, [esi + 0x31d8]
call fcn.0059db90
mov ecx, esi
call fcn.0054f6f0
mov dword [esi + 0x8c], 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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