Function at 0x140055020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x70], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r14b
mov qword [rcx + 0x20], r14
mov qword [rcx + 0x28], r14
mov qword [rcx + 0x30], r8
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x30]
call fcn.140147800
cmp qword [rdi + 0x18], 0x10
jb 0x140055097
mov rdi, qword [rdi]
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.14006c680
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400554d9
test al, 0x10
jne 0x1400554d9
lea rax, [rbp + 0x30]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400550d0
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.140008c00
lea rcx, [rbp - 0x68]
call fcn.140023860
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rcx + 8]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rbx + 0x20], rax
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x28], rdx
test rdi, rdi
je 0x14005513a
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005513a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14005513a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x14005516a
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005516a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14005516a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14006d590
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x140173f50]
movdqu xmmword [rbp + 0x18], xmm1
mov byte [rbp + 8], 0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.140055a10
nop
cmp qword [rbp - 8], 0
je 0x140055258
mov rax, qword [rbx + 0x30]
mov rdi, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, rdi
movabs rax, 0x469ee58469ee5847
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x140055258
cmp byte [rdi + 0x90], 0
je 0x140055258
mov rdx, qword [rdi + 0x98]
mov rax, qword [rdi + 0xa0]
sub rax, rdx
sar rax, 6
cmp rax, 1
jne 0x140055258
lea rax, [rbp - 0x58]
cmp rax, rdx
je 0x140055234
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005522b
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
call fcn.140008c00
lea rdx, [rdi + 0x30]
lea rax, [rbp + 8]
cmp rax, rdx
je 0x140055258
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005524f
mov rdx, qword [rdx]
lea rcx, [rbp + 8]
call fcn.140008c00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140055630
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140058640
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.DisableModifyIP]
movsd qword [rbp - 0x38], xmm0
mov eax, dword [0x14017c808]
mov dword [rbp - 0x30], eax
movzx eax, word [0x14017c80c]
mov word [rbp - 0x2c], ax
movzx eax, byte [0x14017c80e]
mov byte [rbp - 0x2a], al
mov byte [rbp - 0x29], 0
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x30]
call fcn.14006e610
test eax, eax
setne dil
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005530a
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055509
call fcn.1401452fc
call fcn.1400726a0
movzx r8d, dil
lea rdx, str.AcService.loadDisableModifyIpPolicy:_disableModifyIp_d
mov rcx, rax
call fcn.140072600
mov rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14004b790
movzx edx, dil
lea rcx, [rsp + 0x20]
call fcn.14004b820
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140055b60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140058440
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140058c50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400591a0
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140056a70
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140057270
cmp qword [rbp - 8], 0
je 0x1400553dd
cmp qword [rbp - 0x48], 0
je 0x1400553dd
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140057a80
lea rdx, [rbp - 0x58]
mov rcx, qword [0x1401c9cd0]
call fcn.1400148e0
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140058820
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140055418
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055413
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005550f
call fcn.1401452fc
mov qword [rbp - 8], r14
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140055463
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005545e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055515
call fcn.1401452fc
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400554ab
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400554a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055503
call fcn.1401452fc
nop
mov r8, qword [rbp - 0x80]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140018360
mov edx, 0x60
mov rcx, qword [rbp - 0x80]
call fcn.1401452fc
lea rcx, [rsp + 0x30]
call fcn.1401433bc
nop
mov rax, rbx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14014bf64
nop
call fcn.14014bf64
nop
call fcn.14014bf64
nop
call fcn.14014bf64
int3