Function at 0x53d640
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x63f070]
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 0x53d8ee
mov bl, byte [edi]
test bl, bl
je 0x53d8ee
test esi, esi
je 0x53d8ee
cmp byte [esi], 0
je 0x53d8ee
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10c], eax
mov eax, 0x61e1f0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53d6c0
test dl, dl
je 0x53d6bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53d6c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x53d6a0
xor eax, eax
jmp 0x53d6c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x53d6dc
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
cmp bl, 0x5b
jne 0x53d73d
push 0x5d
push edi
call fcn.0057cf70
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x53d8ee
inc edi
sub ebx, edi
mov dword [ebp - 0x110], ebx
cmp ebx, 0x80
jae 0x53d8ee
push ebx
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.0057a2f0
lea eax, [ebp - 0x104]
mov byte [ebp + ebx - 0x104], 0
mov ecx, 2
mov dword [ebp - 0x108], eax
add esp, 0xc
mov dword [ebp - 0x10c], ecx
jmp 0x53d780
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x53d742
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 0x53d770
mov ecx, eax
mov dword [ebp - 0x10c], ecx
jmp 0x53d780
cmp byte [edi + ebx - 1], 0x2e
jne 0x53d77e
dec ebx
mov dword [ebp - 0x110], ebx
xor ecx, ecx
cmp byte [esi], 0
je 0x53d8ee
nop dword [eax]
mov al, byte [esi]
xor edi, edi
test al, al
je 0x53d7a8
cmp al, 0x20
je 0x53d7a0
cmp al, 9
jne 0x53d7a8
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x53d798
mov al, byte [esi]
mov edx, esi
test al, al
je 0x53d8b0
cmp al, 0x20
je 0x53d7c9
cmp al, 9
je 0x53d7c9
cmp al, 0x2c
je 0x53d7c9
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x53d7b4
test edi, edi
je 0x53d8b0
test ecx, ecx
je 0x53d84b
xor ebx, ebx
cmp edi, 0x80
jae 0x53d8b0
push edi
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.0057a2f0
lea eax, [ebp - 0x84]
mov byte [ebp + edi - 0x84], bl
push 0x2f
push eax
call fcn.0057cf70
mov edi, eax
add esp, 0x14
test edi, edi
je 0x53d820
lea ecx, [edi + 1]
push ecx
call fcn.00582b9b
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 0x53d841
call fcn.0053d9b0
add esp, 0xc
jmp 0x53d8a7
call fcn.0053d910
add esp, 0xc
jmp 0x53d8a7
cmp byte [edx + edi - 1], 0x2e
lea eax, [edi - 1]
cmovne eax, edi
mov ecx, eax
test eax, eax
je 0x53d865
cmp byte [edx], 0x2e
jne 0x53d865
inc edx
lea ecx, [eax - 1]
cmp ecx, ebx
jne 0x53d880
push ebx
push dword [ebp - 0x108]
push edx
call sym.Setup.exe_curl_strnequal
add esp, 0xc
test eax, eax
setne al
jmp 0x53d8a7
jae 0x53d8b0
mov eax, dword [ebp - 0x108]
sub eax, ecx
add eax, ebx
cmp byte [eax - 1], 0x2e
jne 0x53d8a5
push ecx
push eax
push edx
call sym.Setup.exe_curl_strnequal
add esp, 0xc
test eax, eax
je 0x53d8a5
mov al, 1
jmp 0x53d8a7
xor al, al
test al, al
jne 0x53d6c9
nop
mov al, byte [esi]
cmp al, 0x20
je 0x53d8ba
cmp al, 9
jne 0x53d8bd
inc esi
jmp 0x53d8b0
mov al, byte [esi]
test al, al
je 0x53d8d8
cmp al, 0x2c
je 0x53d8d2
mov eax, dword [ebp - 0x114]
mov byte [eax], 1
jmp 0x53d8d8
inc esi
cmp byte [esi], 0x2c
je 0x53d8d2
cmp byte [esi], 0
je 0x53d8ee
mov ebx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x10c]
jmp 0x53d790
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a6edb
mov esp, ebp
pop ebp
ret