Function at 0x5090ee
Capabilities:
Convert ip address from string
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1e8
mov eax, dword [0x717dac]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0x1f0]
mov edx, 0x488
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1fc]
mov esi, 0x498
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
mov ecx, dword [edi + eax*4 + 0x420]
mov ebx, dword [edi]
shl eax, 4
mov dword [esp + 0x58], ecx
add eax, edi
mov ecx, dword [edi + 0x358]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x48], eax
cmp ecx, 2
jne 0x508db0
cmp dword [edi + 0x424], 0xffffffff
mov eax, edx
cmovne eax, esi
cmp dword [eax + edi], ecx
je 0x508d84
mov eax, dword [edi + 0x34c]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x4e0]
jmp 0x508dc0
mov ebp, dword [edi + 0x304]
mov dword [esp + 0x38], ebp
cmp ecx, 2
jne 0x508dba
cmp dword [edi + 0x424], 0xffffffff
mov eax, edx
mov dword [esp + 0x38], ebp
cmovne eax, esi
cmp dword [eax + edi], ecx
je 0x508dba
mov eax, dword [edi + 0x4e0]
jmp 0x508dc0
mov eax, dword [edi + 0x304]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x4ac]
mov dword [esp + 0x34], eax
cmp ecx, 2
jne 0x509033
cmp dword [edi + 0x424], 0xffffffff
mov eax, edx
cmovne eax, esi
cmp dword [eax + edi], ecx
je 0x508e21
mov eax, dword [ebx + 0x8f4]
mov ebp, dword [ebx + 0x8b8]
mov ecx, dword [edi + 0x4ec]
mov esi, dword [ebx + 0x8d0]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x4e8]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x510]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x8e0]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
jmp 0x509071
mov ebp, dword [ebx + 0x850]
mov dword [esp + 0x28], ebp
cmp ecx, 2
jne 0x50903d
cmp dword [edi + 0x424], 0xffffffff
mov eax, edx
mov dword [esp + 0x28], ebp
cmovne eax, esi
cmp dword [eax + edi], ecx
je 0x508e82
mov eax, dword [ebx + 0x8f4]
mov ecx, dword [edi + 0x4ec]
mov esi, dword [ebx + 0x8d0]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x4e8]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x510]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x8e0]
mov dword [esp + 0x2c], ecx
jmp 0x509071
mov esi, dword [ebx + 0x868]
cmp ecx, 2
jne 0x509043
cmp dword [edi + 0x424], 0xffffffff
mov eax, edx
mov edx, 0x498
mov dword [esp + 0x28], ebp
cmovne eax, edx
cmp dword [eax + edi], ecx
je 0x508ede
mov eax, dword [ebx + 0x8f4]
mov ecx, dword [edi + 0x4ec]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x4e8]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x510]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x8e0]
mov dword [esp + 0x2c], ecx
jmp 0x509071
mov edx, dword [ebx + 0x88c]
mov dword [esp + 0x20], edx
cmp ecx, 2
jne 0x50904d
cmp dword [edi + 0x424], 0xffffffff
mov eax, 0x488
mov dword [esp + 0x28], ebp
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
cmp dword [eax + edi], ecx
je 0x508f38
mov eax, dword [edi + 0x4e8]
mov ecx, dword [edi + 0x4ec]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x510]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x8e0]
mov dword [esp + 0x2c], ecx
jmp 0x509071
mov eax, dword [edi + 0x4b8]
mov dword [esp + 0x2c], eax
cmp ecx, 2
jne 0x509057
cmp dword [edi + 0x424], 0xffffffff
mov dword [esp + 0x2c], eax
mov eax, 0x488
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], edx
cmp dword [eax + edi], ecx
je 0x508f8c
mov eax, dword [edi + 0x4e8]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x510]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x8e0]
jmp 0x509071
mov eax, dword [edi + 0x4b4]
mov dword [esp + 0x30], eax
cmp ecx, 2
jne 0x509061
mov eax, dword [esp + 0x2c]
cmp dword [edi + 0x424], 0xffffffff
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, 0x488
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], edx
cmp dword [eax + edi], ecx
je 0x508fe2
mov al, byte [edi + 0x510]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x8e0]
jmp 0x509071
mov al, byte [edi + 0x4dc]
mov byte [esp + 0x13], al
cmp ecx, 2
jne 0x50906b
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp dword [edi + 0x424], 0xffffffff
mov dword [esp + 0x30], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x2c], eax
mov eax, 0x488
mov byte [esp + 0x13], cl
mov ecx, 0x498
cmovne eax, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], edx
cmp dword [eax + edi], 2
je 0x50906b
mov eax, dword [ebx + 0x8e0]
jmp 0x509071
mov ebp, dword [ebx + 0x850]
mov dword [esp + 0x28], ebp
mov esi, dword [ebx + 0x868]
mov eax, dword [ebx + 0x88c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x4b8]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x4b4]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x4dc]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x878]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push ebx
mov byte [esp + 0x40], 0
mov eax, dword [eax + 0x470]
mov dword [esp + 0x1c], eax
call fcn.00507170
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x50a016
cmp dword [edi + 0x358], 2
jne 0x5090ca
cmp dword [edi + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x5090ca
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x8dc]
jmp 0x5090d4
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x874]
mov dword [eax], 1
mov eax, dword [esp + 0x34]
cmp eax, 7
ja case.default.0x5090e7
jmp dword [eax*4 + 0x50a030]
call fcn.00537500
mov edi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x509108
push ecx
call fcn.0052df30
add esp, 4
push edi
call fcn.0052e130
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x50918b
call fcn.005779b0
mov esi, eax
mov byte [esp + 0x74], 0
push 0x100
lea eax, [esp + 0x78]
push eax
push esi
call fcn.00577300
add esp, 0xc
cmp byte [esp + 0x74], 0
jne 0x50916b
mov ecx, str.No_error
test esi, esi
mov eax, str.Unknown_error
cmove eax, ecx
push 0x100
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00646280
add esp, 0xc
mov byte [esp + 0x173], 0
lea eax, [esp + 0x74]
push eax
push str.SSL:_couldnt_create_a_context:__s
push dword [esp + 0x1c]
call fcn.004f1190
add esp, 0xc
mov eax, 0x1b
jmp 0x50a016
push 0
push 0x10
push 0x21
push eax
call fcn.0052dbc0
mov edi, dword [esp + 0x24]
add esp, 0x10
cmp dword [edi + 0x600], 0
je 0x5091db
cmp byte [edi + 0xb42], 0
je 0x5091db
mov eax, dword [esp + 0x18]
push 0x50b440
push dword [eax]
call fcn.0052e670
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edi
push 0
push 0x10
push dword [eax]
call fcn.0052dbc0
mov edi, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x358]
cmp ecx, 2
jne 0x509208
cmp dword [edx + 0x424], 0xffffffff
mov eax, 0x488
cmovne eax, dword [esp + 0x24]
cmp dword [eax + edx], ecx
je 0x509208
mov al, byte [edi + 0x90a]
jmp 0x50920e
mov al, byte [edi + 0x8a2]
test al, al
mov edi, 0x80024054
mov eax, dword [esp + 0x34]
mov edx, 0x80024854
cmovne edi, edx
jmp dword [eax*4 + 0x50a050]
mov eax, dword [esp + 0x18]
push 0
push 2
push 0x7b
push dword [eax]
call fcn.0052dbc0
mov eax, dword [esp + 0x28]
push 0
push 2
push 0x7c
push dword [eax]
call fcn.0052dbc0
add esp, 0x20
jmp 0x50939e
mov eax, dword [esp + 0x18]
or edi, 0x2000000
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
cmp ecx, 2
jne 0x5092bd
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x5092bd
mov ecx, dword [ebx + 0x4e0]
jmp 0x5092c3
mov ecx, dword [ebx + 0x4ac]
lea edx, [ecx - 1]
xor eax, eax
cmp edx, 6
ja case.0x5092cd.2
jmp dword [edx*4 + 0x50a070]
mov eax, 0x301
test ecx, ecx
je 0x5092f6
push 0
push eax
push 0x7b
push dword [esp + 0x40]
call fcn.0052dbc0
add esp, 0x10
test eax, eax
je 0x50a011
cmp dword [ebx + 0x358], 2
jne 0x509336
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x509336
mov eax, dword [ebx + 0x4e4]
jmp 0x50933c
mov eax, 0x302
jmp 0x5092dd
mov eax, 0x303
jmp 0x5092dd
mov eax, 0x304
jmp 0x5092dd
mov eax, dword [ebx + 0x4b0]
cmp eax, 0x50000
jg 0x509365
je 0x50935e
test eax, eax
je 0x509373
cmp eax, 0x10000
je 0x509373
cmp eax, 0x40000
jne 0x509373
mov eax, 0x301
jmp 0x509383
mov eax, 0x302
jmp 0x509383
cmp eax, 0x60000
je 0x50937e
cmp eax, 0x70000
je 0x509377
xor eax, eax
jmp 0x509383
mov eax, 0x304
jmp 0x509383
mov eax, 0x303
push 0
push eax
push 0x7c
push dword [esp + 0x40]
call fcn.0052dbc0
add esp, 0x10
test eax, eax
je 0x50a011
xor ebx, ebx
mov eax, dword [esp + 0x18]
push edi
push dword [eax]
call fcn.0052e6c0
mov edi, dword [esp + 0x24]
add esp, 8
cmp byte [edi + 0x533], 0
je 0x5093ce
mov eax, dword [esp + 0x18]
push edi
push 0x50ab40
push dword [eax]
call fcn.0052e680
add esp, 0xc
cmp byte [edi + 0x534], 0
je 0x509420
push str.http_1.1
push str.ALPN__offering__s_n
push dword [esp + 0x1c]
mov byte [esp + 0x180], 8
mov dword [esp + 0x181], 0x70747468
mov dword [esp + 0x185], 0x312e312f
call fcn.004f1250
push 9
lea eax, [esp + 0x184]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
call fcn.0052e4d0
add esp, 0x18
test ebp, ebp
jne 0x509432
test esi, esi
jne 0x509432
cmp dword [esp + 0x20], esi
je 0x509637
xor ebp, ebp
xor edi, edi
test esi, esi
je 0x509459
push dword [esi + 4]
push dword [esi]
call fcn.00569410
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x509459
mov ebx, 0x1b
mov eax, ebx
jmp 0x50a016
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x358]
cmp edx, 2
jne 0x50948d
cmp dword [esi + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + esi], edx
je 0x50948d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x8fc]
jmp 0x509497
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x894]
test eax, eax
je 0x50953b
cmp edx, 2
jne 0x50950a
cmp dword [esi + 0x424], 0xffffffff
mov edi, 0x488
mov eax, edi
cmovne eax, dword [esp + 0x24]
cmp dword [eax + esi], edx
je 0x5094ce
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 0x8fc]
mov eax, dword [eax + 0x8fc]
jmp 0x509520
mov ecx, dword [ecx + 0x894]
mov esi, ecx
cmp edx, 2
jne 0x509512
mov eax, edi
mov edx, 0x498
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x424], 0xffffffff
cmovne eax, edx
cmp dword [eax + edi], 2
je 0x509504
mov eax, dword [esp + 0x14]
mov esi, edi
mov eax, dword [eax + 0x8fc]
jmp 0x509520
mov ecx, esi
mov esi, edi
jmp 0x509516
mov ecx, dword [ecx + 0x894]
jmp 0x509516
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x894]
push dword [ecx + 4]
push dword [eax]
call fcn.00569410
mov edi, eax
add esp, 8
test edi, edi
jne 0x50953b
lea ebx, [eax + 0x1b]
jmp 0x509612
mov edx, dword [esi + 0x358]
cmp edx, 2
jne 0x5095a2
cmp dword [esi + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + esi], edx
je 0x509571
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x904]
mov esi, dword [eax + 0x900]
jmp 0x5095b6
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x89c]
cmp edx, 2
jne 0x5095ac
cmp dword [esi + 0x424], 0xffffffff
mov eax, 0x488
cmovne eax, dword [esp + 0x24]
cmp dword [eax + esi], edx
je 0x5095ac
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x900]
jmp 0x5095b6
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x89c]
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x898]
cmp edx, 2
mov edx, dword [esp + 0x1c]
jne 0x5095e2
cmp dword [edx + 0x424], 0xffffffff
mov eax, 0x488
cmovne eax, dword [esp + 0x24]
cmp dword [eax + edx], 2
je 0x5095e2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x8f8]
jmp 0x5095ec
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x890]
push ecx
push esi
push edi
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ebp
push dword [esp + 0x40]
push dword [eax]
push edx
call fcn.00507440
add esp, 0x24
mov ecx, 0x3a
test eax, eax
cmove ebx, ecx
test ebp, ebp
je 0x50961f
push ebp
call fcn.005681c0
add esp, 4
test edi, edi
je 0x50962c
push edi
call fcn.005681c0
add esp, 4
test ebx, ebx
je 0x509637
mov eax, ebx
jmp 0x50a016
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x358]
cmp ecx, 2
jne 0x509667
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov edx, 0x498
cmovne eax, edx
cmp dword [eax + ebx], ecx
je 0x509667
mov esi, dword [ebx + 0x4fc]
jmp 0x50966d
mov esi, dword [ebx + 0x4c8]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x5096ba
push esi
push dword [edi]
call fcn.0052e590
add esp, 8
push esi
test eax, eax
jne 0x5096a0
push str.failed_setting_cipher_list:__s
push dword [esp + 0x1c]
call fcn.004f1190
add esp, 0xc
mov eax, 0x3b
jmp 0x50a016
mov ebp, dword [esp + 0x18]
push str.Cipher_selection:__s_n
push ebp
call fcn.004f1250
mov ecx, dword [ebx + 0x358]
add esp, 0xc
jmp 0x5096be
mov ebp, dword [esp + 0x14]
cmp ecx, 2
jne 0x5096e5
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x5096e5
mov esi, dword [ebx + 0x500]
jmp 0x5096eb
mov esi, dword [ebx + 0x4cc]
test esi, esi
je 0x509725
push esi
push dword [edi]
call fcn.005342c0
add esp, 8
push esi
test eax, eax
jne 0x509717
push str.failed_setting_TLS_1.3_cipher_suite:__s
push ebp
call fcn.004f1190
add esp, 0xc
mov eax, 0x3b
jmp 0x50a016
push str.TLS_1.3_cipher_selection:__s_n
push ebp
call fcn.004f1250
add esp, 0xc
push 1
push dword [edi]
call fcn.0052e6e0
add esp, 8
cmp dword [ebx + 0x358], 2
jne 0x50975c
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x50975c
mov esi, dword [ebx + 0x50c]
jmp 0x509762
mov esi, dword [ebx + 0x4d8]
test esi, esi
je 0x509792
push esi
push 0
push 0x5c
push dword [edi]
call fcn.0052dbc0
add esp, 0x10
test eax, eax
jne 0x509792
push esi
push str.failed_setting_curves_list:__s
push ebp
call fcn.004f1190
add esp, 0xc
mov eax, 0x3b
jmp 0x50a016
mov ecx, dword [ebx + 0x358]
mov edx, 0x488
lea esi, [edx + 0x10]
cmp ecx, 2
jne 0x5097be
cmp dword [ebx + 0x424], 0xffffffff
mov eax, edx
cmovne eax, esi
cmp dword [eax + ebx], ecx
je 0x5097be
mov al, byte [ebx + 0x510]
jmp 0x5097c4
mov al, byte [ebx + 0x4dc]
test al, al
jne 0x5097f4
cmp ecx, 2
jne 0x5097e6
cmp dword [ebx + 0x424], 0xffffffff
mov eax, edx
cmovne eax, esi
cmp dword [eax + ebx], ecx
je 0x5097e6
mov al, byte [ebx + 0x511]
jmp 0x5097ec
mov al, byte [ebx + 0x4dd]
test al, al
je 0x509a88
cmp ecx, 2
jne 0x509812
cmp dword [ebx + 0x424], 0xffffffff
mov eax, edx
cmovne eax, esi
cmp dword [eax + ebx], ecx
je 0x509812
mov al, byte [ebp + 0x90e]
jmp 0x509818
mov al, byte [ebp + 0x8a6]
test al, al
je 0x509a88
push dword [edi]
call fcn.0052e0e0
add esp, 4
mov dword [esp + 0x54], eax
push str.ROOT
push 0
call dword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x509a7a
xor ecx, ecx
xor esi, esi
push ecx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], ecx
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x509a3b
nop dword [eax]
mov eax, dword [edi + 4]
mov dword [esp + 0x50], eax
test eax, eax
je 0x5099bd
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [edi + 0xc]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x5099bd
mov eax, dword [edi + 0xc]
add eax, 0x28
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x5099bd
push 2
lea eax, [esp + 0x18]
push eax
push dword [edi + 0xc]
push dword [edi]
call dword [sym.imp.CRYPT32.dll_CertGetIntendedKeyUsage]
test eax, eax
je 0x5098e1
test byte [esp + 0x14], 4
je 0x5099bd
jmp 0x5098ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x5099bd
lea eax, [esp + 0x34]
push eax
push 0
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CertGetEnhancedKeyUsage]
test eax, eax
je 0x5099bd
mov eax, dword [esp + 0x34]
test eax, eax
je 0x50993f
cmp eax, dword [esp + 0x28]
jbe 0x50993f
push str.C:Users_seraph_vcpkg_buildtreescurl_srce5cd7b457b_e7993911b1.cleanlib_vtlsopenssl.c
push 0xb7c
push eax
push esi
call fcn.004e0790
add esp, 0x10
test eax, eax
je 0x509a25
mov esi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x34]
push eax
push esi
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CertGetEnhancedKeyUsage]
test eax, eax
je 0x5099bd
mov eax, dword [esi]
test eax, eax
jne 0x509967
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80092004
jne 0x5099bd
jmp 0x5099dc
xor edi, edi
test eax, eax
je 0x509a1f
mov esi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, str.1.3.6.1.5.5.7.3.1
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5099a0
test dl, dl
je 0x50999c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5099a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x509980
xor eax, eax
jmp 0x5099a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x5099d8
mov eax, dword [esp + 0x24]
inc edi
add esi, 4
cmp edi, dword [eax]
jb 0x509974
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push edi
push dword [esp + 0x20]
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov edi, eax
mov dword [esp + 0x20], eax
test edi, edi
jne 0x509870
jmp 0x509a3b
mov edi, dword [esp + 0x20]
push dword [edi + 8]
lea eax, [esp + 0x54]
push eax
push 0
call fcn.00573410
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5099b9
push esi
push dword [esp + 0x58]
call fcn.00571c00
mov ecx, dword [esp + 0x44]
cmp eax, 1
movzx ecx, cl
mov eax, 1
cmove ecx, eax
push esi
mov dword [esp + 0x48], ecx
call fcn.00573390
add esp, 0xc
jmp 0x5099b9
mov edi, dword [esp + 0x20]
jmp 0x5099bd
push str.SSL:_Out_of_memory_allocating_for_OID_list
push ebp
call fcn.004f1190
add esp, 8
mov dword [esp + 0x4c], 0x1b
push str.C:Users_seraph_vcpkg_buildtreescurl_srce5cd7b457b_e7993911b1.cleanlib_vtlsopenssl.c
push 0xbb6
push esi
call fcn.004e0620
add esp, 0xc
push edi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push 0
push dword [esp + 0x20]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x50a016
cmp byte [esp + 0x3c], al
je 0x509a7a
push str.successfully_imported_windows_ca_store_n
jmp 0x509a7f
push str.error_importing_windows_ca_store__continuing_anyway_n
push ebp
call fcn.004f1250
add esp, 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x509a9c
test ecx, ecx
je 0x509b40
mov edi, dword [esp + 0x18]
push ecx
push eax
push dword [edi]
call fcn.0052e110
add esp, 0xc
test eax, eax
jne 0x509af6
cmp byte [esp + 0x13], al
je 0x509aef
cmp byte [esp + 0x3c], al
jne 0x509aef
mov ecx, dword [esp + 0x30]
mov esi, str.none
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
mov eax, dword [esp + 0x30]
test eax, eax
cmovne esi, eax
push esi
push str.error_setting_certificate_verify_locations:__CAfile:__s_CApath:__s
push ebp
call fcn.004f1190
add esp, 0x10
mov eax, 0x4d
jmp 0x50a016
mov eax, str.error_setting_certificate_verify_locations__continuing_anyway:_n
jmp 0x509afb
mov eax, str.successfully_set_certificate_verify_locations:_n
push eax
push ebp
call fcn.004f1250
mov ecx, dword [esp + 0x34]
mov esi, str.none
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
push str._CAfile:__s_n
push ebp
call fcn.004f1250
mov eax, dword [esp + 0x44]
test eax, eax
cmovne esi, eax
push esi
push str._CApath:__s_n
push ebp
call fcn.004f1250
mov eax, dword [esp + 0x4c]
add esp, 0x20
mov ecx, dword [esp + 0x30]
jmp 0x509b44
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x13], 0
je 0x509b63
test eax, eax
jne 0x509b63
test ecx, ecx
jne 0x509b63
cmp byte [esp + 0x3c], cl
jne 0x509b63
push dword [edi]
call fcn.0052e650
add esp, 4
mov esi, dword [esp + 0x40]
test esi, esi
je 0x509bcb
call fcn.005723e0
push eax
push dword [edi]
call fcn.0052e0e0
add esp, 4
push eax
call fcn.00571c80
add esp, 8
test eax, eax
je 0x509c19
push 1
push esi
push eax
call fcn.00572660
add esp, 0xc
test eax, eax
je 0x509c19
push str.successfully_load_CRL_file:_n
push ebp
call fcn.004f1250
add esp, 8
push 0xc
push dword [edi]
call fcn.0052e0e0
add esp, 4
push eax
call fcn.00571f80
push esi
push str.__CRLfile:__s_n
push ebp
call fcn.004f1250
add esp, 0x14
cmp byte [esp + 0x13], 0
je 0x509c58
push 0x8000
push dword [edi]
call fcn.0052e0e0
add esp, 4
push eax
call fcn.00571f80
add esp, 8
cmp dword [ebx + 0x358], 2
jne 0x509c32
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x509c32
mov al, byte [ebp + 0x90c]
jmp 0x509c38
push esi
push str.error_loading_CRL_file:__s
push ebp
call fcn.004f1190
add esp, 0xc
mov eax, 0x52
jmp 0x50a016
mov al, byte [ebp + 0x8a4]
test al, al
jne 0x509c58
test esi, esi
jne 0x509c58
push 0x80000
push dword [edi]
call fcn.0052e0e0
add esp, 4
push eax
call fcn.00571f80
add esp, 8
xor eax, eax
cmp byte [esp + 0x13], al
push 0
setne al
push eax
push dword [edi]
call fcn.0052e6f0
add esp, 0xc
call fcn.00528f70
test al, al
je 0x509c86
push 0x50a4e0
push dword [edi]
call fcn.0052e660
add esp, 8
push 0
push 0x301
push 0x2c
push dword [edi]
call fcn.0052dbc0
push 0x50a4f0
push dword [edi]
call fcn.005326a0
add esp, 0x18
cmp dword [ebp + 0x884], 0
je 0x509ced
push 1
push ebp
call fcn.004e2ef0
push dword [ebp + 0x888]
mov eax, dword [ebp + 0x884]
push dword [edi]
push ebp
call eax
push 0
push ebp
mov esi, eax
call fcn.004e2ef0
add esp, 0x1c
test esi, esi
je 0x509ced
push str.error_signaled_by_ssl_ctx_callback
push ebp
call fcn.004f1190
add esp, 8
mov eax, esi
jmp 0x50a016
mov eax, dword [edi + 4]
test eax, eax
je 0x509cfd
push eax
call fcn.0052f220
add esp, 4
push dword [edi]
call fcn.0052fb60
mov ecx, eax
add esp, 4
mov dword [edi + 4], ecx
test ecx, ecx
jne 0x509d28
push str.SSL:_couldnt_create_a_context__handle__
push ebp
call fcn.004f1190
add esp, 8
mov eax, 0x1b
jmp 0x50a016
cmp dword [ebx + 0x358], 2
jne 0x509d53
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov edx, 0x498
cmovne eax, edx
cmp dword [eax + ebx], 2
je 0x509d53
mov al, byte [ebx + 0x512]
jmp 0x509d59
mov al, byte [ebx + 0x4de]
test al, al
je 0x509d6f
push 0
push 1
push 0x41
push ecx
call fcn.0052e9a0
mov ecx, dword [edi + 4]
add esp, 0x10
push ecx
call fcn.00530460
mov esi, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [esp + 0x68]
add esp, 4
mov dword [edi + 8], 0
push eax
push dword [esp + 0x3c]
push 2
call esi
test eax, eax
jne 0x509dcb
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x3c]
push 0x17
call esi
test eax, eax
jne 0x509dcb
push dword [esp + 0x38]
push eax
push 0x37
push dword [edi + 4]
call fcn.0052e9a0
add esp, 0x10
test eax, eax
jne 0x509dcb
push str.WARNING:_failed_to_configure_server_name_indication__SNI__TLS_extension_n
push ebp
call fcn.004f1250
add esp, 8
cmp dword [ebx + 0x358], 2
jne 0x509df6
cmp dword [ebx + 0x424], 0xffffffff
mov eax, 0x488
mov ecx, 0x498
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x509df6
mov al, byte [ebp + 0x8db]
jmp 0x509dfc
mov al, byte [ebp + 0x873]
test al, al
je 0x509f09
mov dword [esp + 0x40], 0
call fcn.0050a480
mov edi, eax
call fcn.0050a4b0
mov esi, eax
test edi, edi
js 0x509e4b
test esi, esi
js 0x509e4b
push ebx
push edi
mov edi, dword [esp + 0x20]
push dword [edi + 4]
call fcn.00530510
mov eax, dword [esp + 0x50]
add eax, 0x108
lea eax, [ebx + eax*4]
push eax
push esi
push dword [edi + 4]
call fcn.00530510
add esp, 0x18
jmp 0x509e4f
mov edi, dword [esp + 0x18]
push ebx
call fcn.004eb020
push dword [esp + 0x48]
lea eax, [esp + 0x48]
push 0
push eax
push ebx
call fcn.004ea900
add esp, 0x14
test al, al
jne 0x509f00
push dword [esp + 0x40]
push dword [edi + 4]
call fcn.00532a10
add esp, 8
test eax, eax
jne 0x509ef2
push ebx
call fcn.004eb050
call fcn.00577630
mov esi, eax
mov byte [esp + 0x78], 0
push 0x100
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.00577300
add esp, 0x10
cmp byte [esp + 0x74], 0
jne 0x509eda
mov ecx, str.No_error
test esi, esi
mov eax, str.Unknown_error
cmove eax, ecx
push 0x100
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00646280
add esp, 0xc
mov byte [esp + 0x173], 0
lea eax, [esp + 0x74]
push eax
push str.SSL:_SSL_set_session_failed:__s
push ebp
call fcn.004f1190
add esp, 0xc
jmp 0x50a011
push str.SSL_re_using_session_ID_n
push ebp
call fcn.004f1250
add esp, 8
push ebx
call fcn.004eb050
add esp, 4
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x494], 0
je 0x509f5e
call fcn.00534220
push eax
call fcn.005686d0
mov ecx, dword [esp + 0x48]
mov esi, eax
add ecx, 0x49
add ecx, ecx
mov ecx, dword [ebx + ecx*8]
push dword [ecx + 4]
push 0
push 0x6d
push esi
call fcn.005680a0
push esi
push esi
push dword [edi + 4]
call fcn.00530290
add esp, 0x20
mov eax, dword [esp + 0x48]
mov dword [eax + 0x46c], 1
xor eax, eax
jmp 0x50a016
push dword [esp + 0x58]
push dword [edi + 4]
call fcn.00530520
add esp, 8
test eax, eax
jne 0x509f49
call fcn.00577630
mov esi, eax
mov byte [esp + 0x74], 0
push 0x100
lea eax, [esp + 0x78]
push eax
push esi
call fcn.00577300
add esp, 0xc
cmp byte [esp + 0x74], 0
jne 0x509fc1
mov ecx, str.No_error
test esi, esi
mov eax, str.Unknown_error
cmove eax, ecx
push 0x100
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00646280
add esp, 0xc
mov byte [esp + 0x173], 0
lea eax, [esp + 0x74]
push eax
push str.SSL:_SSL_set_fd_failed:__s
push ebp
call fcn.004f1190
add esp, 0xc
jmp 0x50a011
push str.OpenSSL_was_built_without_SSLv2_support
push ecx
call fcn.004f1190
add esp, 8
mov eax, 4
jmp 0x50a016
push str.OpenSSL_was_built_without_SSLv3_support
push ecx
call fcn.004f1190
add esp, 8
mov eax, 4
jmp 0x50a016
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [esp + 0x18]
call fcn.004f1190
add esp, 8
mov eax, 0x23
mov ecx, dword [esp + 0x1f4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0062f00e
add esp, 0x1e8
ret