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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
mov eax, edx
mov dword [ebp - 0x14], 0xffffffff
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea edi, [eax*8 + 0x2f]
mov dword [ebp - 4], esi
add edi, eax
xor eax, eax
cmp dword [esi + edi*8 + 0x24], 3
mov ebx, dword [esi]
setne al
mov dword [ebp - 8], ebx
lea edi, [esi + edi*8]
mov dword [ebp - 0xc], eax
movzx eax, word [esi + 0xb4]
push eax
push dword [esi + 0x98]
push str.schannel:_SSL_TLS_connection_with__s_port__hu__step_2_3__n
push ebx
call fcn.00428020
add esp, 0x10
cmp dword [edi + 0x38], 0
jne 0x44a401
push 0x1000
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0x1000
call dword [0x4d75c4]
add esp, 4
mov dword [edi + 0x38], eax
test eax, eax
je 0x44a7a1
mov ecx, dword [edi + 0x28]
mov eax, ecx
sub eax, dword [edi + 0x30]
cmp eax, 0x400
jae 0x44a434
lea eax, [ecx + ecx]
push eax
push dword [edi + 0x38]
mov dword [edi + 0x28], eax
call dword [0x4d75d0]
add esp, 8
mov dword [edi + 0x38], eax
test eax, eax
jne 0x44a434
push str.schannel:_unable_to_re_allocate_memory
jmp 0x44a7a6
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44a46f
mov edx, dword [edi + 0x28]
sub edx, dword [edi + 0x30]
mov ecx, dword [edi + 0x38]
mov eax, dword [ebp - 0x10]
add ecx, dword [edi + 0x30]
push 0
push edx
push ecx
push dword [esi + eax*4 + 0x150]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x44a674
test eax, eax
je 0x44a6a5
add dword [edi + 0x30], eax
push dword [edi + 0x28]
push dword [edi + 0x30]
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push ebx
call fcn.00428020
mov esi, dword [edi + 0x30]
push esi
call dword [0x4d75c4]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], ecx
add esp, 0x14
mov dword [ebp - 0x40], 2
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x11
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 2
test eax, eax
je 0x44a7a1
push dword [edi + 0x30]
push dword [edi + 0x38]
push eax
call fcn.0048d4b0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ecx + 0x98]
call fcn.0041c230
mov esi, eax
test esi, esi
je 0x44a795
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x20]
lea ecx, [edx + 8]
push ecx
lea ecx, [edi + 0x44]
push ecx
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x4dcddc]
push 0
push 0
push dword [edi + 0x40]
mov eax, dword [eax + 0x18]
push esi
push edx
push dword [edi + 8]
call eax
push esi
mov dword [ebp - 0xc], eax
call dword [0x4d75cc]
mov eax, dword [ebp - 0x3c]
add esp, 4
test eax, eax
je 0x44a582
push eax
call dword [0x4d75cc]
add esp, 4
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
cmp eax, 0x80090318
je 0x44a777
cmp eax, 0x90312
je 0x44a59f
test eax, eax
jne 0x44a6bf
xor ebx, ebx
lea esi, [ebp - 0x5c]
cmp dword [esi + 4], 2
jne 0x44a5f4
mov eax, dword [esi]
test eax, eax
je 0x44a5f4
push eax
push str.schannel:_sending_next_handshake_data:_sending__lu_bytes..._n
push dword [ebp - 8]
call fcn.00428020
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
push dword [esi]
push dword [esi + 8]
mov edx, dword [eax + ecx*4 + 0x150]
mov ecx, eax
call fcn.004284a0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jne 0x44a70d
cmp dword [esi], ecx
jne 0x44a70d
mov eax, dword [esi + 8]
test eax, eax
je 0x44a606
push eax
mov eax, dword [0x4dcddc]
mov eax, dword [eax + 0x40]
call eax
inc ebx
add esi, 0xc
cmp ebx, 2
jl 0x44a5a4
cmp dword [ebp - 0x34], 5
jne 0x44a731
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x44a731
mov ebx, dword [ebp - 8]
push eax
push str.schannel:_encrypted_data_length:__lu_n
push ebx
call fcn.00428020
mov ecx, dword [edi + 0x30]
add esp, 0xc
mov edx, dword [ebp - 0x38]
cmp ecx, edx
jbe 0x44a73b
mov eax, dword [edi + 0x38]
sub ecx, edx
push edx
add ecx, eax
push ecx
push eax
call fcn.004883d0
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0x90312
jne 0x44a755
mov esi, dword [ebp - 4]
xor eax, eax
jmp 0x44a437
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x44a6a5
cmp dword [edi + 0x24], 3
je 0x44a68e
mov dword [edi + 0x24], 2
push str.schannel:_failed_to_receive_handshake__need_more_data_n
push ebx
call fcn.00428020
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push ebx
call fcn.004280e0
mov eax, 0x23
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp eax, 0x80090322
jne 0x44a6eb
mov edx, eax
call fcn.00449520
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push ebx
call fcn.004280e0
add esp, 0xc
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, eax
call fcn.00449520
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push ebx
call fcn.004280e0
add esp, 0xc
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + ebx*2]
push dword [ebp + eax*4 - 0x5c]
push ecx
push str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
push dword [ebp - 8]
call fcn.004280e0
add esp, 0x10
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
mov dword [edi + 0x30], 0
mov eax, dword [ebp - 0xc]
cmp eax, 0x90312
jne 0x44a755
mov dword [edi + 0x24], 2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x44a76e
push str.schannel:_SSL_TLS_handshake_complete_n
push ebx
mov dword [edi + 0x24], 4
call fcn.00428020
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.schannel:_received_incomplete_message__need_more_data_n
push ebx
mov dword [edi + 0x24], 2
call fcn.00428020
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.schannel:_unable_to_allocate_memory
push ebx
call fcn.004280e0
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret