Function at 0x10028180
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x50
mov eax, dword [0x100d85c0]
xor eax, esp
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], 0
push ebp
mov ebp, dword [esp + 0x64]
test ebx, ebx
je 0x100283bf
test ebp, ebp
jne 0x100281b7
mov eax, dword [ebx]
test eax, eax
cmovne ebp, eax
test byte [ebx + 0x14], 4
jne 0x100283bf
test ebp, ebp
je 0x100283bf
cmp byte [ebp], 0
je 0x100283bf
push esi
push edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
call fcn.10041ed0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1002838e
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.100960b1
mov ebx, dword [ebx + 4]
add esp, 8
test ebx, ebx
je 0x10028356
nop
mov esi, dword [ebx]
mov eax, dword [esp + 0x14]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.10041720
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100283b1
lea eax, [esp + 0x4c]
push eax
push dword [esi + 0xc]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
mov ecx, 0x100b5484
mov edi, 0x100d06b5
mov eax, 0x100b7b28
cmove edi, ecx
mov ecx, 0x100d06b5
cmove ecx, eax
lea eax, [esp + 0x4c]
push eax
push dword [esi]
mov dword [esp + 0x20], ecx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
mov ecx, 0x100d06b5
mov edx, 0x100b5484
mov eax, 0x100b7b28
cmove ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, 0x100d06b5
cmove ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
cmp eax, 8
je 0x100282c5
cmp eax, 0x10
je 0x100282be
cmp eax, 0x20
mov edx, 0x100d06b5
mov eax, 0x100b7f50
cmove edx, eax
jmp 0x100282ca
mov edx, 0x100b7f4c
jmp 0x100282ca
mov edx, 0x100b7f48
mov eax, dword [esi + 8]
cmp eax, 8
je 0x100282f0
cmp eax, 0x10
je 0x100282e9
cmp eax, 0x20
mov ecx, 0x100d06b5
mov eax, 0x100b7f50
cmove ecx, eax
jmp 0x100282f5
mov ecx, 0x100b7f4c
jmp 0x100282f5
mov ecx, 0x100b7f48
push dword [esi + 0x24]
movzx eax, byte [esi + 0x20]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x44]
push dword [esp + 0x38]
inc eax
push dword [esp + 0x40]
push dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x58]
add eax, 0x76c
push eax
movzx eax, word [esi + 0x10]
push eax
movzx eax, word [esi + 4]
push edi
push dword [esi + 0xc]
push dword [esp + 0x44]
push edx
push eax
push dword [esp + 0x54]
push dword [esi]
push dword [esp + 0x60]
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 + 0x70]
call fcn.1001c440
add esp, 0x50
xor edi, edi
test ebx, ebx
jne 0x10028210
push dword [esp + 0x14]
call fcn.10093f3e
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10028392
push ebp
push eax
call fcn.10041df0
add esp, 8
test eax, eax
je 0x1002838e
mov edi, 0x17
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10028392
push eax
call fcn.100a212a
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [0x100d8160]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100874e6
add esp, 0x50
ret
push dword [esp + 0x14]
call fcn.10093f3e
add esp, 4
jmp 0x1002837d
mov ecx, dword [esp + 0x54]
xor eax, eax
pop ebp
pop ebx
xor ecx, esp
call fcn.100874e6
add esp, 0x50
ret