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

Disassembly:
push 0xffffffffffffffff
push 0x630152
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x10000
mov esi, ecx
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [esi + 0x342c], eax
jne 0x5cc55a
push str.Out_of_memory__1__n
mov ecx, esi
call fcn.0054d2a0
mov eax, dword [0x6cd768]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x24], edi
cmp eax, edi
mov ebx, 1
jne 0x5cc504
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx]
lea ecx, [esp + 0x34]
push edx
call fcn.00603aaa
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], bl
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [0x6d3418]
push eax
push ecx
call fcn.005fc86b
mov al, byte [esp + 0x1c]
add esp, 0xc
test bl, al
mov dword [esp + 0x24], edi
je 0x5cc52f
lea ecx, [esp + 0x34]
call fcn.00603a3c
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x9c]
push edx
call fcn.005559f0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov eax, 0x80090304
jmp 0x5cced1
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x3430], edi
mov dword [esi + 0x3434], eax
mov dword [esi + 0x3428], 0x90312
mov eax, dword [esi + 0x3428]
cmp eax, 0x90312
je 0x5cc597
cmp eax, 0x80090318
je 0x5cc597
cmp eax, 0x90320
jne 0x5cce95
mov ecx, dword [esi + 0x3430]
test ecx, ecx
je 0x5cc5ac
cmp eax, 0x80090318
jne 0x5cc672
mov eax, dword [esi + 0x3434]
test eax, eax
je 0x5cc668
push 0x3c
push ebx
mov ecx, esi
call fcn.0054eee0
test eax, eax
jne 0x5cced1
mov eax, dword [esi + 0x3430]
mov edi, dword [esi + 0x342c]
mov ecx, 0x10000
xor ebp, ebp
sub ecx, eax
push ebp
add eax, edi
push ecx
push eax
push ebx
mov ecx, esi
call fcn.005503b0
mov edi, eax
cmp edi, 0xffffffff
jne 0x5cc658
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x5cc64f
cmp ebp, 0x14
jge 0x5cc64f
push str.HandshakeLoopWSAEWB_n
mov ecx, esi
call fcn.0054d2a0
push 0x3c
push ebx
mov ecx, esi
call fcn.0054eee0
test eax, eax
jne 0x5cced1
mov eax, dword [esi + 0x3430]
mov ecx, dword [esi + 0x342c]
mov edx, 0x10000
push 0
sub edx, eax
add eax, ecx
push edx
push eax
push ebx
mov ecx, esi
call fcn.005503b0
mov edi, eax
inc ebp
cmp edi, 0xffffffff
je 0x5cc5f5
jmp 0x5cc658
cmp edi, 0xffffffff
je 0x5cc8ea
test edi, edi
je 0x5cca13
add dword [esi + 0x3430], edi
jmp 0x5cc672
mov dword [esi + 0x3434], 1
mov eax, dword [esi + 0x342c]
mov ecx, dword [esi + 0x3430]
mov dword [esi + 0x33f0], eax
lea eax, [esi + 0x33e8]
lea ebx, [esi + 0x3420]
lea ebp, [esi + 0x3418]
mov dword [eax], ecx
mov ecx, 2
mov dword [esi + 0x33ec], ecx
mov dword [esi + 0x33e0], ecx
mov dword [esi + 0x3410], ecx
lea ecx, [esi + 0x3400]
push ebx
push ebp
mov dword [esi + 0x33e4], eax
push ecx
lea eax, [esi + 0x33dc]
push 0
push 0
xor edx, edx
push eax
lea edi, [esi + 0x340c]
push 0x10
mov dword [eax], edx
mov eax, dword [esp + 0x50]
push 0
mov dword [ecx], edx
mov ecx, dword [esp + 0x50]
push 0xc11c
mov dword [esi + 0x33fc], edx
mov dword [esi + 0x33f4], edx
mov dword [esi + 0x33f8], edx
mov dword [esi + 0x3414], edx
mov dword [edi], edx
mov edx, dword [esi + 0xb0]
push 0
push eax
push ecx
mov dword [esi + 0x3404], 1
mov dword [esi + 0x3408], edi
call dword [edx + 0x3c4]
test eax, eax
mov dword [esi + 0x3428], eax
je 0x5cc745
cmp eax, 0x90312
je 0x5cc745
test eax, eax
jge 0x5cc850
mov eax, dword [ebp]
test ah, 0x40
je 0x5cc850
mov edi, dword [edi]
test edi, edi
je 0x5cc850
mov eax, dword [esi + 0x3414]
test eax, eax
je 0x5cc850
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x5cc7d2
mov dl, byte [ecx + 0x137]
test dl, dl
je 0x5cc7d2
mov ecx, dword [esi + 0x3444]
test ecx, ecx
je 0x5cc7d2
push edi
push eax
call fcn.005cd440
test eax, eax
jne 0x5cced1
mov edx, dword [0x6cd768]
mov dword [esp + 0x38], edx
push edi
lea eax, [esp + 0x3c]
push str._ld_bytes_of_handshake_data_sent_n
push eax
mov dword [esp + 0x30], 6
call fcn.005fc86b
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054d2a0
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov ebx, dword [esp + 0x2c]
jmp 0x5cc831
mov ebx, dword [esp + 0x2c]
push 0
push edi
push eax
push ebx
call sub.WS2_32.dll_send
or ebp, 0xffffffff
cmp eax, ebp
je 0x5ccb38
test eax, eax
je 0x5ccb38
mov edx, dword [0x6cd768]
mov dword [esp + 0x14], edx
push eax
lea eax, [esp + 0x18]
push str._ld_bytes_of_handshake_data_sent_n
push eax
mov dword [esp + 0x30], 9
call fcn.005fc86b
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054d2a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.00603a3c
mov eax, dword [esi + 0x3414]
mov edx, dword [esi + 0xb0]
push eax
call dword [edx + 0x3ec]
mov dword [esi + 0x3414], 0
jmp 0x5cc854
mov ebx, dword [esp + 0x2c]
mov eax, dword [esi + 0x3428]
cmp eax, 0x80090318
je 0x5cc578
xor ebp, ebp
cmp eax, ebp
je 0x5ccc0e
jl 0x5ccd6f
cmp eax, 0x90320
jne 0x5cc8a2
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
mov ecx, esi
call fcn.005cd1d0
mov dword [esi + 0x3434], ebp
mov dword [esi + 0x3428], 0x90312
jmp 0x5cc578
cmp dword [esi + 0x33f8], 5
jne 0x5cc8df
mov ecx, dword [esi + 0x342c]
mov eax, dword [esi + 0x33f4]
mov ebp, dword [esi + 0x3430]
mov edx, ecx
sub edx, eax
push eax
add edx, ebp
push edx
push ecx
call fcn.005e8260
mov eax, dword [esi + 0x33f4]
add esp, 0xc
mov dword [esi + 0x3430], eax
jmp 0x5cc578
mov dword [esi + 0x3430], ebp
jmp 0x5cc578
call sub.WS2_32.dll_WSAGetLastError
mov ecx, dword [0x6cd768]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
push eax
lea edx, [esp + 0x30]
mov edi, 2
push str.Error__d_reading_data_from_server_n
push edx
mov dword [esp + 0x30], edi
call fcn.005fc86b
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0054d2a0
mov ecx, dword [esi + 0xb0]
mov al, byte [ecx + 0x306]
test al, al
jne 0x5cc99d
mov al, byte [esi + 0xcb]
test al, al
lea eax, [ecx + 0x15c]
jne 0x5cc94b
lea eax, [ecx + 0x158]
mov edx, dword [eax]
test edx, edx
jne 0x5cc97e
mov dword [eax], 1
push str.Try_SSL3_r_n
mov ecx, esi
call fcn.0054d2a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov eax, 0x757e
jmp 0x5cced1
cmp edx, 1
jne 0x5cc98c
mov dword [eax], edi
push str.Try_TLS1_r_n
jmp 0x5cc95c
cmp edx, edi
jne 0x5cc99d
mov dword [eax], 3
push str.Try_SSL3_old_r_n
jmp 0x5cc95c
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x3428], 0x80090304
test eax, eax
jne 0x5cc9c6
mov ecx, dword [ecx]
push ecx
lea ecx, [esp + 0x34]
call fcn.00603aaa
mov dword [esp + 0x10], edi
mov byte [esp + 0x24], 3
mov eax, dword [eax]
mov edx, dword [0x6d3418]
push eax
lea eax, [esp + 0x30]
push edx
push eax
call fcn.005fc86b
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 2
mov dword [esp + 0x24], edi
je 0x5cc9f2
lea ecx, [esp + 0x30]
call fcn.00603a3c
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.005559f0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
jmp 0x5cce90
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x306]
test cl, cl
jne 0x5cca9d
mov cl, byte [esi + 0xcb]
test cl, cl
je 0x5cca34
add eax, 0x15c
jmp 0x5cca39
add eax, 0x158
mov ecx, dword [eax]
test ecx, ecx
jne 0x5cca5b
push str.Try_SSL3_r_n
mov ecx, esi
mov dword [eax], 1
call fcn.0054d2a0
mov eax, 0x757e
jmp 0x5cced1
cmp ecx, 1
jne 0x5cca7c
push str.Try_TLS1_r_n
mov ecx, esi
mov dword [eax], 2
call fcn.0054d2a0
mov eax, 0x757e
jmp 0x5cced1
cmp ecx, 2
jne 0x5cca9d
push str.Try_SSL3_old_r_n
mov ecx, esi
mov dword [eax], 3
call fcn.0054d2a0
mov eax, 0x757e
jmp 0x5cced1
push str.Server_unexpectedly_disconnected_n
mov ecx, esi
call fcn.0054d2a0
mov dword [esi + 0x3428], 0x80090304
mov edx, dword [0x6cd768]
mov dword [esp + 0x2c], edx
mov eax, dword [esi + 0xb4]
mov ebx, 4
test eax, eax
mov dword [esp + 0x24], ebx
jne 0x5ccaeb
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x34]
call fcn.00603aaa
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 5
mov eax, dword [eax]
mov edx, dword [0x6d3418]
push eax
lea eax, [esp + 0x30]
push edx
push eax
call fcn.005fc86b
mov al, byte [esp + 0x1c]
add esp, 0xc
test bl, al
mov dword [esp + 0x24], ebx
je 0x5ccb17
lea ecx, [esp + 0x30]
call fcn.00603a3c
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.005559f0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
jmp 0x5cce90
call sub.WS2_32.dll_WSAGetLastError
mov edx, dword [0x6cd768]
mov edi, eax
mov dword [esp + 0x2c], edx
push edi
lea eax, [esp + 0x30]
mov ebx, 7
push str.Error__d_sending_data_to_server__2__n
push eax
mov dword [esp + 0x30], ebx
call fcn.005fc86b
mov ecx, dword [esp + 0x38]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054d2a0
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x5ccb9a
mov edx, dword [esi + 0xb0]
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push eax
call fcn.00603aaa
mov dword [esp + 0x10], 8
mov byte [esp + 0x24], 8
mov eax, dword [eax]
mov ecx, dword [0x6d3418]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.005fc86b
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 8
mov dword [esp + 0x24], ebx
je 0x5ccbc6
lea ecx, [esp + 0x30]
call fcn.00603a3c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.005559f0
mov edx, dword [esi + 0x3414]
mov ecx, dword [esi + 0xb0]
push edx
call dword [ecx + 0x3ec]
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0xb0]
push ecx
call dword [eax + 0x3d0]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call fcn.00603a3c
mov eax, edi
jmp 0x5cced1
push str.Handshake_was_successful_n
mov ecx, esi
call fcn.0054d2a0
mov eax, dword [esi + 0x33f8]
mov byte [esi + 0x3304], 1
cmp eax, 5
jne 0x5ccd5e
mov edx, dword [esi + 0x33f4]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [esp + 0x3c]
cmp eax, ebp
mov dword [edi + 8], eax
jne 0x5cccea
push str.Out_of_memory__2__n
mov ecx, esi
call fcn.0054d2a0
mov eax, dword [0x6cd768]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xb4]
mov edi, 0xa
cmp eax, ebp
mov dword [esp + 0x24], edi
jne 0x5ccc94
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx]
lea ecx, [esp + 0x34]
push edx
call fcn.00603aaa
mov dword [esp + 0x10], 0x10
mov byte [esp + 0x24], 0xb
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [0x6d3418]
push eax
push ecx
call fcn.005fc86b
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 0x10
mov dword [esp + 0x24], edi
je 0x5cccbf
lea ecx, [esp + 0x34]
call fcn.00603a3c
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x9c]
push edx
call fcn.005559f0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov eax, 0x80090304
jmp 0x5cced1
mov ecx, dword [esi + 0x33f4]
mov edx, dword [esi + 0x3430]
mov ebp, dword [esi + 0x342c]
sub edx, ecx
add edx, ebp
push ecx
push edx
push eax
call fcn.005e8260
mov eax, dword [esi + 0x33f4]
mov dword [edi + 4], 2
mov dword [edi], eax
mov ecx, dword [0x6cd768]
add esp, 0xc
mov dword [esp + 0x38], ecx
mov edx, eax
lea eax, [esp + 0x38]
push edx
push str._d_bytes_of_app_data_was_bundled_with_handshake_data_n
push eax
mov dword [esp + 0x30], 0xc
call fcn.005fc86b
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054d2a0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x38]
jmp 0x5cce90
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], ebp
mov dword [eax], ebp
mov dword [eax + 4], ebp
jmp 0x5cce95
mov edx, dword [0x6cd768]
mov dword [esp + 0x30], edx
mov eax, dword [esi + 0x3428]
lea ecx, [esp + 0x30]
push eax
mov edi, 0xd
push str.Error_0x_x_returned_by_InitializeSecurityContext__2__n
push ecx
mov dword [esp + 0x30], edi
call fcn.005fc86b
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0054d2a0
mov ecx, dword [esi + 0xb0]
mov al, byte [ecx + 0x306]
test al, al
jne 0x5cce24
mov al, byte [esi + 0xcb]
test al, al
lea eax, [ecx + 0x15c]
jne 0x5ccdcd
lea eax, [ecx + 0x158]
mov edx, dword [eax]
cmp edx, ebp
jne 0x5ccde0
mov dword [eax], 1
push str.Try_SSL3_r_n
jmp 0x5cce02
cmp edx, 1
jne 0x5ccdf2
mov dword [eax], 2
push str.Try_TLS1_r_n
jmp 0x5cce02
cmp edx, 2
jne 0x5cce24
mov dword [eax], 3
push str.Try_SSL3_old_r_n
mov ecx, esi
call fcn.0054d2a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov eax, 0x757e
jmp 0x5cced1
mov eax, dword [esi + 0xb4]
mov ebx, 0x20
cmp eax, ebp
jne 0x5cce48
mov eax, dword [ecx]
lea ecx, [esp + 0x3c]
push eax
call fcn.00603aaa
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 0xe
mov eax, dword [eax]
mov ecx, dword [0x6d3418]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.005fc86b
mov al, byte [esp + 0x1c]
add esp, 0xc
test bl, al
mov dword [esp + 0x24], edi
je 0x5cce74
lea ecx, [esp + 0x3c]
call fcn.00603a3c
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.005559f0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00603a3c
mov eax, dword [esi + 0x3428]
test eax, eax
jge 0x5cceb0
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0xb0]
push edx
call dword [ecx + 0x3d0]
mov eax, dword [esi + 0x342c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esi + 0x3428]
test esi, esi
jge 0x5ccecf
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5cced1
mov eax, esi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14