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

Disassembly:
sub esp, 0x70
mov eax, dword [0x4bb0c4]
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
lea edi, [eax + eax*4]
mov dword [esp + 0x14], esi
shl edi, 4
mov ebp, dword [esi]
add edi, esi
cmp dword [esi + 0xe8], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
jne 0x42996a
cmp dword [esi + 0x194], 0xffffffff
mov eax, 0x278
mov ecx, 0x2c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x42996a
mov eax, dword [esi + 0xdc]
jmp 0x429970
mov eax, dword [esi + 0x98]
push dword [esi + 0xf8]
cmp dword [edi + 0x1dc], 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.00426850
add esp, 0x10
cmp dword [edi + 0x1e0], 0
je 0x429d68
cmp dword [edi + 0x1e4], 0
je 0x429d68
cmp dword [edi + 0x210], 0
jne 0x429a08
push 0x1000
mov dword [edi + 0x208], 0
mov dword [edi + 0x200], 0x1000
call dword [0x4bb038]
add esp, 4
mov dword [edi + 0x210], eax
test eax, eax
jne 0x429a08
push str.schannel:_unable_to_allocate_memory
push ebp
call fcn.00426770
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00453227
add esp, 0x70
ret
mov ecx, dword [edi + 0x20c]
test ecx, ecx
jne 0x429a3c
push 0x1000
mov dword [edi + 0x204], ecx
mov dword [edi + 0x1fc], 0x1000
call dword [0x4bb038]
mov ecx, eax
add esp, 4
mov dword [edi + 0x20c], ecx
test ecx, ecx
je 0x4299e2
mov edx, dword [edi + 0x204]
mov eax, dword [edi + 0x1fc]
sub eax, edx
mov dword [esp + 0x10], edx
cmp eax, 0x400
jae 0x429aa5
lea eax, [edx + 0x400]
push eax
push ecx
call dword [0x4bb040]
add esp, 8
test eax, eax
jne 0x429a90
push str.schannel:_unable_to_re_allocate_memory
push ebp
call fcn.00426770
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00453227
add esp, 0x70
ret
mov dword [edi + 0x20c], eax
mov eax, dword [esp + 0x10]
add eax, 0x400
mov dword [edi + 0x1fc], eax
test bl, bl
je 0x429afc
mov ecx, dword [edi + 0x204]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x1fc]
sub eax, ecx
push eax
mov eax, dword [edi + 0x20c]
add eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push dword [esi + eax*4 + 0x190]
call fcn.00426a60
add esp, 0x10
cmp eax, 0x51
je 0x429d80
test eax, eax
jne 0x429d5a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x429d5a
add dword [edi + 0x204], eax
push dword [edi + 0x1fc]
push dword [edi + 0x204]
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push ebp
call fcn.00426850
push dword [edi + 0x204]
call fcn.00415a00
push dword [edi + 0x204]
mov esi, eax
call dword [0x4bb038]
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 0x4299e2
push dword [edi + 0x204]
push dword [edi + 0x20c]
push eax
call fcn.0046ad00
mov edx, dword [esp + 0x28]
add esp, 0xc
test edx, edx
je 0x4299f0
mov ecx, dword [edi + 0x1e4]
lea eax, [ecx + 8]
push eax
lea eax, [edi + 0x218]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
lea eax, [esp + 0x60]
push eax
mov eax, dword [0x4bd728]
push 0
push 0
push dword [edi + 0x214]
mov eax, dword [eax + 0x18]
push edx
push ecx
push dword [edi + 0x1e0]
call eax
push dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [0x4bb03c]
add esp, 4
mov dword [esp + 0x30], 0
cmp ebx, 0x80090318
je 0x429ea2
cmp ebx, 0x90320
je 0x429e33
cmp ebx, 0x90312
je 0x429c76
test ebx, ebx
jne 0x429e3d
xor ebx, ebx
lea esi, [esp + 0x58]
nop dword [eax]
cmp dword [esi + 4], 2
jne 0x429cce
mov eax, dword [esi]
test eax, eax
je 0x429cce
push eax
push str.schannel:_sending_next_handshake_data:_sending__lu_bytes..._n
push ebp
call fcn.00426850
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 + 0x190]
push eax
call fcn.00426f20
mov ecx, dword [esp + 0x44]
add esp, 0x20
test eax, eax
jne 0x429db6
cmp dword [esi], ecx
jne 0x429db6
mov eax, dword [esi + 8]
test eax, eax
je 0x429ce0
push eax
mov eax, dword [0x4bd728]
mov eax, dword [eax + 0x40]
call eax
inc ebx
add esi, 0xc
cmp ebx, 3
jl 0x429c80
cmp dword [esp + 0x38], 5
jne 0x429dce
mov eax, dword [esp + 0x34]
test eax, eax
je 0x429dce
push eax
push str.schannel:_encrypted_data_length:__lu_n
push ebp
call fcn.00426850
mov ecx, dword [edi + 0x204]
add esp, 0xc
mov edx, dword [esp + 0x34]
cmp ecx, edx
jbe 0x429dd8
mov eax, dword [edi + 0x20c]
sub ecx, edx
push edx
add ecx, eax
push ecx
push eax
call fcn.0046a780
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [edi + 0x204], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x90312
jne 0x429e02
mov esi, dword [esp + 0x14]
xor bl, bl
jmp 0x429aa5
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push ebp
call fcn.00426770
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00453227
add esp, 0x70
ret
cmp dword [edi + 0x1dc], 3
je 0x429d93
mov dword [edi + 0x1dc], 2
push str.schannel:_failed_to_receive_handshake__need_more_data_n
push ebp
call fcn.00426850
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00453227
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.00426770
add esp, 0x10
jmp 0x429d68
mov dword [edi + 0x204], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x90312
jne 0x429e02
mov dword [edi + 0x1dc], 2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00453227
add esp, 0x70
ret
test eax, eax
jne 0x429e1e
push str.schannel:_SSL_TLS_handshake_complete_n
push ebp
mov dword [edi + 0x1dc], 4
call fcn.00426850
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00453227
add esp, 0x70
ret
mov eax, dword [edi + 0x214]
test al, al
jns 0x429e6a
push ebx
push dword [esp + 0x18]
call fcn.00414b70
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.00426770
add esp, 0x14
jmp 0x429d68
or eax, 0x80
mov dword [edi + 0x1dc], 3
push str.schannel:_a_client_certificate_has_been_requested_n
push ebp
mov dword [edi + 0x214], eax
call fcn.00426850
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00453227
add esp, 0x70
ret
push str.schannel:_received_incomplete_message__need_more_data_n
push ebp
mov dword [edi + 0x1dc], 2
call fcn.00426850
mov ecx, dword [esp + 0x84]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453227
add esp, 0x70
ret