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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662199
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov byte [ebp - 4], 1
push 0x67997c
lea ecx, [ebp - 0x2c]
call fcn.004030a0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x572a21
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5729f0
sub eax, edi
test eax, eax
jle 0x572a21
cmp byte [ecx + eax - 1], 0x2f
mov eax, 0x67997c
je 0x572a0e
mov eax, 0x67e070
push eax
push ecx
push 0x678de0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402f60
add esp, 0x10
push 1
mov edx, dword [0x75eb80]
push edx
mov ecx, esi
call fcn.00562ad0
mov eax, dword [esi + 0xc8]
cmp byte [eax + 0x1ad], 0
je 0x572a45
mov eax, dword [ebp - 0x2c]
jmp 0x572a60
push 0x67997c
lea ecx, [ebp - 0x38]
call fcn.004030a0
mov byte [ebp - 4], 3
mov ebx, 1
mov dword [ebp - 0x30], ebx
mov eax, dword [eax]
push 0x67b29c
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx + 8]
push edx
push eax
push str.LIST__s_s_s
lea eax, [ebp - 0x24]
push eax
call fcn.00402f60
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x572a9b
and ebx, 0xfffffffe
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x38]
call fcn.00402560
lea ecx, [ebp - 0x28]
call fcn.004024f0
mov byte [ebp - 4], 4
mov byte [esi + 0x322f], 0
mov eax, dword [esi + 0xc8]
cmp byte [eax + 0x1aa], 0
jne 0x572af4
cmp byte [eax + 0x1ab], 0
je 0x572ada
cmp dword [esi + 0x3a5c], 0
jg 0x572af4
jl 0x572ada
cmp dword [esi + 0x3a58], 0
ja 0x572af4
mov ecx, dword [ebp - 0x24]
push ecx
push 0x678ea8
lea edx, [ebp - 0x28]
push edx
call fcn.00402f60
add esp, 0xc
jmp 0x572b88
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.004070a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x572b0e
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call ebx
mov edi, eax
test edi, edi
je 0x572b5e
push edi
lea ecx, [ebp - 0x28]
call fcn.00402840
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x572b41
lea ecx, [ebp - 0x1c]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
test eax, eax
je 0x572b5e
mov byte [esi + 0x322f], 1
cmp byte [esi + 0x322f], 0
jne 0x572b7c
mov ecx, dword [ebp - 0x24]
push ecx
push 0x678ea8
lea edx, [ebp - 0x28]
push edx
call fcn.00402f60
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00401210
mov edx, dword [ebp - 0x28]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x572b90
sub eax, edi
push str.send___LIST
push 0
push eax
push edx
mov eax, dword [esi + 0x3204]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562bc0
mov edi, eax
test edi, edi
je 0x572bf3
mov ecx, dword [esi + 0x3214]
mov dword [ecx + 0x14c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402560
mov eax, edi
jmp 0x572c73
push 0xf
lea ecx, [esi + 0x31f8]
call fcn.005aa050
mov ecx, esi
call fcn.005624d0
mov dword [esi + 0xa4], 4
mov edx, dword [esi + 0x3214]
mov dword [edx + 0x864], 2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402560
xor eax, eax
jmp 0x572c73
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret