Function at 0x101c92a0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x104230a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], ecx
mov eax, dword [edi + 0xc]
mov dword [ecx], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x2c], eax
mov byte [eax + 0x212], 0
cmp dword [edi + 0x78], 0
je 0x101c92f9
push 2
push 3
push edi
call fcn.101c7e70
add esp, 0xc
push esi
push ebx
push edi
call fcn.101c9850
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x101c9327
push ebx
push str.Hostname__s_was_found_in_DNS_cache
push edi
call fcn.101c1060
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x20], 0
inc dword [eax + 0x10]
cmp dword [edi + 0x78], 0
je 0x101c9338
push 3
push edi
call fcn.101c7eb0
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x101c94c0
cmp dword [edi + 0x6a0], 0
mov dword [ebp - 0x24], 0
je 0x101c9398
push 1
push edi
call fcn.101b0a00
push dword [edi + 0x6a4]
mov eax, dword [edi + 0x6a0]
push 0
push dword [edi + 0x9b8]
call eax
push 0
push edi
mov esi, eax
call fcn.101b0a00
add esp, 0x1c
test esi, esi
je 0x101c9395
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9f90
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
push ebx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x101c93c3
push esi
push ebx
lea eax, [ebp - 0x28]
push eax
push 2
call fcn.101d3980
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x101c94dc
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x101c93f0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push ebx
push eax
push 0x17
call fcn.101d3980
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x101c94dc
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0x392], 2
jne 0x101c940d
push edi
call fcn.101c8cb0
add esp, 4
test al, al
je 0x101c9381
push str.localhost
push ebx
call sym.gcm32.dll_curl_strequal
add esp, 8
test eax, eax
jne 0x101c9476
push str..localhost
push ebx
call fcn.101c9c50
add esp, 8
test al, al
jne 0x101c9476
cmp byte [ebp + 0x14], al
je 0x101c9451
cmp byte [edi + 0x6fd], al
je 0x101c9451
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push ebx
push edi
call fcn.101f0270
add esp, 0x10
jmp 0x101c9482
push esi
push edi
call fcn.101f0250
add esp, 8
test al, al
je 0x101c9381
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push ebx
push edi
call fcn.101d3c20
add esp, 0x10
jmp 0x101c9482
push ebx
push dword [ebp - 0x1c]
call fcn.101c9a30
add esp, 8
mov esi, eax
test esi, esi
jne 0x101c94dc
cmp dword [ebp - 0x24], eax
je 0x101c94c0
mov eax, dword [edi + 0xc]
cmp byte [eax + 0x212], 0
lea eax, [ebp - 0x18]
push eax
push edi
je 0x101c94a5
call fcn.101f0390
jmp 0x101c94aa
call fcn.101b6670
add esp, 8
test eax, eax
jne 0x101c9381
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
sete cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100a9f90
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x78], 0
je 0x101c94ef
push 2
push 3
push edi
call fcn.101c7e70
add esp, 0xc
push dword [ebp - 0x1c]
push ebx
push esi
push edi
call fcn.101c89d0
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x78], 0
je 0x101c9511
push 3
push edi
call fcn.101c7eb0
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x101c9522
push esi
call fcn.101d3670
add esp, 4
jmp 0x101c94c0
xor eax, eax
jmp 0x101c94c3