Function at 0x10057760
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x54
mov eax, dword [0x1022d400]
xor eax, esp
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 8], 0
test edi, edi
je 0x100579a4
test ebx, ebx
jne 0x10057797
mov eax, dword [edi]
test eax, eax
cmovne ebx, eax
test byte [edi + 0x14], 4
jne 0x100579a4
test ebx, ebx
je 0x100579a4
cmp byte [ebx], 0
je 0x100579a4
push ebp
push esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call fcn.10068e00
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x10057971
push dword [esp + 0x14]
push str._Your_alt_svc_cache._https:__curl.se_docs_alt_svc.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n
call fcn.100b1792
mov edi, dword [edi + 4]
add esp, 8
test edi, edi
je 0x10057939
nop
mov esi, dword [edi]
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 8]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.10068650
add esp, 0xc
test eax, eax
jne 0x10057994
lea eax, [esp + 0x50]
push eax
push dword [esi + 0xc]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
mov edx, 0x1021edec
mov ecx, 0x102193d8
mov eax, 0x1021edf0
cmove ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, 0x102193d8
cmove ecx, eax
lea eax, [esp + 0x50]
push eax
push dword [esi]
mov dword [esp + 0x24], ecx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
mov ecx, 0x102193d8
mov edx, 0x1021edec
mov eax, 0x1021edf0
cmove ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, 0x102193d8
cmove ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], ecx
cmp eax, 8
je 0x100578a7
cmp eax, 0x10
je 0x100578a0
cmp eax, 0x20
mov edx, 0x102193d8
mov eax, 0x1014ba30
cmove edx, eax
jmp 0x100578ac
mov edx, 0x1014ba2c
jmp 0x100578ac
mov edx, 0x1014ba28
mov eax, dword [esi + 8]
cmp eax, 8
je 0x100578d2
cmp eax, 0x10
je 0x100578cb
cmp eax, 0x20
mov ecx, 0x102193d8
mov eax, 0x1014ba30
cmove ecx, eax
jmp 0x100578d7
mov ecx, 0x1014ba2c
jmp 0x100578d7
mov ecx, 0x1014ba28
push dword [esi + 0x24]
movzx eax, byte [esi + 0x20]
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x48]
push dword [esp + 0x3c]
inc eax
push dword [esp + 0x44]
push dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
add eax, 0x76c
push eax
movzx eax, word [esi + 0x10]
push eax
push dword [esp + 0x3c]
movzx eax, word [esi + 4]
push dword [esi + 0xc]
push dword [esp + 0x48]
push edx
push eax
push dword [esp + 0x58]
push dword [esi]
push dword [esp + 0x64]
push ecx
push str._s__s_s_s__u__s__s_s_s__u___d_02d_02d__02d:_02d:_02d___u__d_n
push dword [esp + 0x74]
call fcn.1005b860
add esp, 0x50
test edi, edi
jne 0x100577f0
push dword [esp + 0x14]
call fcn.100a50b7
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10057975
push ebx
push eax
call fcn.10068d20
add esp, 8
test eax, eax
je 0x10057971
mov ebp, 0x17
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10057975
push eax
call fcn.100b86cb
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [0x1022d00c]
add esp, 4
mov eax, ebp
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1009f33b
add esp, 0x54
ret
push dword [esp + 0x14]
mov ebp, eax
call fcn.100a50b7
add esp, 4
jmp 0x10057960
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop ebx
xor ecx, esp
call fcn.1009f33b
add esp, 0x54
ret