Function at 0x1010c8f0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x3c
mov eax, dword [0x103440b4]
xor eax, esp
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [ecx]
xor ebx, ebx
push esi
mov esi, dword [ecx + 0x358]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x20], 0
mov byte [esp + 0x1b], bl
mov byte [esp + 0x24], bl
push edi
cmp esi, 2
jne 0x1010c98c
cmp dword [ecx + 0x424], 0xffffffff
mov edx, 0x488
mov eax, edx
mov edi, 0x498
cmovne eax, edi
cmp dword [eax + ecx], esi
je 0x1010c962
mov eax, dword [ecx + 0x34c]
mov edi, dword [ecx + 0x350]
mov dword [esp + 0x20], eax
jmp 0x1010c99c
mov eax, dword [ecx + 0x304]
mov dword [esp + 0x20], eax
cmp esi, 2
jne 0x1010c996
cmp dword [ecx + 0x424], 0xffffffff
mov dword [esp + 0x20], eax
cmovne edx, edi
cmp dword [edx + ecx], esi
je 0x1010c996
mov edi, dword [ecx + 0x350]
jmp 0x1010c99c
mov eax, dword [ecx + 0x304]
mov dword [esp + 0x20], eax
mov edi, dword [ecx + 0x308]
mov esi, dword [sym.imp.WS2_32.dll_inet_pton]
mov dword [esp + 0x18], edi
cmp byte [ecx + 0x524], bl
je 0x1010c9cf
lea ecx, [esp + 0x38]
push ecx
push eax
push 0x17
call esi
test eax, eax
je 0x1010c9cf
mov esi, 7
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x14], esi
jmp 0x1010c9f8
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x24]
push 2
call esi
test eax, eax
je 0x1010c9f3
mov esi, 7
mov dword [esp + 0x24], 4
mov dword [esp + 0x14], esi
jmp 0x1010c9f8
mov esi, 2
push 0
push 0
push 0x55
push dword [esp + 0x3c]
call fcn.10182790
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1010cbfd
push eax
mov byte [esp + 0x17], bl
mov byte [esp + 0x22], bl
call fcn.10174d80
add esp, 4
mov dword [esp + 0x34], eax
xor ebx, ebx
test eax, eax
jle 0x1010cb8b
mov al, bl
test al, al
jne 0x1010cb8b
push ebx
push dword [esp + 0x30]
call fcn.10174f40
mov edi, eax
add esp, 8
mov eax, dword [edi]
cmp eax, 2
jne 0x1010ca5c
mov byte [esp + 0x1f], 1
jmp 0x1010ca72
mov ecx, dword [esp + 0x28]
cmp eax, 7
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [esp + 0x28], ecx
cmp eax, esi
jne 0x1010cb6a
push dword [edi + 4]
call fcn.1013dce0
push dword [edi + 4]
mov esi, eax
call fcn.100ef680
mov edx, eax
add esp, 8
mov eax, dword [esp + 0x14]
sub eax, 2
je 0x1010cb25
sub eax, 5
jne 0x1010cb74
cmp edx, dword [esp + 0x24]
jne 0x1010cb74
lea ecx, [esp + 0x38]
sub edx, 4
jb 0x1010cad1
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1010cad6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1010cac0
cmp edx, 0xfffffffc
je 0x1010cb0b
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1010cb74
cmp edx, 0xfffffffd
je 0x1010cb0b
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1010cb74
cmp edx, 0xfffffffe
je 0x1010cb0b
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1010cb74
cmp edx, 0xffffffff
je 0x1010cb0b
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
jne 0x1010cb74
mov edi, dword [esp + 0x18]
push edi
push str._subjectAltName:_host___s__matched_certs_IP_address__n
push ebp
mov byte [esp + 0x2a], 1
call fcn.100ff1d0
add esp, 0xc
jmp 0x1010cb78
mov ecx, esi
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010cb30
sub ecx, edi
cmp edx, ecx
jne 0x1010cb74
push dword [esp + 0x20]
push esi
call fcn.101343f0
mov edi, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x1010cb78
push esi
push edi
push str._subjectAltName:_host___s__matched_certs___s__n
push ebp
call fcn.100ff1d0
mov al, 1
add esp, 0x10
mov byte [esp + 0x13], al
jmp 0x1010cb7c
mov edi, dword [esp + 0x18]
mov al, byte [esp + 0x13]
jmp 0x1010cb80
mov edi, dword [esp + 0x18]
mov al, byte [esp + 0x13]
mov esi, dword [esp + 0x14]
inc ebx
cmp ebx, dword [esp + 0x34]
jl 0x1010ca37
push dword [esp + 0x2c]
call fcn.10183df0
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x1010cbe6
cmp byte [esp + 0x1e], 0
jne 0x1010cbe6
cmp byte [esp + 0x1f], 0
jne 0x1010cbb3
cmp byte [esp + 0x28], 0
je 0x1010cbfb
push edi
push str._subjectAltName_does_not_match__s_n
push ebp
call fcn.100ff1d0
push edi
push str.SSL:_no_alternative_certificate_subject_name_matches_target_host_name__s
push ebp
call fcn.100ff110
add esp, 0x18
mov eax, 0x3c
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100e5dee
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100e5dee
add esp, 0x3c
ret
xor ebx, ebx
push dword [esp + 0x30]
mov dword [esp + 0x18], 0x1030b10a
call fcn.1013dd10
mov esi, eax
add esp, 4
test esi, esi
je 0x1010ccfd
push 0xffffffffffffffff
push 0xd
push esi
call fcn.10182620
add esp, 0xc
test eax, eax
js 0x1010ccfd
push eax
push 0xd
push esi
mov edi, eax
call fcn.10182620
add esp, 0xc
test eax, eax
jns 0x1010cc30
push edi
push esi
call fcn.101825f0
push eax
call fcn.101822a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1010ccfd
push edi
call fcn.100ef670
add esp, 4
push edi
cmp eax, 0xc
jne 0x1010ccba
call fcn.100ef680
mov esi, eax
add esp, 4
test esi, esi
js 0x1010ccc9
push 0x6c0
lea ecx, [esi + 1]
push str.C:Users_seraph_vcpkg_buildtreescurl_srce5cd7b457b_e7993911b1.cleanlib_vtlsopenssl.c
push ecx
call fcn.10175910
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x1010cd01
push esi
push edi
call fcn.1013dce0
add esp, 4
push eax
push dword [esp + 0x1c]
call fcn.102519a0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x1010ccc9
lea eax, [esp + 0x18]
push eax
call fcn.1017b700
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1010cd01
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010ccd4
sub ecx, edx
push ecx
call fcn.100ef7a0
add esp, 4
cmp eax, esi
je 0x1010ccfd
push str.SSL:_illegal_cert_name_field
push ebp
call fcn.100ff110
add esp, 8
mov ebx, 0x3c
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, 0x1030b10a
cmove ecx, eax
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x1010cd71
test ecx, ecx
jne 0x1010cd2d
push str.SSL:_unable_to_obtain_common_name_from_peer_certificate
push ebp
call fcn.100ff110
add esp, 8
mov ebx, 0x3c
jmp 0x1010cd6d
push dword [esp + 0x20]
push ecx
call fcn.101343f0
add esp, 8
test eax, eax
jne 0x1010cd5b
push dword [esp + 0x18]
push dword [esp + 0x18]
push str.SSL:_certificate_subject_name__s_does_not_match_target_host_name__s
push ebp
call fcn.100ff110
add esp, 0x10
mov ebx, 0x3c
jmp 0x1010cd6d
push dword [esp + 0x14]
push str._common_name:__s__matched__n
push ebp
call fcn.100ff1d0
add esp, 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1010cd88
push 0x6f1
push str.C:Users_seraph_vcpkg_buildtreescurl_srce5cd7b457b_e7993911b1.cleanlib_vtlsopenssl.c
push ecx
call fcn.10175940
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e5dee
add esp, 0x3c
ret