Function at 0x1400624c0
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov eax, dword [rsp + 0xd8]
mov r13, qword [rsp + 0xd0]
mov rsi, rdx
mov rbx, rcx
mov edx, 0x40
mov dword [rsp + 0x38], eax
mov rcx, rsi
mov rdi, r8
mov ebp, r9d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
call sub.api_ms_win_crt_private_l1_1_0.dll_memchr
test rax, rax
je 0x140062830
mov rcx, qword [rbx]
lea r12, [rax + 1]
test rcx, rcx
je 0x140062543
call fcn.14005f250
test rax, rax
je 0x140062543
test byte [rax + 0x8d], 4
jne 0x1400627a8
xor eax, eax
mov qword [rsp + 0x20], rax
mov r14, r12
lea r9, [rsp + 0x48]
mov rcx, rsi
sub r14, rsi
lea r8, [rsp + 0x40]
lea rdx, [r14 - 1]
call fcn.14005f290
test eax, eax
mov rax, qword [rsp + 0x40]
jne 0x140062600
test rax, rax
je 0x14006259a
mov r15, qword [0x140184840]
and ebp, 0x20
mov rdx, qword [r15]
jne 0x140062840
mov rcx, qword [rbx + 8]
call rdx
mov rax, qword [rsp + 0x40]
mov qword [rbx + 8], rax
cmp qword [rsp + 0x48], 0
je 0x1400625b8
mov rax, qword [0x140184840]
mov rcx, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
cmp qword [rsp + 0x50], 0
je 0x1400625d6
mov rax, qword [0x140184840]
mov rcx, qword [rbx + 0x18]
call qword [rax]
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x18], rax
sub rdi, r14
mov r8, rdi
mov rdx, r12
mov rcx, r13
call fcn.140072fa0
mov ebp, eax
test eax, eax
je 0x140062650
cmp eax, 0x64
je 0x1400627b8
mov ebp, 7
jmp 0x14006263a
mov r15, qword [0x140184840]
mov ebp, 0x17
mov rcx, rax
call qword [r15]
mov rcx, qword [rsp + 0x48]
call qword [r15]
mov rcx, qword [rsp + 0x50]
call qword [r15]
pxor xmm0, xmm0
mov qword [rbx + 0x18], 0
movups xmmword [rbx + 8], xmm0
test ebp, ebp
je 0x140062850
mov eax, ebp
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r13
call fcn.140073050
cmp byte [rax], 0x5b
mov rdi, rax
je 0x1400627c8
mov edx, 0x3a
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1400627f3
mov rcx, r13
call fcn.140073070
test rax, rax
je 0x1400629b0
mov rcx, r13
call fcn.140073050
pxor xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
cmp byte [rax], 0x5b
mov rcx, rax
je 0x1400629d0
xor edi, edi
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x48], 0
movzx eax, byte [rcx]
sub eax, 0x30
cmp al, 9
ja 0x1400626ed
mov rdx, rsi
xor r8d, r8d
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
mov rcx, qword [rsp + 0x48]
mov dword [rsp + rdi*4 + 0x50], eax
movzx edx, byte [rcx]
test dl, dl
je 0x140062880
cmp dl, 0x2e
je 0x140062860
mov rcx, r13
call fcn.140073050
mov edx, 0x25
mov rcx, rax
mov rsi, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
test rax, rax
je 0x140062760
xor edx, edx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x20], 3
call fcn.140073220
test eax, eax
jne 0x140062a0b
mov rcx, r13
call fcn.140072f20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.140072fa0
mov rcx, qword [rsp + 0x50]
mov esi, eax
mov rax, qword [0x140184840]
call qword [rax]
test esi, esi
jne 0x140062a15
mov rcx, r13
call fcn.140073070
mov rcx, r13
mov rsi, rax
call fcn.140073050
mov rcx, rax
test rsi, rsi
je 0x1400629b0
cmp byte [rax], 0x5b
je 0x140062b3c
lea rdx, str.__r_n_t_:_______________
call sub.api_ms_win_crt_string_l1_1_0.dll_strcspn
cmp rsi, rax
mov eax, 0x15
cmovne ebp, eax
jmp 0x14006263a
lea rax, [rsp + 0x50]
jmp 0x140062545
mov ebp, 0x1f
jmp 0x14006263a
mov edx, 0x5d
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
test rax, rax
je 0x140062a01
movzx edx, byte [rax + 1]
test dl, dl
je 0x14006267d
lea rsi, [rax + 1]
cmp dl, 0x3a
jne 0x140062821
mov qword [rsp + 0x50], 0
mov rdx, rsi
mov rcx, r13
sub rdx, rdi
call fcn.140073080
movzx eax, byte [rsi + 1]
test al, al
je 0x1400629c0
sub eax, 0x30
cmp al, 9
jbe 0x140062908
mov ebp, 4
jmp 0x14006263a
mov r15, qword [0x140184840]
xor ebp, ebp
jmp 0x14006260c
mov ebp, 8
jmp 0x14006260c
mov r12, rsi
jmp 0x1400625d9
cmp rdi, 3
je 0x1400626ed
add rcx, 1
cmp eax, 0xffffffff
je 0x140062988
add rdi, 1
jmp 0x1400626b2
cmp eax, 0xffffffff
je 0x140062970
cmp edi, 2
je 0x140062ad9
cmp edi, 3
je 0x140062a69
test edi, edi
je 0x140062a2a
mov edi, dword [rsp + 0x50]
cmp edi, 0xff
ja 0x1400626ed
mov esi, dword [rsp + 0x54]
cmp esi, 0xffffff
ja 0x1400626ed
mov rcx, r13
call fcn.140072f20
movzx eax, sil
mov r8d, edi
mov rcx, r13
mov dword [rsp + 0x28], eax
mov eax, esi
shr esi, 0x10
lea rdx, str._u._u._u._u
movzx eax, ah
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.140073010
test eax, eax
je 0x14006263a
jmp 0x1400625f6
lea rcx, [rsi + 1]
lea rdx, [rsp + 0x50]
mov r8d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
mov esi, eax
cmp eax, 0xffff
jg 0x140062821
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x140062821
mov rax, qword [0x140184840]
mov rcx, qword [rbx + 0x30]
mov dword [rbx + 0x50], esi
call qword [rax]
mov edx, esi
lea rcx, [0x140176542]
call fcn.14004f930
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x14006267d
jmp 0x1400625f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x22
je 0x1400626ed
jmp 0x140062889
mov qword [rsp + 0x38], rcx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, qword [rsp + 0x38]
cmp dword [rax], 0x22
jne 0x140062877
jmp 0x1400626ed
mov ebp, 0xe
jmp 0x14006263a
cmp byte [rsp + 0x38], 0
jne 0x14006267d
jmp 0x140062821
mov rcx, r13
call fcn.140073070
mov rcx, r13
mov rsi, rax
call fcn.140073050
mov r8, rsi
mov rdx, rax
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400620e0
mov ebp, 0x16
jmp 0x14006263a
mov ebp, 0x15
jmp 0x14006263a
cmp esi, 0x64
mov ebp, 7
mov eax, 0x1f
cmove ebp, eax
jmp 0x14006263a
mov rcx, r13
call fcn.140072f20
mov eax, dword [rsp + 0x50]
mov rcx, r13
movzx edx, al
mov r9d, eax
mov dword [rsp + 0x28], edx
movzx edx, ah
shr r9d, 0x10
mov dword [rsp + 0x20], edx
shr eax, 0x18
movzx r9d, r9b
lea rdx, str._u._u._u._u
mov r8d, eax
call fcn.140073010
jmp 0x1400628f4
mov esi, dword [rsp + 0x50]
cmp esi, 0xff
ja 0x1400626ed
mov edi, dword [rsp + 0x54]
cmp edi, 0xff
ja 0x1400626ed
mov r12d, dword [rsp + 0x58]
cmp r12d, 0xff
ja 0x1400626ed
mov r14d, dword [rsp + 0x5c]
cmp r14d, 0xff
ja 0x1400626ed
mov rcx, r13
call fcn.140072f20
mov dword [rsp + 0x28], r14d
mov r9d, edi
mov r8d, esi
mov dword [rsp + 0x20], r12d
lea rdx, str._u._u._u._u
mov rcx, r13
call fcn.140073010
jmp 0x1400628f4
mov edi, dword [rsp + 0x50]
cmp edi, 0xff
ja 0x1400626ed
mov r12d, dword [rsp + 0x54]
cmp r12d, 0xff
ja 0x1400626ed
mov esi, dword [rsp + 0x58]
cmp esi, 0xffff
ja 0x1400626ed
mov rcx, r13
call fcn.140072f20
movzx eax, sil
shr esi, 8
mov r9d, r12d
mov dword [rsp + 0x28], eax
mov r8d, edi
mov rcx, r13
lea rdx, str._u._u._u._u
mov dword [rsp + 0x20], esi
call fcn.140073010
jmp 0x1400628f4
mov r8, rsi
mov rdx, rax
jmp 0x1400629e9