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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62f22d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6cc708]
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x33c8]
mov byte [ebp - 4], 1
cmp eax, edi
jne 0x5cc838
mov ecx, dword [ebx + 0xb0]
lea esi, [ebx + 0x3360]
push esi
lea edx, [ebx + 0x3310]
push 4
push edx
call dword [ecx + 0x3d8]
cmp eax, edi
mov dword [ebx + 0x3374], eax
je 0x5cc72e
mov ecx, dword [0x6cc708]
mov dword [ebp + 0xc], ecx
push eax
lea edx, [ebp + 0xc]
push str.Error_0x_x_reading_SECPKG_ATTR_STREAM_SIZES_n
push edx
mov byte [ebp - 4], 2
call fcn.005fb90b
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0054c4f0
mov eax, dword [ebx + 0xb4]
cmp eax, edi
jne 0x5cc6e2
mov ecx, dword [ebx + 0xb0]
mov edx, dword [ecx]
lea ecx, [ebp + 8]
push edx
call fcn.00602b44
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 3
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push eax
mov eax, dword [0x6d23b0]
push eax
push ecx
call fcn.005fb90b
mov al, byte [ebp - 0x1c]
add esp, 0xc
test al, 1
mov dword [ebp - 4], 2
je 0x5cc70d
lea ecx, [ebp + 8]
call fcn.00602ad6
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x9c]
push edx
call fcn.00554c40
mov ebx, dword [ebx + 0x3374]
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
jmp 0x5cc98d
mov eax, dword [ebx + 0x3368]
mov ecx, dword [ebx + 0x3364]
mov edx, dword [esi]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push str.Header:__d__Trailer:__d__MaxMessage:__d_r_n
push eax
call fcn.005fb90b
mov ecx, dword [ebp - 0x18]
add esp, 0x14
push ecx
mov ecx, ebx
call fcn.0054c4f0
mov edx, dword [ebx + 0x3364]
mov eax, dword [ebx + 0x3368]
add edx, eax
mov eax, dword [esi]
lea eax, [edx + eax + 0x80]
push eax
push edi
mov dword [ebx + 0x33d0], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebx + 0x33c8], eax
jne 0x5cc838
push str.Out_of_memory__2__n
mov ecx, ebx
call fcn.0054c4f0
mov ecx, dword [0x6cc708]
mov dword [ebp + 0xc], ecx
mov eax, dword [ebx + 0xb4]
mov byte [ebp - 4], 4
cmp eax, edi
jne 0x5cc7cd
mov edx, dword [ebx + 0xb0]
lea ecx, [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00602b44
mov dword [ebp - 0x1c], 2
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ecx, dword [0x6d23b0]
push eax
lea edx, [ebp + 0xc]
push ecx
push edx
call fcn.005fb90b
mov al, byte [ebp - 0x1c]
add esp, 0xc
test al, 2
mov dword [ebp - 4], 4
je 0x5cc7f9
lea ecx, [ebp + 8]
call fcn.00602ad6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x9c]
push eax
call fcn.00554c40
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x80090304
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x33c8]
mov edx, dword [ebx + 0x3360]
mov eax, dword [ebx + 0x3368]
lea edi, [ecx + edx]
mov edx, dword [ebp + 0xc]
cmp edx, eax
mov dword [ebx + 0x33d4], edi
mov dword [ebp - 0x20], eax
jae 0x5cc862
mov dword [ebp - 0x24], edx
jmp 0x5cc867
mov dword [ebp - 0x24], eax
mov edx, eax
mov esi, dword [ebp + 8]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x33d4]
mov byte [eax + ecx], 0
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
jae 0x5cc898
mov eax, dword [ebx + 0x33d4]
mov byte [ecx + eax], 0
mov eax, dword [ebx + 0x3360]
lea esi, [ebx + 0x3384]
mov ecx, dword [ebx + 0x33c8]
push 0
mov dword [esi], eax
mov eax, dword [ebx + 0x33d4]
mov dword [ebx + 0x3398], eax
add eax, edx
mov dword [ebx + 0x33a4], eax
lea eax, [ebx + 0x3378]
push eax
mov dword [ebx + 0x33d8], edx
mov dword [eax], 0
mov dword [ebx + 0x338c], ecx
mov ecx, dword [ebx + 0x3364]
mov dword [ebx + 0x3390], edx
mov edx, dword [ebx + 0xb0]
lea eax, [ebx + 0x3310]
push 0
push eax
mov dword [ebx + 0x3388], 7
mov dword [ebx + 0x3394], 1
mov dword [ebx + 0x339c], ecx
mov dword [ebx + 0x33a0], 6
mov dword [ebx + 0x33ac], 0
mov dword [ebx + 0x337c], 4
mov dword [ebx + 0x3380], esi
call dword [edx + 0x410]
test eax, eax
mov dword [ebx + 0x3374], eax
jge 0x5cc9b3
mov ecx, dword [0x6cc708]
mov dword [ebp + 0xc], ecx
push eax
lea edx, [ebp + 0xc]
push str.Error_0x_x_returned_by_EncryptMessage_n
push edx
mov byte [ebp - 4], 6
call fcn.005fb90b
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0054c4f0
mov ecx, dword [0x6d23ac]
push ecx
mov ecx, dword [ebx + 0x9c]
call fcn.00554c40
mov ebx, dword [ebx + 0x3374]
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x184]
test eax, eax
je 0x5cca15
mov cl, byte [eax + 0x137]
test cl, cl
je 0x5cca15
mov ecx, dword [ebx + 0x3444]
test ecx, ecx
je 0x5cca15
mov edi, dword [ebx + 0x339c]
mov edx, dword [ebx + 0x3390]
mov eax, dword [esi]
add edi, edx
mov edx, dword [ebx + 0x33c8]
add edi, eax
push edi
push edx
call fcn.005cc620
mov esi, eax
test esi, esi
jne 0x5ccbb9
push edi
lea eax, [ebp - 0x18]
push str._ld_bytes_of_request_sent_r_n
push eax
call fcn.005fb90b
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
jmp 0x5ccb96
mov edx, dword [ebx + 0x339c]
mov edi, dword [ebx + 0x3390]
mov ecx, dword [esi]
mov eax, dword [ebx + 0x33c8]
add edx, edi
push 0
add edx, ecx
mov ecx, dword [ebx + 0x31e0]
push edx
push eax
push ecx
call sub.WS2_32.dll_send
mov edi, eax
cmp edi, 0xffffffff
je 0x5cca4c
test edi, edi
jne 0x5ccb80
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x20]
cmp eax, 0x2733
jne 0x5ccaac
mov edx, dword [ebx + 0x339c]
mov edi, dword [ebx + 0x3390]
mov ecx, dword [esi]
mov eax, dword [ebx + 0x33c8]
add edx, edi
push 0
add edx, ecx
mov ecx, dword [ebx + 0x31e0]
push edx
push eax
push ecx
call sub.WS2_32.dll_send
mov edi, eax
cmp edi, 0xffffffff
je 0x5ccaa2
test edi, edi
je 0x5ccaa2
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0
jmp 0x5cca58
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0x20], eax
jmp 0x5cca58
mov cl, byte [ebp - 0x11]
test cl, cl
je 0x5ccb80
mov edx, dword [0x6cc708]
mov dword [ebp + 8], edx
push eax
lea eax, [ebp + 8]
push str.Error__d_sending_data_to_server__3__n
push eax
mov byte [ebp - 4], 7
call fcn.005fb90b
mov ecx, dword [ebp + 8]
add esp, 0xc
push ecx
mov ecx, ebx
call fcn.0054c4f0
mov eax, dword [ebx + 0xb4]
test eax, eax
jne 0x5ccb04
mov edx, dword [ebx + 0xb0]
lea ecx, [ebp - 0x24]
mov eax, dword [edx]
push eax
call fcn.00602b44
or dword [ebp - 0x1c], 4
mov byte [ebp - 4], 8
mov eax, dword [eax]
mov ecx, dword [0x6d23b0]
push eax
lea edx, [ebp + 8]
push ecx
push edx
call fcn.005fb90b
mov al, byte [ebp - 0x1c]
add esp, 0xc
test al, 4
mov dword [ebp - 4], 7
je 0x5ccb30
lea ecx, [ebp - 0x24]
call fcn.00602ad6
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x9c]
push eax
call fcn.00554c40
mov ecx, dword [ebx + 0xb0]
add ebx, 0x3310
push ebx
call dword [ecx + 0x3d0]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
lea edx, [ebp - 0x18]
push str._ld_bytes_of_request_sent_r_n
push edx
call fcn.005fb90b
mov eax, dword [ebp - 0x18]
add esp, 0xc
push eax
mov ecx, ebx
call fcn.0054c4f0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
jge 0x5ccbda
mov edx, dword [ebp + 8]
sub eax, ecx
add ecx, edx
push eax
push ecx
mov ecx, ebx
call fcn.005cc620
mov esi, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
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 8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
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 8