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

Disassembly:
sub esp, 0x74
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push esi
mov esi, ecx
mov dword [esp + 0x18], esi
add esi, 0x1f
shl esi, 4
or eax, 0xffffffff
push edi
mov edi, dword [ebp]
mov ecx, 2
add esi, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edi
cmp dword [ebp + 0xf0], ecx
jne 0x433f08
xor edx, edx
cmp dword [ebp + 0x1ac], eax
setne dl
add edx, edx
cmp dword [ebp + edx*8 + 0x214], ecx
je 0x433f08
mov eax, dword [ebp + 0xe4]
mov dword [esp + 0x20], eax
jmp 0x433f12
mov ecx, dword [ebp + 0x9c]
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 0x100]
mov ecx, dword [esp + 0x20]
xor edx, edx
cmp dword [esi + 8], 3
push eax
setne dl
push ecx
push str.schannel:_SSL_TLS_connection_with__s_port__hu__step_2_3__n
push edi
mov dword [esp + 0x24], edx
call fcn.00428a80
mov eax, dword [esi + 0xc]
xor ebx, ebx
add esp, 0x10
cmp dword [eax], ebx
je 0x43435a
cmp dword [eax + 4], ebx
je 0x43435a
cmp dword [eax + 0x30], ebx
jne 0x433fa5
mov dword [eax + 0x28], ebx
mov edx, dword [esi + 0xc]
mov dword [edx + 0x20], 0x1000
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x47604c]
mov edx, dword [esi + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0xc]
add esp, 4
cmp dword [eax + 0x30], ebx
jne 0x433fa5
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.00428bd0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
mov ecx, dword [eax + 0x2c]
cmp ecx, ebx
jne 0x433fdf
mov dword [eax + 0x34], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x24], ebx
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1c], 0x1000
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x1c]
push eax
call dword [0x47604c]
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2c]
add esp, 4
cmp ecx, ebx
je 0x433f7f
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x1c]
sub eax, edx
cmp eax, 0x400
jae 0x434040
lea eax, [edx + 0x400]
push eax
push ecx
mov dword [esp + 0x20], eax
call dword [0x476054]
add esp, 8
cmp eax, ebx
jne 0x43402d
push str.schannel:_unable_to_re_allocate_memory
push edi
call fcn.00428bd0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x2c], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x18]
mov dword [edx + 0x1c], eax
lea ecx, [ecx]
cmp dword [esp + 0x14], ebx
je 0x4340ad
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x24]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x2c]
sub edx, ecx
push edx
add eax, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + ecx*4 + 0x1a8]
push eax
push edx
call fcn.00428880
add esp, 0x10
cmp eax, 0x51
je 0x43431c
cmp eax, ebx
jne 0x43434c
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x43434c
mov eax, dword [esi + 0xc]
add dword [eax + 0x24], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x34], ebx
mov ecx, dword [esp + 0x24]
push ecx
push str.schannel:_encrypted_data_got__zd_n
push edi
call fcn.00428a80
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
push edx
push eax
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push edi
call fcn.00428a80
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x24]
push edx
call fcn.0042afd0
mov edi, eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
call dword [0x47604c]
mov ecx, 2
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x78], ecx
add esp, 0x18
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x11
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], 3
cmp eax, ebx
je 0x434372
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x2c]
push edx
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [esp + 0x2c]
add esp, 0xc
cmp edx, ebx
je 0x433f8d
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
lea edi, [ecx + 8]
push edi
lea edi, [eax + 0x3c]
push edi
lea edi, [esp + 0x58]
push edi
push ebx
push ebx
lea edi, [esp + 0x58]
push edi
mov edi, dword [eax + 0x38]
push ebx
push ebx
push edi
push edx
mov edx, dword [eax]
mov eax, dword [0x47a670]
push ecx
mov ecx, dword [eax + 0x18]
push edx
call ecx
mov edx, dword [esp + 0x34]
mov edi, eax
push edx
mov dword [esp + 0x18], edi
call dword [0x476050]
add esp, 4
mov dword [esp + 0x34], ebx
cmp edi, 0x80090318
je 0x43439c
cmp edi, 0x90320
je 0x4342da
cmp edi, 0x90312
je 0x4341e1
cmp edi, ebx
jne 0x4343d4
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x5c]
lea esp, [esp]
cmp dword [edi + 4], 2
jne 0x434241
mov eax, dword [edi]
cmp eax, ebx
jbe 0x434241
push eax
mov eax, dword [esp + 0x14]
push str.schannel:_sending_next_handshake_data:_sending__lu_bytes..._n
push eax
call fcn.00428a80
mov edx, dword [edi]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [ebp + ecx*4 + 0x1a8]
push eax
push edx
push ebp
call fcn.004291e0
add esp, 0x20
test eax, eax
mov eax, dword [esp + 0x28]
jne 0x43446f
cmp dword [edi], eax
jne 0x43446f
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x434253
push eax
mov eax, dword [0x47a670]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0x18]
inc eax
add edi, 0xc
mov dword [esp + 0x18], eax
cmp eax, 3
jl 0x4341f0
cmp dword [esp + 0x3c], 5
jne 0x434493
mov eax, dword [esp + 0x38]
cmp eax, ebx
jbe 0x434493
mov edi, dword [esp + 0x10]
push eax
push str.schannel:_encrypted_data_length:__lu_n
push edi
call fcn.00428a80
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x24]
mov ecx, dword [esp + 0x44]
add esp, 0xc
cmp edx, ecx
jbe 0x43449d
mov eax, dword [eax + 0x2c]
mov edi, eax
sub edi, ecx
push ecx
add edi, edx
push edi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x14], 0x90312
mov dword [edx + 0x24], eax
jne 0x4344c3
mov dword [esp + 0x14], ebx
jmp 0x434040
mov eax, dword [esi + 0xc]
mov ecx, 0x80
test byte [eax + 0x38], cl
jne 0x4343e4
or dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x10]
push str.schannel:_a_client_certificate_has_been_requested_n
push ecx
mov dword [esi + 8], 3
call fcn.00428a80
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
cmp dword [esi + 8], 3
je 0x434329
mov dword [esi + 8], 2
push str.schannel:_failed_to_receive_handshake__need_more_data_n
push edi
call fcn.00428a80
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push edi
call fcn.00428bd0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
mov ecx, dword [esp + 0x10]
push str.schannel:_unable_to_allocate_memory
push ecx
call fcn.00428bd0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
push str.schannel:_received_incomplete_message__need_more_data_n
mov dword [edx + 0x34], 1
push eax
mov dword [esi + 8], 2
call fcn.00428a80
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
cmp edi, 0x80090300
je 0x434439
cmp edi, 0x80090322
je 0x434403
push edi
push ebp
call fcn.00454580
mov edx, dword [esp + 0x18]
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push edx
call fcn.00428bd0
add esp, 0x14
jmp 0x43435a
push 0x80090322
push ebp
call fcn.00454580
push eax
mov eax, dword [esp + 0x1c]
push str.schannel:_SNI_or_certificate_check_failed:__s
push eax
call fcn.00428bd0
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 0x3c
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
push 0x80090300
push ebp
call fcn.00454580
mov ecx, dword [esp + 0x18]
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push ecx
call fcn.00428bd0
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + edx*4 + 0x5c]
mov edx, dword [esp + 0x10]
push ecx
push eax
push str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
push edx
call fcn.00428bd0
add esp, 0x10
jmp 0x43435a
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x10]
mov dword [eax + 0x24], ebx
cmp dword [esp + 0x14], 0x90312
jne 0x4344c3
pop edi
mov dword [esi + 8], 2
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
cmp dword [esp + 0x14], ebx
jne 0x4344de
push str.schannel:_SSL_TLS_handshake_complete_n
push edi
mov dword [esi + 8], 4
call fcn.00428a80
add esp, 8
mov eax, 2
cmp dword [ebp + 0xf0], eax
jne 0x43450a
xor ecx, ecx
cmp dword [ebp + 0x1ac], 0xffffffff
setne cl
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x214], eax
je 0x43450a
mov eax, dword [edi + 0xab0]
jmp 0x434510
mov eax, dword [edi + 0xaac]
cmp eax, ebx
je 0x434550
push eax
mov eax, dword [esp + 0x20]
mov ecx, ebp
call fcn.00433c20
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x434550
push str.SSL:_public_key_does_not_match_pinned_public_key_
push edi
call fcn.00428bd0
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret
cmp dword [ebp + 0x23c], ebx
je 0x434337
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x50], ebx
je 0x434337
mov eax, dword [esp + 0x1c]
push eax
push ebp
call fcn.00458c10
mov ecx, dword [esp + 0x88]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00418a8f
add esp, 0x74
ret