Function at 0x57b0e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6627e0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x57b126
mov eax, dword [eax + 0x10]
jmp 0x57b12f
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x57b58f
cmp dword [esi + 0xa4], 0x10
je 0x57b58f
mov eax, dword [esi + 0x3468]
test eax, eax
je 0x57b169
mov ecx, dword [esi + 0x346c]
push ecx
push 0xa
push eax
call fcn.00623360
add esp, 0xc
test eax, eax
jne 0x57b2a6
mov edi, dword [esi + 0x346c]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov ebx, eax
mov dword [ebp - 0x18], 0
cmp ebx, 0x2733
je 0x57b1c1
cmp byte [esi + 0xdb], 0
jne 0x57b1c1
mov ecx, dword [esi + 0x3468]
test ecx, ecx
je 0x57b28e
mov eax, dword [esi + 0x346c]
cmp edi, eax
jae 0x57b28e
push eax
push 0xa
push ecx
call fcn.00623360
add esp, 0xc
test eax, eax
jne 0x57b28e
cmp dword [ebp - 0x18], 5
jge 0x57b28e
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x57b212
cmp byte [eax + 0x137], 0
je 0x57b212
mov eax, dword [esi + 0x3480]
test eax, eax
je 0x57b212
cmp dword [esi + 0x3400], 0
je 0x57b1fd
cmp dword [esi + 0x33a8], 0x80090318
jne 0x57b26a
cmp dword [eax + 0x3400], 0
je 0x57b212
cmp dword [eax + 0x33a8], 0x80090318
jne 0x57b26a
cmp byte [esi + 0xdb], 0
jne 0x57b26a
cmp ebx, 0x2733
jne 0x57b26a
push 0x3c
mov ecx, dword [esi + 0x3200]
push ecx
mov ecx, esi
call fcn.00564490
mov ecx, dword [esi + 0x3208]
test ecx, ecx
je 0x57b262
cmp dword [ecx + 0x1c], 0
je 0x57b262
add ecx, 0x28
call fcn.0055a000
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x57b768
mov edi, dword [esi + 0x346c]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov ebx, eax
cmp edi, dword [esi + 0x346c]
jne 0x57b180
inc dword [ebp - 0x18]
jmp 0x57b180
test ebx, ebx
je 0x57b2a6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x346c]
test eax, eax
jne 0x57b432
cmp byte [esi + 0x3f4], al
je 0x57b524
mov byte [esi + 0x3f4], al
mov eax, dword [esi + 0xc8]
cmp byte [eax + 0x33e], 0
je 0x57b2e2
cmp byte [eax + 0x174], 0
je 0x57b3f5
mov edx, dword [esi + 0x19c]
test edx, edx
je 0x57b30e
cmp byte [edx + 0x137], 0
je 0x57b30e
cmp dword [esi + 0x3480], 0
je 0x57b30e
cmp byte [edx + 0x138], 0
jne 0x57b30e
add eax, 0x17c
jmp 0x57b313
add eax, 0x178
mov ecx, dword [eax]
test ecx, ecx
jne 0x57b342
mov dword [eax], 1
push str.Try_SSL3_r_n
mov ecx, esi
call fcn.00562270
mov eax, 0x757e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x57b370
mov dword [eax], 2
push str.Try_TLS1_r_n
mov ecx, esi
call fcn.00562270
mov eax, 0x757e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jne 0x57b39e
mov dword [eax], 3
push str.Try_SSL3_old_r_n
mov ecx, esi
call fcn.00562270
mov eax, 0x757e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x75dbb8], 0
je 0x57b3d5
cmp ecx, 3
jne 0x57b3d5
mov dword [eax], 4
push str.Try_TLS_1.3_r_n
mov ecx, esi
call fcn.00562270
mov eax, 0x757e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x57b3eb
cmp byte [edx + 0x137], 0
je 0x57b3eb
cmp dword [esi + 0x3480], 0
jne 0x57b3f5
cmp ecx, 4
je 0x57b40c
cmp ecx, 3
je 0x57b40c
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], 5
push str.Try_openssl_lib_r_n
mov ecx, esi
call fcn.00562270
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x3468]
push eax
push 0xa
push ecx
call fcn.00623360
add esp, 0xc
test eax, eax
jne 0x57b45f
mov eax, 0x2733
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x3250]
mov ecx, dword [esi + 0x324c]
push eax
push 0
push ecx
call fcn.00623360
add esp, 0xc
mov ecx, dword [esi + 0x324c]
sub eax, ecx
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
mov eax, dword [esi + 0x3468]
mov dword [ebp - 0x28], eax
mov dl, byte [eax]
mov byte [ecx + edi], dl
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x324c]
cmp byte [eax + edi], 0xa
je 0x57b550
inc edi
mov dword [ebp - 0x24], edi
mov byte [eax + edi], 0
mov ecx, dword [esi + 0x3250]
lea eax, [ecx - 1]
cmp edi, eax
jl 0x57b507
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esi + 0x3250], eax
inc eax
push eax
mov ecx, dword [esi + 0x324c]
push ecx
call fcn.0062476f
add esp, 8
mov dword [esi + 0x324c], eax
test eax, eax
jne 0x57b507
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, dword [esi + 0x346c]
jne 0x57b53b
mov dword [esi + 0x346c], 0
mov edx, dword [esi + 0x324c]
mov byte [edx + edi + 1], 0
mov eax, 0x7533
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x324c]
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx + ebx]
mov byte [edi + eax], dl
inc ebx
jmp 0x57b49e
mov eax, dword [esi + 0x324c]
mov byte [eax + edi + 1], 0
sub dword [esi + 0x346c], ebx
mov eax, dword [esi + 0x346c]
mov esi, dword [esi + 0x3468]
push eax
lea ecx, [esi + ebx]
push ecx
push esi
call fcn.00623d50
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x3250]
mov ecx, dword [esi + 0x324c]
push eax
push 0
push ecx
call fcn.00623360
add esp, 0xc
sub eax, dword [esi + 0x324c]
mov ebx, eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x11], 0
jmp 0x57b5c0
mov edi, dword [esi + 0x3a4]
test edi, edi
jle 0x57b6a9
mov ecx, dword [esi + 0x3a0]
mov eax, 0x200
sub eax, ecx
cmp edi, eax
jl 0x57b5e1
mov edi, eax
lea eax, [ecx + esi + 0x1a0]
push edi
push 0xa
push eax
call fcn.00623360
add esp, 0xc
test eax, eax
je 0x57b607
sub eax, esi
sub eax, dword [esi + 0x3a0]
sub eax, 0x19f
mov edi, eax
mov eax, dword [esi + 0x3250]
mov edx, eax
sub edx, ebx
dec edx
cmp edi, edx
jl 0x57b63f
lea eax, [eax + edi + 1]
mov dword [esi + 0x3250], eax
inc eax
push eax
mov eax, dword [esi + 0x324c]
push eax
call fcn.0062476f
add esp, 8
mov dword [esi + 0x324c], eax
test eax, eax
je 0x57b4f0
push edi
mov ecx, dword [esi + 0x3a0]
lea edx, [esi + ecx + 0x1a0]
push edx
mov eax, dword [esi + 0x324c]
add eax, ebx
push eax
call fcn.00622730
add esp, 0xc
add ebx, edi
mov dword [ebp - 0x20], ebx
add dword [esi + 0x3a0], edi
sub dword [esi + 0x3a4], edi
mov ecx, dword [esi + 0x324c]
mov byte [ebx + ecx], 0
mov edx, dword [esi + 0x324c]
cmp byte [edx + ebx - 1], 0xa
je 0x57b41e
cmp byte [ebp - 0x11], 0
je 0x57b6a9
push 0
mov eax, dword [esi + 0x3200]
push eax
mov ecx, esi
call fcn.00564490
test eax, eax
jne 0x57b524
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x57b70a
cmp byte [eax + 0x137], 0
je 0x57b70a
mov ecx, dword [esi + 0x3480]
test ecx, ecx
je 0x57b70a
push 0
push 0x200
lea edx, [esi + 0x1a0]
push edx
mov eax, dword [esi + 0x3200]
push eax
call fcn.0057ad50
mov edi, eax
mov ecx, dword [esi + 0x3208]
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x57b768
mov dword [esi + 0x3a0], eax
mov dword [esi + 0x3a4], edi
mov byte [ebp - 0x11], 1
mov ebx, dword [ebp - 0x20]
jmp 0x57b5c0
lea ebx, [esi + 0x1a0]
push 0
push 0x200
push ebx
mov edx, dword [esi + 0x3200]
push edx
call sub.WS2_32.dll_recv
push str.recv_next_line
mov edi, eax
push edi
mov ecx, esi
call fcn.00562bc0
cmp eax, 0x2733
jne 0x57b6ee
push 0
push 0x200
push ebx
mov eax, dword [esi + 0x3200]
push eax
jmp 0x57b71f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret