Function at 0x10044e80
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1007d820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x114], eax
mov byte [eax], 0
test edi, edi
je 0x10045130
mov bl, byte [edi]
test bl, bl
je 0x10045130
test esi, esi
je 0x10045130
cmp byte [esi], 0
je 0x10045130
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10c], eax
mov eax, 0x100028dc
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10044f00
test dl, dl
je 0x10044efc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10044f00
add eax, 2
add ecx, 2
test dl, dl
jne 0x10044ee0
xor eax, eax
jmp 0x10044f05
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10044f1c
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100631a7
mov esp, ebp
pop ebp
ret
cmp bl, 0x5b
jne 0x10044f7d
push 0x5d
push edi
call fcn.10064a80
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10045130
inc edi
sub ebx, edi
mov dword [ebp - 0x110], ebx
cmp ebx, 0x80
jae 0x10045130
push ebx
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.100640c0
lea edx, [ebp - 0x104]
mov byte [ebp + ebx - 0x104], 0
mov eax, 2
mov dword [ebp - 0x108], edx
add esp, 0xc
mov dword [ebp - 0x10c], eax
jmp 0x10044fbe
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10044f82
lea eax, [ebp - 0x118]
sub ebx, ecx
push eax
push edi
push 2
mov dword [ebp - 0x110], ebx
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x10044fae
mov dword [ebp - 0x10c], eax
jmp 0x10044fbc
cmp byte [edi + ebx - 1], 0x2e
jne 0x10044fbc
dec ebx
mov dword [ebp - 0x110], ebx
mov edx, edi
cmp byte [esi], 0
je 0x10045130
mov al, byte [esi]
xor edi, edi
test al, al
je 0x10044fe0
nop
cmp al, 0x20
je 0x10044fd8
cmp al, 9
jne 0x10044fe0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10044fd0
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x100450f2
lea esp, [esp]
cmp al, 0x20
je 0x10045005
cmp al, 9
je 0x10045005
cmp al, 0x2c
je 0x10045005
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x10044ff0
test edi, edi
je 0x100450f2
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1004509b
dec eax
cmp eax, 1
ja 0x100450f2
xor ebx, ebx
cmp edi, 0x80
jae 0x100450f2
push edi
push ecx
lea eax, [ebp - 0x84]
push eax
call fcn.100640c0
lea eax, [ebp - 0x84]
mov byte [ebp + edi - 0x84], bl
push 0x2f
push eax
call fcn.10064a80
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10045070
lea ecx, [edi + 1]
push ecx
call fcn.10067175
add esp, 4
mov byte [edi], 0
mov ebx, eax
cmp dword [ebp - 0x10c], 2
lea eax, [ebp - 0x84]
push ebx
push eax
push dword [ebp - 0x108]
jne 0x10045091
call fcn.100451f0
add esp, 0xc
jmp 0x100450ea
call fcn.10045150
add esp, 0xc
jmp 0x100450ea
cmp byte [ecx + edi - 1], 0x2e
jne 0x100450a3
dec edi
test edi, edi
je 0x100450ae
cmp byte [ecx], 0x2e
jne 0x100450ae
inc ecx
dec edi
cmp edi, ebx
jne 0x100450bf
push ebx
push edx
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
jmp 0x100450e5
jae 0x100450f2
mov eax, edx
sub eax, edi
add eax, ebx
cmp byte [eax - 1], 0x2e
jne 0x100450e3
push edi
push eax
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100450e3
mov eax, 1
jmp 0x100450e5
xor eax, eax
test eax, eax
setne al
test al, al
jne 0x10044f09
mov al, byte [esi]
cmp al, 0x20
je 0x100450fc
cmp al, 9
jne 0x100450ff
inc esi
jmp 0x100450f2
mov al, byte [esi]
test al, al
je 0x1004511a
cmp al, 0x2c
je 0x10045114
mov eax, dword [ebp - 0x114]
mov byte [eax], 1
jmp 0x1004511a
inc esi
cmp byte [esi], 0x2c
je 0x10045114
cmp byte [esi], 0
je 0x10045130
mov ebx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x108]
jmp 0x10044fc7
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100631a7
mov esp, ebp
pop ebp
ret