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

Disassembly:
sub esp, 0x1dc
mov eax, dword [0x53b0f8]
xor eax, esp
mov dword [esp + 0x1d8], eax
mov eax, dword [esp + 0x1e8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1f0]
mov ebp, 0x1b8
mov dword [esp + 0x10], eax
shl eax, 4
push edi
mov edi, dword [esp + 0x1f0]
lea ecx, [esi + 0x198]
add ecx, eax
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esi + 0xb8], 2
lea edx, [ebp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], 0
jne 0x47d92b
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
cmovne eax, edx
cmp dword [eax + esi], 2
je 0x47d92b
mov eax, dword [esi + 0xac]
jmp 0x47d92e
mov eax, dword [esi + 0x64]
mov ebx, dword [ecx + 8]
push 1
push 2
push 0
push 1
push 5
mov dword [esp + 0x24], eax
call fcn.00495630
add esp, 0x14
test al, al
je 0x47d959
push str.schannel:_Windows_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc.
push edi
call fcn.00467490
add esp, 8
cmp byte [esi + 0x28b], 0
je 0x47d996
push str.wine_get_version
push 0x51b6cc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x47d996
push 3
push 2
push eax
push 3
push 6
call fcn.00495630
add esp, 0x14
test al, al
je 0x47d996
mov al, 1
jmp 0x47d998
xor al, al
mov byte [ebx + 0x46], al
mov edx, 0x1c8
mov ecx, dword [esi + 0xb8]
cmp ecx, 2
jne 0x47d9c4
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
cmovne eax, edx
cmp dword [eax + esi], ecx
je 0x47d9c4
mov eax, dword [esi + 0x230]
jmp 0x47d9ca
mov eax, dword [esi + 0x1e8]
test eax, eax
jne 0x47d9fb
cmp ecx, 2
jne 0x47d9ec
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
cmovne eax, edx
cmp dword [eax + esi], ecx
je 0x47d9ec
mov eax, dword [esi + 0x258]
jmp 0x47d9f2
mov eax, dword [esi + 0x210]
test eax, eax
jne 0x47d9fb
mov byte [ebx + 0x47], al
jmp 0x47da19
push 3
push 2
push 0
push 1
push 6
call fcn.00495630
add esp, 0x14
test al, al
je 0x47ddf7
mov byte [ebx + 0x47], 1
mov dword [ebx], 0
cmp dword [esi + 0xb8], 2
jne 0x47da47
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x47da47
mov al, byte [edi + 0x4b4]
jmp 0x47da4d
mov al, byte [edi + 0x444]
test al, al
je 0x47dab5
push edi
call fcn.004614b0
add esp, 4
cmp dword [esi + 0xb8], 2
jne 0x47da7e
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x47da7e
mov al, 1
jmp 0x47da80
xor al, al
push dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
push esi
push edi
call fcn.00461060
add esp, 0x18
test al, al
jne 0x47daa3
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
inc dword [eax + 0x14]
push edi
call fcn.004614d0
add esp, 4
cmp dword [ebx], 0
jne 0x47db35
push dword [esp + 0x14]
push esi
push edi
call fcn.0047cde0
add esp, 0xc
test eax, eax
jne 0x47de0a
cmp dword [esi + 0xb8], 2
jne 0x47daf3
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x47daf3
mov eax, dword [esi + 0xac]
jmp 0x47daf6
mov eax, dword [esi + 0x64]
push 0
push eax
push edi
call fcn.00461570
add esp, 0xc
test eax, eax
jne 0x47db1b
push str.Failed_to_set_SNI
push edi
call fcn.004673c0
mov eax, 0x23
jmp 0x47de07
push eax
call fcn.00506be4
mov ecx, dword [ebx]
add esp, 4
mov dword [ecx + 0x10], eax
mov eax, dword [ebx]
cmp dword [eax + 0x10], 0
je 0x47dd74
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x14]
push 2
call fcn.00495330
add esp, 0xc
test eax, eax
jne 0x47db63
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x14]
push 0x17
call fcn.00495330
add esp, 0xc
test eax, eax
je 0x47db71
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS.
push edi
call fcn.00467490
add esp, 8
cmp byte [ebx + 0x46], 0
je 0x47dbdf
mov eax, dword [str.http_1.1]
push str.http_1.1
mov dword [esp + 0x77], eax
mov eax, dword [0x51b790]
push str.ALPN:_offers__s
push edi
mov dword [esp + 0x78], 2
mov byte [esp + 0x7e], 8
mov dword [esp + 0x83], eax
call fcn.00467490
push 9
call fcn.004699b0
mov word [esp + 0x80], ax
add esp, 0x10
movzx eax, ax
add eax, 6
mov dword [esp + 0x20], 0x13
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x24], 0x12
mov dword [esp + 0x28], eax
jmp 0x47dbf7
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 1
mov dword [ebx + 0x38], 0x811c
cmp dword [esi + 0xb8], 2
jne 0x47dc6c
cmp dword [esi + 0x154], 0xffffffff
mov eax, 0x1c8
cmovne ebp, eax
cmp dword [esi + ebp], 2
je 0x47dc6c
mov al, byte [edi + 0x4df]
jmp 0x47dc72
mov al, byte [edi + 0x46f]
test al, al
jne 0x47dc7d
mov dword [ebx + 0x38], 0x819c
push 0x10
push 1
call dword [0x53b134]
mov edx, eax
add esp, 8
mov dword [ebx + 4], edx
test edx, edx
jne 0x47dca8
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.004673c0
mov eax, 0x1b
jmp 0x47de07
mov ecx, dword [ebx]
lea eax, [edx + 8]
push eax
lea eax, [ebx + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
push edx
xor edx, edx
lea eax, [esp + 0x48]
cmp byte [ebx + 0x46], dl
push 0
cmove eax, edx
push eax
mov eax, dword [0x53db78]
push edx
push edx
push dword [ebx + 0x38]
mov eax, dword [eax + 0x18]
push dword [ecx + 0x10]
push edx
push ecx
call eax
mov ebp, eax
cmp ebp, 0x90312
je 0x47dd7e
push dword [ebx + 4]
call dword [0x53b128]
add esp, 4
mov dword [ebx + 4], 0
lea eax, [esp + 0xe8]
push 0x100
push eax
cmp ebp, 0x80090300
je 0x47dd5b
cmp ebp, 0x80090322
je 0x47dd38
push ebp
call fcn.00451720
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.004673c0
add esp, 0x18
mov eax, 0x23
jmp 0x47de0a
push 0x80090322
call fcn.00451720
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push edi
call fcn.004673c0
add esp, 0x18
mov eax, 0x3c
jmp 0x47de0a
push 0x80090300
call fcn.00451720
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.004673c0
add esp, 0x18
mov eax, 0x1b
jmp 0x47de0a
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x3c]
push dword [esi + eax*4 + 0x150]
push edi
call fcn.00467850
mov ecx, dword [0x53db78]
add esp, 0x14
mov esi, eax
push dword [esp + 0x34]
mov ecx, dword [ecx + 0x40]
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
test esi, esi
jne 0x47dde0
cmp ecx, eax
jne 0x47dde0
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x40], 0
mov word [ebx + 0x44], 0
mov byte [ebx + 0x34], 0
mov dword [eax + 4], 1
xor eax, eax
jmp 0x47de0a
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push edi
call fcn.004673c0
add esp, 0x10
mov eax, 0x23
jmp 0x47de0a
push str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
push edi
call fcn.004673c0
mov eax, 0x4d
add esp, 8
mov ecx, dword [esp + 0x1e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00434475
add esp, 0x1dc
ret