Function at 0x444585
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0x1ac], 0xffffffff
and dword [ebp - 0x1a0], 0
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x1b4], eax
push edi
mov edi, ecx
mov edx, 0x1c8
mov ecx, eax
mov dword [ebp - 0x1e0], edi
shl ecx, 4
cmp dword [ebx + 0xb8], 2
mov dword [ebp - 0x1dc], ecx
jne 0x4445f0
cmp dword [ebx + 0x154], 0xffffffff
lea eax, [edx - 0x10]
cmovne eax, edx
cmp dword [eax + ebx], 2
je 0x4445f0
mov eax, dword [ebx + 0xac]
jmp 0x4445f3
mov eax, dword [ebx + 0x64]
mov esi, dword [ecx + ebx + 0x1a0]
xor edx, edx
push 1
push ecx
push ecx
push 5
inc edx
mov dword [ebp - 0x1a4], eax
pop ecx
mov dword [ebp - 0x1a8], esi
call fcn.00410b38
add esp, 0xc
test al, al
je 0x444629
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.0041d632
pop ecx
pop ecx
cmp byte [ebx + 0x28b], 0
je 0x444667
push str.wine_get_version
push str.ntdll
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleA]
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test eax, eax
jne 0x444667
push 3
push ecx
push ecx
push 3
pop edx
push 6
pop ecx
call fcn.00410b38
add esp, 0xc
test al, al
je 0x444667
mov al, 1
jmp 0x444669
xor al, al
mov byte [esi + 0x46], al
mov edx, 0x1c8
mov ecx, dword [ebx + 0xb8]
cmp ecx, 2
jne 0x444696
cmp dword [ebx + 0x154], 0xffffffff
lea eax, [edx - 0x10]
cmovne eax, edx
cmp dword [eax + ebx], ecx
je 0x444696
mov eax, dword [ebx + 0x230]
jmp 0x44469c
mov eax, dword [ebx + 0x1e8]
test eax, eax
jne 0x4446cf
cmp ecx, 2
jne 0x4446c1
cmp dword [ebx + 0x154], 0xffffffff
mov eax, 0x1b8
cmovne eax, edx
cmp dword [eax + ebx], ecx
je 0x4446c1
mov eax, dword [ebx + 0x258]
jmp 0x4446c7
mov eax, dword [ebx + 0x210]
test eax, eax
jne 0x4446cf
xor al, al
jmp 0x4446eb
push 3
push ecx
push ecx
xor edx, edx
push 6
inc edx
pop ecx
call fcn.00410b38
add esp, 0xc
test al, al
je 0x444b1f
mov al, 1
mov byte [esi + 0x47], al
and dword [esi], 0
cmp dword [ebx + 0xb8], 2
jne 0x44471a
cmp dword [ebx + 0x154], 0xffffffff
mov eax, 0x1b8
lea ecx, [eax + 0x10]
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x44471a
mov al, byte [edi + 0x4b4]
jmp 0x444720
mov al, byte [edi + 0x444]
test al, al
je 0x444794
mov ecx, edi
call fcn.00427060
cmp dword [ebx + 0xb8], 2
jne 0x444753
cmp dword [ebx + 0x154], 0xffffffff
mov eax, 0x1b8
mov byte [ebp - 0x1b0], 1
lea ecx, [eax + 0x10]
cmovne eax, ecx
cmp dword [eax + ebx], 2
jne 0x44475a
mov byte [ebp - 0x1b0], 0
push ecx
push ecx
lea eax, [ebp - 0x1a0]
mov edx, ebx
push eax
push dword [ebp - 0x1b0]
mov ecx, edi
call fcn.0042708e
add esp, 0x10
test al, al
jne 0x444784
mov eax, dword [ebp - 0x1a0]
mov dword [esi], eax
inc dword [eax + 0x14]
mov ecx, edi
call fcn.00427078
cmp dword [esi], 0
jne 0x444814
push dword [ebp - 0x1b4]
mov edx, ebx
mov ecx, edi
call fcn.00443d21
pop ecx
test eax, eax
jne 0x444b2f
cmp dword [ebx + 0xb8], 2
jne 0x4447d5
cmp dword [ebx + 0x154], 0xffffffff
mov eax, 0x1b8
lea ecx, [eax + 0x10]
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x4447d5
mov edx, dword [ebx + 0xac]
jmp 0x4447d8
mov edx, dword [ebx + 0x64]
push ecx
mov ecx, edi
call fcn.004277af
pop ecx
test eax, eax
jne 0x4447f9
push str.Failed_to_set_SNI
push edi
call fcn.0041d6ad
pop ecx
pop ecx
push 0x23
jmp 0x444b2e
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
pop ecx
mov ecx, dword [esi]
mov dword [ecx + 0x10], eax
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
jne 0x444814
push 0x1b
jmp 0x444b2e
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp - 0x1a4]
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x444846
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x1a4]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x444853
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS.
push edi
call fcn.0041d632
pop ecx
pop ecx
cmp byte [esi + 0x46], 0
je 0x4448c6
push str.http_1.1
push str.ALPN:_offers__s
push edi
mov dword [ebp - 0x88], 2
mov byte [ebp - 0x82], 8
mov dword [ebp - 0x81], 0x70747468
mov dword [ebp - 0x7d], 0x312e312f
call fcn.0041d632
add esp, 0xc
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x1c0], 0x13
xor ecx, ecx
mov dword [ebp - 0x1bc], 0x12
push 9
pop eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x1b8], eax
jmp 0x4448da
xor ecx, ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], ecx
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1d4], 1
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], 1
mov dword [esi + 0x38], 0x811c
cmp dword [ebx + 0xb8], 2
jne 0x444954
cmp dword [ebx + 0x154], 0xffffffff
mov eax, 0x1b8
lea ecx, [eax + 0x10]
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x444954
mov cl, byte [edi + 0x4df]
jmp 0x44495a
mov cl, byte [edi + 0x46f]
mov eax, dword [esi + 0x38]
test cl, cl
mov edx, 0x819c
cmove eax, edx
mov dword [esi + 0x38], eax
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ecx, esi
push 0x10
push 1
call dword [0x4553fc]
call esi
mov edx, dword [ebp - 0x1a8]
mov esi, eax
pop ecx
pop ecx
mov dword [edx + 4], esi
test esi, esi
jne 0x4449a1
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.0041d6ad
pop ecx
pop ecx
jmp 0x44480d
mov ecx, dword [edx]
lea eax, [esi + 8]
push eax
lea eax, [edx + 0x3c]
push eax
lea eax, [ebp - 0x1ec]
push eax
push esi
push 0
xor esi, esi
lea eax, [ebp - 0x1d8]
cmp byte [edx + 0x46], 0
cmove eax, esi
push eax
xor eax, eax
push eax
push eax
push dword [edx + 0x38]
push dword [ecx + 0x10]
push eax
mov eax, dword [0x46f554]
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4553fc]
call esi
mov dword [ebp - 0x1a0], eax
cmp eax, 0x90312
je 0x444a82
mov ebx, dword [ebp - 0x1a8]
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, esi
push dword [ebx + 4]
call dword [0x4553fc]
call esi
and dword [ebx + 4], 0
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x1a0]
pop ecx
mov ecx, 0x80090300
cmp eax, ecx
je 0x444a67
add ecx, 0x22
push ecx
cmp eax, ecx
je 0x444a4b
mov ecx, eax
call fcn.0041a216
pop ecx
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.0041d6ad
add esp, 0xc
jmp 0x4447f2
call fcn.0041a216
pop ecx
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push edi
call fcn.0041d6ad
add esp, 0xc
push 0x3c
jmp 0x444b2e
push ecx
call fcn.0041a216
pop ecx
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.0041d6ad
add esp, 0xc
jmp 0x44480d
lea eax, [ebp - 0x1ac]
mov ecx, edi
push eax
mov eax, dword [ebp - 0x1b4]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1c4]
mov edx, dword [ebx + eax*4 + 0x150]
call fcn.0041d87f
mov ecx, dword [0x46f554]
add esp, 0xc
mov edi, eax
mov esi, dword [ecx + 0x40]
mov ecx, esi
push dword [ebp - 0x1c4]
call dword [0x4553fc]
call esi
mov eax, dword [ebp - 0x1cc]
test edi, edi
jne 0x444b00
cmp eax, dword [ebp - 0x1ac]
jne 0x444b00
mov eax, dword [ebp - 0x1a8]
xor ecx, ecx
mov dword [eax + 0x40], ecx
mov word [eax + 0x44], cx
mov byte [eax + 0x34], cl
mov eax, dword [ebp - 0x1dc]
mov dword [eax + ebx + 0x19c], 1
xor eax, eax
jmp 0x444b2f
push eax
push dword [ebp - 0x1ac]
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push dword [ebp - 0x1e0]
call fcn.0041d6ad
add esp, 0x10
jmp 0x4447f2
push str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
push edi
call fcn.0041d6ad
pop ecx
pop ecx
push 0x4d
pop eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450ca6
leave
ret