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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x6c], 0xffffffff
push edi
mov edi, ecx
mov dword [ebp - 0x64], esi
mov ebx, esi
mov dword [ebp - 0x70], edi
shl ebx, 4
add ebx, edi
cmp dword [edi + 0xf0], 2
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
jne 0x45504b
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, 0x214
mov ecx, 0x224
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x45504b
mov eax, dword [edi + 0xe4]
jmp 0x455051
mov eax, dword [edi + 0xa0]
mov ecx, dword [ebx + 0x1fc]
mov dword [ebp - 0x68], eax
xor eax, eax
cmp dword [ebx + 0x1f8], 3
setne al
cmp dword [ecx], 0
mov dword [ebp - 0x60], eax
je 0x45540d
cmp dword [ecx + 4], 0
je 0x45540d
cmp dword [ecx + 0x30], 0
jne 0x4550c1
mov dword [ecx + 0x28], 0
mov eax, dword [ebx + 0x1fc]
mov dword [eax + 0x20], 0x1000
mov eax, dword [ebx + 0x1fc]
push dword [eax + 0x20]
call dword [0x5b7b68]
mov ecx, dword [ebx + 0x1fc]
add esp, 4
mov dword [ecx + 0x30], eax
mov ecx, dword [ebx + 0x1fc]
cmp dword [ecx + 0x30], 0
je 0x45551e
cmp dword [ecx + 0x2c], 0
jne 0x455113
mov dword [ecx + 0x34], 0
mov eax, dword [ebx + 0x1fc]
mov dword [eax + 0x24], 0
mov eax, dword [ebx + 0x1fc]
mov dword [eax + 0x1c], 0x1000
mov eax, dword [ebx + 0x1fc]
push dword [eax + 0x1c]
call dword [0x5b7b68]
mov ecx, dword [ebx + 0x1fc]
add esp, 4
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x1fc]
cmp dword [ecx + 0x2c], 0
je 0x45551e
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x24]
sub eax, edx
cmp eax, 0x400
jae 0x455176
lea esi, [edx + 0x400]
push esi
push dword [ecx + 0x2c]
call dword [0x5b7b70]
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x455161
push str.schannel:_unable_to_re_allocate_memory
push dword [ebp - 0x5c]
call fcn.004415c0
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1fc]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx + 0x1fc]
mov dword [eax + 0x1c], esi
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
nop dword [eax]
test eax, eax
je 0x4551cf
mov eax, dword [ebx + 0x1fc]
push 0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x24]
sub edx, ecx
mov eax, dword [eax + 0x2c]
push edx
add eax, ecx
push eax
push dword [edi + esi*4 + 0x1a8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4553ca
test eax, eax
je 0x4553fd
mov ecx, dword [ebx + 0x1fc]
add dword [ecx + 0x24], eax
mov eax, dword [ebx + 0x1fc]
mov dword [eax + 0x34], 0
mov eax, dword [ebx + 0x1fc]
mov esi, dword [eax + 0x24]
push esi
call dword [0x5b7b68]
mov ecx, eax
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x50], eax
add esp, 4
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x11
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 3
test ecx, ecx
je 0x45551e
mov eax, dword [ebx + 0x1fc]
push dword [eax + 0x24]
push dword [eax + 0x2c]
push ecx
call fcn.00524840
mov esi, dword [ebp - 0x68]
add esp, 0xc
test esi, esi
je 0x45514b
mov edx, dword [ebx + 0x1fc]
mov ecx, dword [edx + 4]
lea eax, [ecx + 8]
push eax
lea eax, [edx + 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [0x5bf05c]
push 0
push 0
push dword [edx + 0x38]
mov eax, dword [eax + 0x18]
push esi
push ecx
push dword [edx]
call eax
push dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0x60], esi
call dword [0x5b7b6c]
add esp, 4
mov dword [ebp - 0x14], 0
cmp esi, 0x80090318
je 0x4554f4
cmp esi, 0x90320
je 0x455475
cmp esi, 0x90312
je 0x455307
test esi, esi
jne 0x455482
xor edi, edi
lea esi, [ebp - 0x40]
nop dword [eax]
cmp dword [esi + 4], 2
jne 0x45534e
mov eax, dword [esi]
test eax, eax
je 0x45534e
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x70]
push dword [esi + 8]
mov edx, dword [eax + ecx*4 + 0x1a8]
mov ecx, eax
call fcn.004417e0
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
test eax, eax
jne 0x455423
cmp dword [esi], ecx
jne 0x455423
mov eax, dword [esi + 8]
test eax, eax
je 0x455360
push eax
mov eax, dword [0x5bf05c]
mov eax, dword [eax + 0x40]
call eax
inc edi
add esi, 0xc
cmp edi, 3
jl 0x455310
cmp dword [ebp - 0xc], 5
jne 0x45543d
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x45543d
mov ecx, dword [ebx + 0x1fc]
mov esi, dword [ecx + 0x24]
cmp esi, edx
jbe 0x45544a
mov ecx, dword [ecx + 0x2c]
mov eax, ecx
sub eax, edx
push edx
add eax, esi
push eax
push ecx
call fcn.00524dc0
mov ecx, dword [ebx + 0x1fc]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x60]
cmp eax, 0x90312
jne 0x455454
mov edi, dword [ebp - 0x70]
xor eax, eax
mov esi, dword [ebp - 0x64]
jmp 0x455180
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4553fd
cmp dword [ebx + 0x1f8], 3
je 0x4553ea
mov dword [ebx + 0x1f8], 2
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push dword [ebp - 0x5c]
call fcn.004415c0
add esp, 8
mov eax, 0x23
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
lea eax, [edi + edi*2]
push dword [ebp + eax*4 - 0x40]
push ecx
push str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
push dword [ebp - 0x5c]
call fcn.004415c0
add esp, 0x10
jmp 0x45540d
mov eax, dword [ebx + 0x1fc]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0x90312
je 0x4553e0
test eax, eax
jne 0x455462
mov dword [ebx + 0x1f8], 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x1fc]
mov eax, dword [ecx + 0x38]
test al, al
jns 0x4554cf
mov edx, esi
mov ecx, edi
call fcn.004539d0
mov edx, str.schannel:_next_InitializeSecurityContext_failed:__s
cmp esi, 0x80090322
mov ecx, str.schannel:_SNI_or_certificate_check_failed:__s
push eax
cmovne ecx, edx
push ecx
push dword [ebp - 0x5c]
call fcn.004415c0
add esp, 0xc
mov eax, 0x23
cmp esi, 0x80090325
mov ecx, 0x3c
cmove eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
or eax, 0x80
mov dword [ecx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x1f8], 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1fc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax + 0x34], 1
xor ecx, ebp
mov dword [ebx + 0x1f8], 2
xor eax, eax
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push str.schannel:_unable_to_allocate_memory
jmp 0x455140