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

Disassembly:
sub esp, 0x170
mov eax, dword [0x45d380]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 8]
mov ebx, dword [ebp + 0x14]
push edi
mov edi, edx
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebp
call fcn.0040f8f0
mov dword [esp + 0x28], eax
xor eax, eax
add esp, 4
cmp dword [ebp + 4], 3
setne al
xor ebp, ebp
mov dword [esp + 0x14], eax
cmp dword [ebx], ebp
je 0x437d34
cmp dword [ebx + 4], ebp
je 0x437d34
cmp dword [ebx + 0x30], ebp
jne 0x437a67
push 0x1000
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x20], 0x1000
call dword [section..data]
add esp, 4
mov dword [ebx + 0x30], eax
cmp eax, ebp
jne 0x437a67
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.004132e0
add esp, 8
mov eax, 0x1b
jmp 0x437d39
cmp dword [ebx + 0x2c], ebp
jne 0x437a8e
push 0x1000
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x1c], 0x1000
call dword [section..data]
add esp, 4
mov dword [ebx + 0x2c], eax
cmp eax, ebp
je 0x437a4f
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
sub ecx, eax
cmp ecx, 0x400
jae 0x437ae0
mov edx, dword [ebx + 0x2c]
lea edi, [eax + 0x400]
push edi
push edx
call dword [0x45d008]
add esp, 8
cmp eax, ebp
jne 0x437ad2
push str.schannel:_unable_to_re_allocate_memory
mov eax, dword [esp + 0x14]
push eax
call fcn.004132e0
add esp, 8
mov eax, 0x1b
jmp 0x437d39
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x1c], edi
mov edi, dword [esp + 0x10]
lea esp, [esp]
cmp dword [esp + 0x14], ebp
je 0x437b2a
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0x2c]
sub edx, eax
push edx
mov edx, dword [esi + 4]
add ecx, eax
push ecx
push edi
push edx
call fcn.00415870
mov ecx, dword [esp + 0x2c]
add esp, 0x14
cmp ecx, 0x51
je 0x437d11
cmp ecx, ebp
jne 0x437d26
cmp eax, ebp
je 0x437d26
add dword [ebx + 0x24], eax
mov dword [ebx + 0x34], ebp
mov eax, dword [ebx + 0x24]
push eax
call fcn.004128c0
mov ecx, dword [ebx + 0x24]
push ecx
mov esi, eax
call dword [section..data]
mov edi, 2
add esp, 8
lea edx, [esp + 0x28]
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0x11
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], 3
cmp eax, ebp
je 0x437d52
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x2c]
push edx
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
add esp, 0xc
lea edx, [eax + 8]
push edx
lea edx, [ebx + 0x3c]
push edx
lea edx, [esp + 0x48]
push edx
push ebp
push ebp
lea edx, [esp + 0x60]
push edx
mov edx, dword [ebx + 0x38]
push ebp
push ebp
push edx
mov edx, dword [ecx + 0x10]
push edx
push eax
mov eax, dword [0x45da08]
push ecx
mov ecx, dword [eax + 0x18]
call ecx
mov edx, dword [esp + 0x30]
mov esi, eax
push edx
mov dword [esp + 0x18], esi
call dword [0x45d004]
add esp, 4
mov dword [esp + 0x30], ebp
cmp esi, 0x80090318
je 0x437d5c
cmp esi, 0x90320
je 0x437cef
cmp esi, 0x90312
je 0x437c33
cmp esi, ebp
jne 0x437d6e
xor edi, edi
lea esi, [esp + 0x58]
lea esp, [esp]
cmp dword [esi + 4], 2
jne 0x437c7d
mov eax, dword [esi]
cmp eax, ebp
jbe 0x437c7d
mov edx, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.00415840
add esp, 0x14
cmp dword [esp + 0x18], ebp
jne 0x437e4e
cmp dword [esi], eax
jne 0x437e4e
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x437c8f
push eax
mov eax, dword [0x45da08]
mov ecx, dword [eax + 0x40]
call ecx
inc edi
add esi, 0xc
cmp edi, 3
jl 0x437c40
cmp dword [esp + 0x38], 5
jne 0x437e6e
mov edx, dword [esp + 0x34]
cmp edx, ebp
jbe 0x437e6e
mov eax, dword [ebx + 0x24]
cmp eax, edx
jbe 0x437e71
mov ecx, dword [ebx + 0x2c]
sub eax, edx
push edx
add eax, ecx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x14], 0x90312
mov dword [ebx + 0x24], edx
jne 0x437e8d
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
jmp 0x437ad8
mov eax, dword [ebx + 0x38]
test al, al
js 0x437d8a
mov edx, dword [esp + 0x1c]
or eax, 0x80
mov dword [ebx + 0x38], eax
mov dword [edx + 4], 3
xor eax, eax
jmp 0x437d39
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 3
je 0x437d22
mov dword [eax + 4], 2
xor eax, eax
jmp 0x437d39
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push edi
call fcn.004132e0
add esp, 8
mov eax, 0x23
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044bb74
add esp, 0x170
ret
push str.schannel:_unable_to_allocate_memory
jmp 0x437abb
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x34], 1
mov dword [ecx + 4], edi
xor eax, eax
jmp 0x437d39
cmp esi, 0x80090300
je 0x437e1a
cmp esi, 0x80090322
je 0x437de6
cmp esi, 0x80090325
je 0x437db2
push 0x100
lea eax, [esp + 0x80]
push eax
push esi
call fcn.0040a3a0
mov ecx, dword [esp + 0x1c]
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push ecx
call fcn.004132e0
add esp, 0x18
jmp 0x437d34
push 0x100
lea edx, [esp + 0x80]
push edx
push 0x80090325
call fcn.0040a3a0
push eax
mov eax, dword [esp + 0x20]
push str.schannel:__s
push eax
call fcn.004132e0
add esp, 0x18
mov eax, 0x3c
jmp 0x437d39
push 0x100
lea ecx, [esp + 0x80]
push ecx
push 0x80090322
call fcn.0040a3a0
mov edx, dword [esp + 0x1c]
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push edx
call fcn.004132e0
add esp, 0x18
mov eax, 0x3c
jmp 0x437d39
push 0x100
lea eax, [esp + 0x80]
push eax
push 0x80090300
call fcn.0040a3a0
mov ecx, dword [esp + 0x1c]
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push ecx
call fcn.004132e0
add esp, 0x18
mov eax, 0x1b
jmp 0x437d39
lea edx, [edi + edi*2]
mov ecx, dword [esp + edx*4 + 0x58]
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.004132e0
add esp, 0x10
jmp 0x437d34
mov dword [ebx + 0x24], ebp
cmp dword [esp + 0x14], 0x90312
jne 0x437e8d
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], 2
xor eax, eax
jmp 0x437d39
cmp dword [esp + 0x14], ebp
jne 0x437e9e
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], 4
mov edi, dword [esp + 0x20]
push edi
call fcn.0040f8c0
add esp, 4
test eax, eax
je 0x437ebb
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x5d0]
jmp 0x437ec5
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x5cc]
cmp esi, ebp
je 0x437efb
push edi
mov edi, dword [esp + 0x14]
call fcn.00437760
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
je 0x437ef7
mov ecx, edi
push str.SSL:_public_key_does_not_match_pinned_public_key
push ecx
call fcn.004132e0
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x437d39
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x3c], ebp
je 0x437d22
cmp dword [ebx + 0x54], ebp
je 0x437d22
mov eax, dword [esp + 0x10]
push eax
push edi
call fcn.004481c0
add esp, 8
jmp 0x437d39