Function at 0x53a130
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x63b070]
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 0x53a3de
mov bl, byte [edi]
test bl, bl
je 0x53a3de
test esi, esi
je 0x53a3de
cmp byte [esi], 0
je 0x53a3de
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10c], eax
mov eax, 0x619a68
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53a1b0
test dl, dl
je 0x53a1ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53a1b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x53a190
xor eax, eax
jmp 0x53a1b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x53a1cc
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a39ef
mov esp, ebp
pop ebp
ret
cmp bl, 0x5b
jne 0x53a22d
push 0x5d
push edi
call fcn.00579a60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x53a3de
inc edi
sub ebx, edi
mov dword [ebp - 0x110], ebx
cmp ebx, 0x80
jae 0x53a3de
push ebx
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00576de0
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 0x53a270
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x53a232
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 0x53a260
mov ecx, eax
mov dword [ebp - 0x10c], ecx
jmp 0x53a270
cmp byte [edi + ebx - 1], 0x2e
jne 0x53a26e
dec ebx
mov dword [ebp - 0x110], ebx
xor ecx, ecx
cmp byte [esi], 0
je 0x53a3de
nop dword [eax]
mov al, byte [esi]
xor edi, edi
test al, al
je 0x53a298
cmp al, 0x20
je 0x53a290
cmp al, 9
jne 0x53a298
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x53a288
mov al, byte [esi]
mov edx, esi
test al, al
je 0x53a3a0
cmp al, 0x20
je 0x53a2b9
cmp al, 9
je 0x53a2b9
cmp al, 0x2c
je 0x53a2b9
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x53a2a4
test edi, edi
je 0x53a3a0
test ecx, ecx
je 0x53a33b
xor ebx, ebx
cmp edi, 0x80
jae 0x53a3a0
push edi
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00576de0
lea eax, [ebp - 0x84]
mov byte [ebp + edi - 0x84], bl
push 0x2f
push eax
call fcn.00579a60
mov edi, eax
add esp, 0x14
test edi, edi
je 0x53a310
lea ecx, [edi + 1]
push ecx
call fcn.0057f68b
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 0x53a331
call fcn.0053a4a0
add esp, 0xc
jmp 0x53a397
call fcn.0053a400
add esp, 0xc
jmp 0x53a397
cmp byte [edx + edi - 1], 0x2e
lea eax, [edi - 1]
cmovne eax, edi
mov ecx, eax
test eax, eax
je 0x53a355
cmp byte [edx], 0x2e
jne 0x53a355
inc edx
lea ecx, [eax - 1]
cmp ecx, ebx
jne 0x53a370
push ebx
push dword [ebp - 0x108]
push edx
call sym.Setup.exe_curl_strnequal
add esp, 0xc
test eax, eax
setne al
jmp 0x53a397
jae 0x53a3a0
mov eax, dword [ebp - 0x108]
sub eax, ecx
add eax, ebx
cmp byte [eax - 1], 0x2e
jne 0x53a395
push ecx
push eax
push edx
call sym.Setup.exe_curl_strnequal
add esp, 0xc
test eax, eax
je 0x53a395
mov al, 1
jmp 0x53a397
xor al, al
test al, al
jne 0x53a1b9
nop
mov al, byte [esi]
cmp al, 0x20
je 0x53a3aa
cmp al, 9
jne 0x53a3ad
inc esi
jmp 0x53a3a0
mov al, byte [esi]
test al, al
je 0x53a3c8
cmp al, 0x2c
je 0x53a3c2
mov eax, dword [ebp - 0x114]
mov byte [eax], 1
jmp 0x53a3c8
inc esi
cmp byte [esi], 0x2c
je 0x53a3c2
cmp byte [esi], 0
je 0x53a3de
mov ebx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x10c]
jmp 0x53a280
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a39ef
mov esp, ebp
pop ebp
ret