Function at 0x1005bec0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x60
mov eax, dword [0x100b0270]
xor eax, esp
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov esi, dword [esp + 0x78]
or ebp, 0xffffffff
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], ecx
mov eax, dword [edi + 0xc]
mov dword [ecx], 0
mov dword [esp + 0x1c], eax
mov byte [eax + 0x276], 0
cmp dword [edi + 0x78], 0
je 0x1005bf14
push 2
push 3
push edi
call fcn.10057f10
add esp, 0xc
push esi
push ebx
push edi
call fcn.1005c470
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x1005bf3f
push ebx
push str.Hostname__s_was_found_in_DNS_cache
push edi
call fcn.10050c90
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc dword [eax + 0x10]
xor ebp, ebp
cmp dword [edi + 0x78], 0
je 0x1005bf50
push 3
push edi
call fcn.10057f50
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x1005c20d
cmp dword [edi + 0x6d4], 0
mov dword [esp + 0x18], 0
je 0x1005bfa3
push 1
push edi
call fcn.10040530
push dword [edi + 0x6d8]
mov eax, dword [edi + 0x6d4]
push 0
push dword [edi + 0x9c4]
call eax
push 0
push edi
mov esi, eax
call fcn.10040530
add esp, 0x1c
test esi, esi
jne 0x1005c2c3
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ebx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1005bfd0
push esi
push ebx
lea eax, [esp + 0x2c]
push eax
push 2
call fcn.10065590
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1005c1c2
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1005c000
push dword [esp + 0x14]
lea eax, [esp + 0x50]
push ebx
push eax
push 0x17
call fcn.10065590
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1005c1c2
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x100], 2
jne 0x1005c01e
mov eax, dword [edi + 0x70]
mov al, byte [eax + 0xe3]
test al, al
je 0x1005c2c3
push str.localhost
push ebx
call fcn.10056e90
add esp, 8
test eax, eax
je 0x1005c22c
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlibhostip.c
push 0x1fe
push 1
push 0x3a
call fcn.100552a0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005c27c
mov eax, 2
xorps xmm0, xmm0
mov word [esp + 0x5c], ax
mov eax, dword [esp + 0x14]
movzx eax, ax
push eax
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x5e], ax
lea eax, [esp + 0x1c]
push eax
push str.127.0.0.1
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jl 0x1005c27c
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
lea eax, [esi + 0x20]
movups xmm0, xmmword [esp + 0x5c]
mov dword [esi], 0
lea ecx, [eax + 0x10]
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], 6
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x18], eax
movups xmmword [eax], xmm0
mov dword [esi + 0x14], ecx
movq xmm0, qword [str.localhost]
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlibhostip.c
push 0x1d9
movq qword [ecx], xmm0
mov ax, word [0x10096450]
push 1
push 0x46
mov word [ecx + 8], ax
call fcn.100552a0
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1005c112
xor edx, edx
jmp 0x1005c1bf
push dword [esp + 0x28]
mov eax, 0x17
mov word [esp + 0x34], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x32], ax
lea eax, [esp + 0x5c]
push eax
push 0x1009903c
push 0x17
mov dword [esp + 0x40], 0
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jge 0x1005c14e
xor edx, edx
jmp 0x1005c1bf
movups xmm1, xmmword [esp + 0x5c]
mov edx, dword [esp + 0x20]
lea ecx, [edx + 0x20]
movups xmmword [esp + 0x38], xmm1
movups xmm0, xmmword [esp + 0x30]
mov dword [edx + 0x18], ecx
mov dword [edx], 0
mov dword [edx + 4], 0x17
mov dword [edx + 8], 1
mov dword [edx + 0xc], 6
mov dword [edx + 0x10], 0x1c
mov dword [edx + 0x1c], 0
movups xmmword [ecx], xmm0
unpckhpd xmm1, xmm1
movq qword [ecx + 0x10], xmm1
mov dword [ecx + 0x18], 0
add ecx, 0x1c
mov dword [edx + 0x14], ecx
movq xmm0, qword [str.localhost]
movq qword [ecx], xmm0
mov ax, word [0x10096450]
mov word [ecx + 8], ax
mov dword [esi + 0x1c], edx
cmp dword [edi + 0x78], 0
je 0x1005c1d5
push 2
push 3
push edi
call fcn.10057f10
add esp, 0xc
push dword [esp + 0x14]
push ebx
push esi
push edi
call fcn.1005b4d0
add esp, 0x10
mov dword [esp + 0x10], eax
cmp dword [edi + 0x78], 0
je 0x1005c1f9
push 3
push edi
call fcn.10057f50
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x1005c2bc
push esi
call fcn.10065360
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100908b3
add esp, 0x60
ret
cmp byte [esp + 0x80], 0
je 0x1005c251
cmp byte [edi + 0x72c], 0
je 0x1005c251
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebx
push edi
call fcn.1007f4d0
jmp 0x1005c26f
push esi
push edi
call fcn.1007f4b0
add esp, 8
test al, al
je 0x1005c2c3
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebx
push edi
call fcn.100659c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1005c1c2
cmp dword [esp + 0x18], 0
je 0x1005c20d
mov eax, dword [edi + 0xc]
cmp byte [eax + 0x276], 0
lea eax, [esp + 0x10]
push eax
push edi
je 0x1005c29c
call fcn.1007f5f0
jmp 0x1005c2a1
call fcn.10045ed0
add esp, 8
test eax, eax
jne 0x1005c2c3
xor ecx, ecx
cmp dword [esp + 0x10], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ebp, ecx
jmp 0x1005c20d
xor ebp, ebp
jmp 0x1005c20d
mov ecx, dword [esp + 0x6c]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100908b3
add esp, 0x60
ret