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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x94c
mov esi, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0
lea edi, [esp + 0x44]
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
mov dword [esp + 0xc0], 0
lea edi, [esp + 0xc4]
mov cl, 0x1f
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x160]
lea ecx, [edi + 0x1cb0]
mov eax, dword [edi + 0x1eb4]
sub eax, dword [edi + 0x1eb0]
add eax, 2
mov dword [esp], eax
mov edx, 0x3c
mov eax, esi
call fcn.00599a1c
mov edx, dword [edi + 0x1eb0]
mov al, byte [edx]
inc edx
mov dword [edi + 0x1eb0], edx
cmp al, 0x23
je 0x59a223
cmp al, 0x27
je 0x59a2eb
cmp al, 0x18
jne 0x59a458
lea edx, [edi + 0x1c08]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ebx, ecx
not ebx
lea edi, [ebx - 1]
mov dword [esp + 0x24], 0xf0
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x18
jmp 0x59a25d
lea edx, [edi + 0x1c28]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ebx, ecx
not ebx
lea edi, [ebx - 1]
mov dword [esp + 0x24], 0xf0
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x23
mov dword [esp + 0x10], 0xfa
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], str._c_c_c_c_s_c_c
mov dword [esp + 4], 0x800
lea ebp, [esp + 0x140]
mov dword [esp], ebp
call sym.curl.exe_curl_msnprintf
mov dword [esp + 0xc], 0
add ebx, 5
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov dword [esp], eax
call sub.WS2_32.dll_send
sub esp, 0x10
test eax, eax
jns 0x59a2cd
call sub.WS2_32.dll_WSAGetLastError
mov dword [esp + 8], eax
mov dword [esp + 4], str.Sending_data_failed___d_
mov dword [esp], esi
call fcn.0040dcf0
add edi, 4
mov dword [esp], edi
lea ecx, [esp + 0x142]
mov edx, 0x3e
mov eax, esi
call fcn.00599a1c
jmp 0x59a458
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x27
mov dword [esp + 0x10], 0xfa
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x5a9697
mov dword [esp + 4], 0x800
lea eax, [esp + 0x140]
mov dword [esp], eax
call sym.curl.exe_curl_msnprintf
mov ebx, dword [edi + 0x1cac]
mov ebp, 4
jmp 0x59a3c4
mov edx, dword [ebx]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebp + ecx]
cmp edi, 0x7f9
ja 0x59a3c1
lea eax, [esp + 0xc0]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], str._127_____127s
mov dword [esp], edx
call sub.msvcrt.dll_sscanf
test eax, eax
je 0x59a3c1
lea edx, [esp + 0xc0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 1
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._c_s_c_s
mov eax, 0x800
sub eax, ebp
mov dword [esp + 4], eax
lea eax, [esp + ebp + 0x140]
mov dword [esp], eax
call sym.curl.exe_curl_msnprintf
mov ebp, edi
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x59a33a
mov dword [esp + 0x10], 0xf0
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x5a96b8
mov eax, 0x800
sub eax, ebp
mov dword [esp + 4], eax
lea ebx, [esp + 0x140]
lea eax, [ebx + ebp]
mov dword [esp], eax
call sym.curl.exe_curl_msnprintf
mov dword [esp + 0xc], 0
lea eax, [ebp + 2]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov dword [esp], eax
call sub.WS2_32.dll_send
sub esp, 0x10
test eax, eax
jns 0x59a442
call sub.WS2_32.dll_WSAGetLastError
mov dword [esp + 8], eax
mov dword [esp + 4], str.Sending_data_failed___d_
mov dword [esp], esi
call fcn.0040dcf0
mov dword [esp], ebp
lea ecx, [esp + 0x142]
mov edx, 0x3e
mov eax, esi
call fcn.00599a1c
add esp, 0x94c
pop ebx
pop esi
pop edi
pop ebp
ret