Function at 0x441590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x587388]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
push edi
imul edi, eax, 0x54
mov dword [esp + 0x14], esi
mov ebp, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0xffffffff
add edi, esi
mov dword [esp + 0x24], 0xffffffff
cmp dword [esi + 0xf0], 2
jne 0x4415f7
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, 0x298
mov ecx, 0x2ec
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x4415f7
mov eax, dword [esi + 0xe4]
jmp 0x4415fd
mov eax, dword [esi + 0xa0]
push dword [esi + 0x100]
cmp dword [edi + 0x1f4], 3
push eax
push str.schannel:_SSL_TLS_connection_with__s_port__hu__step_2_3__n
push ebp
mov dword [esp + 0x2c], eax
setne bl
call fcn.004326a0
add esp, 0x10
cmp dword [edi + 0x1f8], 0
je 0x4419f8
cmp dword [edi + 0x1fc], 0
je 0x4419f8
cmp dword [edi + 0x228], 0
jne 0x441673
push 0x1000
mov dword [edi + 0x220], 0
mov dword [edi + 0x218], 0x1000
call dword [0x587220]
add esp, 4
mov dword [edi + 0x228], eax
test eax, eax
je 0x441b87
mov ecx, dword [edi + 0x224]
test ecx, ecx
jne 0x4416b1
push 0x1000
mov byte [edi + 0x22c], cl
mov dword [edi + 0x21c], ecx
mov dword [edi + 0x214], 0x1000
call dword [0x587220]
mov ecx, eax
add esp, 4
mov dword [edi + 0x224], ecx
test ecx, ecx
je 0x441b87
mov edx, dword [edi + 0x21c]
mov eax, dword [edi + 0x214]
sub eax, edx
mov dword [esp + 0x10], edx
cmp eax, 0x400
jae 0x441720
lea eax, [edx + 0x400]
push eax
push ecx
call dword [0x587228]
add esp, 8
test eax, eax
jne 0x441705
push str.schannel:_unable_to_re_allocate_memory
push ebp
call fcn.00432580
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
mov dword [edi + 0x224], eax
mov eax, dword [esp + 0x10]
add eax, 0x400
mov dword [edi + 0x214], eax
nop word [eax + eax]
test bl, bl
je 0x44178d
mov ecx, dword [edi + 0x21c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x214]
sub eax, ecx
push eax
mov eax, dword [edi + 0x224]
add eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push dword [esi + eax*4 + 0x1a8]
call fcn.004328a0
add esp, 0x10
cmp eax, 0x51
je 0x441a10
test eax, eax
jne 0x4419ea
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4419ea
add dword [edi + 0x21c], eax
push eax
push str.schannel:_encrypted_data_got__zd_n
push ebp
mov byte [edi + 0x22c], 0
call fcn.004326a0
add esp, 0xc
push dword [edi + 0x214]
push dword [edi + 0x21c]
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push ebp
call fcn.004326a0
push dword [edi + 0x21c]
call fcn.0043eed0
push dword [edi + 0x21c]
mov esi, eax
call dword [0x587220]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], ecx
add esp, 0x18
mov dword [esp + 0x2c], 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 2
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x11
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], 3
test eax, eax
je 0x441b87
push dword [edi + 0x21c]
push dword [edi + 0x224]
push eax
call fcn.00503c30
mov edx, dword [esp + 0x28]
add esp, 0xc
test edx, edx
je 0x4416ed
mov ecx, dword [edi + 0x1fc]
lea eax, [ecx + 8]
push eax
lea eax, [edi + 0x234]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
lea eax, [esp + 0x60]
push eax
mov eax, dword [0x58c9c4]
push 0
push 0
push dword [edi + 0x230]
mov eax, dword [eax + 0x18]
push edx
push ecx
push dword [edi + 0x1f8]
call eax
push dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [0x587224]
add esp, 4
mov dword [esp + 0x30], 0
cmp ebx, 0x80090318
je 0x441b53
cmp ebx, 0x90320
je 0x441ac3
cmp ebx, 0x90312
je 0x441907
test ebx, ebx
jne 0x441acd
xor ebx, ebx
lea esi, [esp + 0x58]
nop dword [eax]
cmp dword [esi + 4], 2
jne 0x44195e
mov eax, dword [esi]
test eax, eax
je 0x44195e
push eax
push str.schannel:_sending_next_handshake_data:_sending__lu_bytes..._n
push ebp
call fcn.004326a0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
push dword [esi]
mov eax, dword [esp + 0x28]
push dword [esi + 8]
push dword [eax + ecx*4 + 0x1a8]
push eax
call fcn.00432d60
mov ecx, dword [esp + 0x44]
add esp, 0x20
test eax, eax
jne 0x441a46
cmp dword [esi], ecx
jne 0x441a46
mov eax, dword [esi + 8]
test eax, eax
je 0x441970
push eax
mov eax, dword [0x58c9c4]
mov eax, dword [eax + 0x40]
call eax
inc ebx
add esi, 0xc
cmp ebx, 3
jl 0x441910
cmp dword [esp + 0x38], 5
jne 0x441a5e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x441a5e
push eax
push str.schannel:_encrypted_data_length:__lu_n
push ebp
call fcn.004326a0
mov ecx, dword [edi + 0x21c]
add esp, 0xc
mov edx, dword [esp + 0x34]
cmp ecx, edx
jbe 0x441a68
mov eax, dword [edi + 0x224]
sub ecx, edx
push edx
add ecx, eax
push ecx
push eax
call fcn.005041b0
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [edi + 0x21c], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x90312
jne 0x441a92
mov esi, dword [esp + 0x14]
xor bl, bl
jmp 0x441720
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push ebp
call fcn.00432580
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
cmp dword [edi + 0x1f4], 3
je 0x441a23
mov dword [edi + 0x1f4], 2
push str.schannel:_failed_to_receive_handshake__need_more_data_n
push ebp
call fcn.004326a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
lea eax, [ebx + ebx*2]
push dword [esp + eax*4 + 0x58]
push ecx
push str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
push ebp
call fcn.00432580
add esp, 0x10
jmp 0x4419f8
mov dword [edi + 0x21c], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x90312
jne 0x441a92
mov dword [edi + 0x1f4], 2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
test eax, eax
jne 0x441aae
push str.schannel:_SSL_TLS_handshake_complete_n
push ebp
mov dword [edi + 0x1f4], 4
call fcn.004326a0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
mov eax, dword [edi + 0x230]
test al, al
jns 0x441b1b
push ebx
push dword [esp + 0x18]
call fcn.00421e20
mov edx, str.schannel:_next_InitializeSecurityContext_failed:__s
cmp ebx, 0x80090322
mov ecx, str.schannel:_SNI_or_certificate_check_failed:__s
push eax
cmovne ecx, edx
push ecx
push ebp
call fcn.00432580
add esp, 0x14
mov eax, 0x23
cmp ebx, 0x80090325
mov ecx, 0x4d
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
or eax, 0x80
mov dword [edi + 0x1f4], 3
push str.schannel:_a_client_certificate_has_been_requested_n
push ebp
mov dword [edi + 0x230], eax
call fcn.004326a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
push str.schannel:_received_incomplete_message__need_more_data_n
push ebp
mov byte [edi + 0x22c], 1
mov dword [edi + 0x1f4], 2
call fcn.004326a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret
push str.schannel:_unable_to_allocate_memory
push ebp
call fcn.00432580
mov ecx, dword [esp + 0x84]
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ca2e2
add esp, 0x70
ret