Function at 0x140060fe0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x1400d41c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov dword [rbp - 0x55], r8d
mov r15d, r8d
mov qword [rbp - 0x49], rdx
mov r14, rdx
mov byte [rbp - 0x59], 0
mov rbx, rcx
test rcx, rcx
je 0x140061345
mov r13, 0xffffffffffffffff
mov rdi, r13
inc rdi
cmp byte [rcx + rdi], 0
jne 0x140061032
cmp rdi, 0x7a1200
ja 0x140061345
lea rcx, [rdi*2 + 2]
call qword [fcn.140080bc0]
mov qword [r14 + 0x50], rax
mov rsi, rax
test rax, rax
je 0x140061aa8
lea r12, [rdi + 1]
xor edx, edx
add r12, rax
mov qword [rbp - 0x21], r12
mov byte [r12], 0
movzx ecx, byte [rbx]
lea eax, [rcx - 0x61]
cmp al, 0x19
jbe 0x14006108a
sub cl, 0x41
cmp cl, 0x19
ja 0x140061090
cmp byte [rbx + 1], 0x3a
je 0x1400610fb
lea rax, [rbp - 0x11]
mov r13, rdx
sub rax, rbx
mov r15, rbx
mov qword [rbp - 0x31], rax
movzx edi, byte [r15]
test dil, dil
je 0x1400610ee
cmp dil, 0x3a
jne 0x1400610bb
cmp byte [r15 + 1], 0x2f
je 0x140061167
mov ecx, edi
call fcn.140029ef0
test eax, eax
jne 0x1400610d3
lea eax, [rdi - 0x2b]
test al, 0xfc
jne 0x1400610ee
cmp dil, 0x2c
je 0x1400610ee
mov ecx, edi
call fcn.14008ae74
mov rcx, qword [rbp - 0x31]
inc r13
mov byte [rcx + r15], al
inc r15
cmp r13, 0x29
jb 0x1400610a1
mov r15d, dword [rbp - 0x55]
mov r13, 0xffffffffffffffff
xor edx, edx
mov rax, rsi
mov byte [rax], 0
test r15d, 0x204
je 0x140061345
test r15b, 4
lea r14, str.https
cmove r14, rdx
movzx eax, byte [rbx]
mov rdx, rbx
test al, al
je 0x140061146
movabs rcx, 0x8000800800000000
cmp al, 0x3f
ja 0x14006113b
bt rcx, rax
jb 0x140061146
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140061131
mov rdi, rbx
sub rdi, rdx
je 0x140061371
mov r8, rdi
mov rcx, r12
call fcn.1400a6860
mov byte [rdi + r12], 0
jmp 0x140061378
mov byte [rbp + r13 - 0x11], 0
lea rax, [rbp - 0x11]
mov r13, 0xffffffffffffffff
mov rdi, r13
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140061180
lea rdx, str.file
lea rcx, [rbp - 0x11]
call fcn.14003ee60
test eax, eax
je 0x1400612d3
add rbx, 5
mov rcx, rsi
sub rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400611b0
xor eax, eax
lea rcx, str.file
mov r12d, eax
mov qword [rbp - 0x21], rax
call qword [case.0x140030a89.0]
mov qword [r14], rax
test rax, rax
je 0x140061aa8
movzx eax, byte [rsi]
cmp al, 0x2f
jne 0x1400612b9
cmp byte [rsi + 1], al
jne 0x14006126f
movzx ecx, byte [rsi + 2]
add rsi, 2
movzx eax, cl
cmp cl, 0x2f
je 0x14006126b
lea eax, [rcx - 0x61]
cmp al, 0x19
jbe 0x14006120e
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x14006122f
movzx eax, byte [rsi + 1]
cmp al, 0x3a
je 0x14006121a
cmp al, 0x7c
jne 0x14006122f
movzx edx, byte [rsi + 2]
movzx eax, cl
cmp dl, 0x2f
je 0x14006126b
cmp dl, 0x5c
je 0x14006126b
test dl, dl
je 0x14006126b
mov r8d, 0xa
lea rcx, str.localhost_
mov rdx, rsi
call fcn.14003efd0
test eax, eax
jne 0x140061263
lea r8d, [rax + 0xa]
mov rdx, rsi
lea rcx, str.127.0.0.1_
call fcn.14003efd0
test eax, eax
je 0x140061345
movzx eax, byte [rsi + 9]
add rsi, 9
cmp al, 0x2f
jne 0x1400612b9
movzx ecx, byte [rsi + 1]
lea rdx, [rsi + 1]
lea eax, [rcx - 0x61]
cmp al, 0x19
jbe 0x140061286
sub cl, 0x41
cmp cl, 0x19
ja 0x1400612b9
movzx eax, byte [rsi + 2]
cmp al, 0x3a
je 0x140061292
cmp al, 0x7c
jne 0x1400612b9
movzx eax, byte [rsi + 3]
cmp al, 0x2f
je 0x1400612a2
cmp al, 0x5c
je 0x1400612a2
test al, al
jne 0x1400612b9
mov r8, r13
inc r8
cmp byte [rdx + r8], r12b
jne 0x1400612a5
inc r8
mov rcx, rsi
call fcn.1400a6860
mov rcx, qword [r14]
call fcn.140036ce0
mov qword [rbp - 0x31], rax
test rsi, rsi
je 0x1400614d1
jmp 0x1400614a6
xor eax, eax
mov byte [rsi], 0
inc rbx
add rbx, rdi
je 0x140061345
cmp byte [rbx], 0x2f
jne 0x1400612f2
cmp eax, 4
jge 0x1400612f2
inc eax
add rbx, 1
jne 0x1400612e0
dec eax
cmp eax, 2
ja 0x140061345
lea rcx, [rbp - 0x11]
lea r14, [rbp - 0x11]
call fcn.140036ce0
mov r15d, dword [rbp - 0x55]
test rax, rax
jne 0x14006131c
test r15b, 8
jne 0x14006131c
mov eax, 5
jmp 0x14006134a
lea rax, [rbp - 0x11]
mov rdi, r13
inc rdi
cmp byte [rax + rdi], 0
jne 0x140061323
lea rdx, [0x1400b56c0]
lea rcx, [rbp - 0x11]
call fcn.1400806f0
cmp rax, rdi
je 0x14006111d
mov eax, 3
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140073fb0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
bt r15d, 0xa
jae 0x140061345
bt r15d, 9
jae 0x140061463
test r14, r14
jne 0x140061463
lea r8d, [r14 + 4]
mov rdx, r12
lea rcx, str.ftp.
call fcn.14003efd0
test eax, eax
je 0x1400613af
lea r14, [0x1400aef08]
jmp 0x140061463
mov r8d, 5
lea rcx, str.dict.
mov rdx, r12
call fcn.14003efd0
test eax, eax
je 0x1400613d4
lea r14, str.dict
jmp 0x140061463
mov r8d, 5
lea rcx, str.ldap.
mov rdx, r12
call fcn.14003efd0
test eax, eax
je 0x1400613f6
lea r14, str.ldap
jmp 0x140061463
mov r8d, 5
lea rcx, str.imap.
mov rdx, r12
call fcn.14003efd0
test eax, eax
je 0x140061418
lea r14, str.imap
jmp 0x140061463
mov r8d, 5
lea rcx, str.smtp.
mov rdx, r12
call fcn.14003efd0
test eax, eax
je 0x14006143a
lea r14, str.smtp
jmp 0x140061463
mov r8d, 5
lea rcx, str.pop3.
mov rdx, r12
call fcn.14003efd0
test eax, eax
lea r14, str.pop3
lea rcx, str.http
cmove r14, rcx
mov rdi, r13
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140061466
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400a6860
mov rcx, r14
mov byte [rdi + rsi], 0
call qword [case.0x140030a89.0]
mov r14, qword [rbp - 0x49]
mov qword [r14], rax
test rax, rax
je 0x140061aa8
mov rcx, rax
call fcn.140036ce0
mov qword [rbp - 0x31], rax
mov rbx, r13
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400614b0
lea rdx, [0x1400b56c0]
mov rcx, rsi
call fcn.1400806f0
cmp rax, rbx
jne 0x140061345
mov r15d, dword [rbp - 0x55]
test r15b, r15b
jns 0x1400615d2
cmp byte [rsi], 0
je 0x1400615d2
mov rax, r13
nop word [rax + rax]
cmp byte [rsi + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400614f0
lea rcx, [rax + rax*2]
call qword [fcn.140080bc0]
mov r13, rax
test rax, rax
je 0x140061aa8
cmp byte [rsi], 0
mov r15b, 1
mov byte [rbp - 0x59], 1
mov rbx, rax
mov rdi, rsi
je 0x1400615bd
xor r12d, r12d
nop word [rax + rax]
cmp rdi, rsi
jae 0x14006153c
movzx eax, byte [rdi]
mov byte [rbx], al
jmp 0x1400615a6
movzx eax, byte [rdi]
cmp al, 0x20
je 0x14006158f
cmp al, 0x3f
movzx r15d, r15b
mov ecx, eax
mov r14d, eax
cmove r15d, r12d
call fcn.140029f30
test eax, eax
jne 0x140061535
mov ecx, r14d
call fcn.140029fd0
test eax, eax
jne 0x140061535
mov ecx, r14d
call fcn.140029f70
test eax, eax
jne 0x140061535
movzx r9d, byte [rdi]
lea r8, str.___02x
lea edx, [rax + 4]
mov rcx, rbx
call fcn.14002a300
add rbx, 3
jmp 0x1400615a9
test r15b, r15b
je 0x1400615a3
mov word [rbx], 0x3225
mov byte [rbx + 2], Ordinal_50
add rbx, 3
jmp 0x1400615a9
mov byte [rbx], Ordinal_45
inc rbx
inc rdi
cmp byte [rdi], r12b
jne 0x140061530
mov r12, qword [rbp - 0x21]
mov r14, qword [rbp - 0x49]
mov r15d, dword [rbp - 0x55]
mov rsi, r13
mov byte [rbx], 0
mov qword [r14 + 0x58], r13
mov r13, 0xffffffffffffffff
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rsi
call fcn.140076110
test rax, rax
je 0x140061604
mov byte [rax], 0
cmp byte [rax + 1], 0
je 0x140061604
lea rcx, [rax + 1]
call qword [case.0x140030a89.0]
mov qword [r14 + 0x48], rax
test rax, rax
je 0x140061aa8
mov edx, 0x3f
mov rcx, rsi
call fcn.140076110
test rax, rax
je 0x140061630
lea rcx, [rax + 1]
mov byte [rax], 0
call qword [case.0x140030a89.0]
mov qword [r14 + 0x40], rax
test rax, rax
je 0x140061aa8
cmp byte [rsi], 0
je 0x1400616c3
test r15b, 0x10
jne 0x14006169c
mov rcx, rsi
call fcn.14006f6f0
mov rbx, rax
test rax, rax
je 0x140061aa8
mov r9, rsi
mov rcx, rax
sub r9, rax
nop dword [rax]
movzx r8d, byte [rcx]
movzx edx, byte [rcx + r9]
sub r8d, edx
jne 0x140061675
inc rcx
test edx, edx
jne 0x140061660
test r8d, r8d
je 0x140061693
cmp byte [rbp - 0x59], 0
je 0x14006168a
mov rcx, qword [r14 + 0x58]
call qword [fcn.14007f8a8]
mov rsi, rbx
mov qword [r14 + 0x58], rbx
jmp 0x1400616ae
mov rcx, rbx
call qword [fcn.14007f8a8]
cmp byte [rbp - 0x59], 0
jne 0x1400616ae
mov rcx, rsi
call qword [case.0x140030a89.0]
mov rsi, rax
mov qword [r14 + 0x38], rsi
test rsi, rsi
je 0x140061aa8
xor esi, esi
mov qword [r14 + 0x58], rsi
jmp 0x1400616c5
xor esi, esi
test r12, r12
je 0x140061a83
mov rbx, r13
inc rbx
cmp byte [r12 + rbx], 0
jne 0x1400616d1
lea rdx, [0x1400b56c0]
mov rcx, r12
call fcn.1400806f0
cmp rax, rbx
jne 0x140061345
mov edx, 0x40
mov qword [rbp - 0x51], rsi
mov rcx, r12
mov qword [rbp - 0x41], rsi
mov edi, esi
mov qword [rbp - 0x39], rsi
call fcn.140076110
mov r10, r12
mov ebx, 3
test rax, rax
je 0x1400617c7
mov rcx, qword [rbp - 0x31]
inc rax
mov r12, rax
test rcx, rcx
je 0x14006173e
test dword [rcx + 0x80], 0x400
lea rcx, [rbp - 0x39]
jne 0x140061741
mov rcx, rsi
sub rax, r10
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x41]
mov rcx, r10
lea r8, [rbp - 0x51]
lea rdx, [rax - 1]
call fcn.140037930
mov rcx, qword [rbp - 0x51]
test eax, eax
je 0x140061769
mov edi, ebx
jmp 0x1400617cb
test rcx, rcx
je 0x14006177f
test r15b, 0x20
je 0x14006177b
mov edi, 8
jmp 0x1400617cb
mov qword [r14 + 8], rcx
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x14006178c
mov qword [r14 + 0x10], rax
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x140061799
mov qword [r14 + 0x18], rax
lea r9, [rbp - 0x55]
mov rcx, r12
lea r8, [rbp - 0x59]
lea rdx, str.__45_0123456789abcdefABCDEF:.__c_n
call fcn.140030ab0
cmp eax, 1
jne 0x140061849
movzx eax, byte [rbp - 0x59]
cmp al, 0x5d
jne 0x1400617f0
movsxd rdi, dword [rbp - 0x55]
jmp 0x14006182f
mov rcx, qword [rbp - 0x51]
call qword [fcn.14007f8a8]
mov rcx, qword [rbp - 0x41]
call qword [fcn.14007f8a8]
mov rcx, qword [rbp - 0x39]
call qword [fcn.14007f8a8]
test edi, edi
je 0x140061799
mov eax, edi
jmp 0x14006134a
cmp al, 0x25
jne 0x140061a1b
movsxd rdi, dword [rbp - 0x55]
lea r9, [rbp - 0x55]
lea r8, [rbp - 0x59]
lea rdx, str._____c_n
lea rcx, [r12 + rdi]
call fcn.140030ab0
cmp eax, 1
jne 0x140061a1b
cmp byte [rbp - 0x59], 0x5d
jne 0x140061a1b
mov ecx, dword [rbp - 0x55]
add ecx, edi
movsxd rdi, ecx
add rdi, r12
test rdi, rdi
je 0x14006186c
movzx eax, byte [rdi]
test al, al
je 0x14006186c
cmp al, 0x3a
je 0x14006185e
mov eax, ebx
jmp 0x14006134a
mov edx, Ordinal_60
mov rcx, r12
call fcn.140076110
mov rdi, rax
test rax, rax
je 0x14006186c
movzx eax, byte [rdi + 1]
test al, al
jne 0x14006199d
mov byte [rdi], al
mov rax, r13
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x140061870
test rax, rax
jne 0x14006188a
bt r15d, 0xa
jb 0x140061a71
mov rsi, r12
nop dword [rax]
inc r13
cmp byte [r12 + r13], 0
jne 0x140061890
cmp byte [r12], 0x5b
jne 0x140061a4c
cmp r13, 5
jb 0x140061a6a
sub r13, 2
lea rsi, [r12 + 1]
cmp byte [rsi + r13], 0x5d
jne 0x140061a6a
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
call fcn.14008bde0
mov r15, rax
cmp r13, rax
je 0x140061a29
cmp byte [rax + rsi], 0x25
mov r13, rax
jne 0x140061a6a
xor eax, eax
lea rdi, [rsi + 1]
add rdi, r13
lea rdx, [0x1400b5744]
mov rcx, rdi
mov r14d, eax
lea r8d, [rax + 2]
call fcn.140086d10
test eax, eax
jne 0x140061920
movzx eax, byte [rdi + 2]
lea rcx, [rdi + 2]
test al, al
je 0x140061920
cmp al, 0x5d
cmovne rdi, rcx
movzx eax, byte [rdi]
test al, al
je 0x140061a6a
xor ecx, ecx
lea rdx, [rbp - 0x31]
sub rdx, rdi
cmp al, 0x5d
je 0x140061952
cmp rcx, 0xf
jge 0x140061952
mov byte [rdx + rdi], al
inc r14d
movzx eax, byte [rdi + 1]
inc rdi
inc rcx
test al, al
jne 0x140061934
test r14d, r14d
je 0x140061a6a
cmp byte [rdi], 0x5d
jne 0x140061a6a
movsxd rax, r14d
cmp rax, 0x10
jae 0x140061ab2
lea rcx, [rbp - 0x31]
mov byte [rbp + rax - 0x31], 0
call qword [case.0x140030a89.0]
mov r14, qword [rbp - 0x49]
mov qword [r14 + 0x28], rax
test rax, rax
jne 0x140061a22
mov ebx, 7
mov eax, ebx
jmp 0x14006134a
mov ecx, eax
call fcn.140029f50
test eax, eax
je 0x140061a16
mov r8d, 0xa
lea rdx, [rbp - 0x31]
lea rcx, [rdi + 1]
call fcn.1400852bc
mov esi, eax
lea ecx, [rax - 1]
cmp ecx, 0xfffe
ja 0x140061a16
mov rcx, qword [rbp - 0x31]
cmp byte [rcx], 0
jne 0x140061a16
mov byte [rdi], 0
lea r8, [0x1400ad418]
mov byte [rcx], 0
mov r9d, eax
lea rcx, [rbp - 0x21]
mov edx, 7
call fcn.14002a300
lea rcx, [rbp - 0x21]
mov dword [r14 + 0x60], esi
call qword [case.0x140030a89.0]
mov qword [r14 + 0x30], rax
test rax, rax
jne 0x14006186c
mov ebx, 7
mov eax, ebx
jmp 0x14006134a
mov ebx, 4
mov eax, ebx
jmp 0x14006134a
mov word [r15 + rsi], 0x5d
lea r8, [rbp - 0x21]
mov byte [rsi + r13], 0
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x140061a6a
mov byte [rsi + r13], 0x5d
jmp 0x140061a60
lea rdx, [0x1400abfe8]
mov rcx, r12
call fcn.1400806f0
cmp r13, rax
jne 0x140061a6a
cmp byte [rsi], 0
jne 0x140061a71
mov ebx, reloc.WS2_32.dll_ntohl
mov eax, ebx
jmp 0x14006134a
mov rcx, r12
call qword [case.0x140030a89.0]
mov qword [r14 + 0x20], rax
test rax, rax
je 0x140061aa8
mov rcx, qword [r14 + 0x50]
call qword [fcn.14007f8a8]
mov rcx, qword [r14 + 0x58]
xor ebx, ebx
mov qword [r14 + 0x50], rbx
call qword [fcn.14007f8a8]
xor eax, eax
mov qword [r14 + 0x58], rbx
jmp 0x14006134a
mov eax, 7
jmp 0x14006134a
call fcn.1400749a8
int3