Function at 0x140229d70
Capabilities:
Get file attributes

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140229d70
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 0x69], r15d
mov rcx, qword [rcx + 0x298]
add rcx, 0x198
lea rdx, [rbp - 0x29]
call fcn.1401654e0
nop
mov dword [rbp - 0x69], 4
mov rcx, qword [rax]
mov qword [rbp - 0x39], rcx
lea r12, [0x1402be078]
mov qword [rax], r12
mov eax, reloc.WS2_32.dll_inet_ntoa
mov dword [rbp - 0x69], eax
and eax, 0xfffffffb
mov dword [rbp - 0x69], eax
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
lea r14, [0x1402be068]
lea ebx, [r15 - 1]
cmp rcx, r14
je 0x140229dff
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229dff
call fcn.14010a370
nop
and dword [rbp - 0x69], 0xfffffff7
mov dword [rbp - 0x69], 1
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x39]
call fcn.14014d140
nop
lea rdx, [rbp + 0x7f]
mov rcx, rax
call fcn.14014d360
nop
mov rcx, qword [rbp - 0x21]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229e41
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229e41
call fcn.14010a370
and dword [rbp - 0x69], 0xfffffffe
mov rcx, qword [rbp - 0x39]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229e61
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229e61
call fcn.14010a370
mov rax, qword [rbp + 0x7f]
cmp byte [rax], 0
je 0x14022a157
lea rcx, [rsi + 0x130]
call fcn.1401eb110
lea edi, [rax - 1]
lea rax, [rbp - 0x49]
mov qword [rbp + 7], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
lea rax, [rbp - 0x61]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x61]
mov qword [rbp + 7], rax
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r15
mov rax, qword [rsi]
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call qword [rax + 0x160]
cmp edi, dword [rbp - 0x55]
jae 0x140229ed3
movsxd rcx, edi
mov rax, qword [rbp - 0x61]
lea rax, [rax + rcx*8]
jmp 0x140229efa
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14047e918], eax
jg 0x14022a183
lea rax, [0x14047e910]
mov rax, qword [rax]
cmp byte [rax], 0
je 0x140229f30
mov edx, edi
lea rcx, [rbp - 0x61]
call fcn.14014a970
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14015ee70
nop
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14022b290
nop
mov rcx, qword [rbp - 0x31]
jmp 0x14022a0f4
lea rdx, [rbp + 0x7f]
lea rcx, [rbp + 0x67]
call fcn.14015ee70
nop
nop
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 0x17]
call fcn.140018b20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x140229f63
cmp eax, 0xffffffff
jne 0x14022a0e3
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x67]
call fcn.14015e8e0
mov r8, rax
mov qword [rbp + 0x77], r12
or dword [rbp - 0x69], 0x100
mov rcx, qword [rax]
lea rdx, [rcx - 0x10]
cmp rdx, r14
je 0x140229f96
mov eax, 1
lock xadd dword [rdx], eax
mov rcx, qword [r8]
xchg qword [rbp + 0x77], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229fb2
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229fb2
call fcn.14010a370
and dword [rbp - 0x69], 0xfffffeff
or dword [rbp - 0x69], 0x40
mov rcx, qword [rbp - 0x19]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229fd9
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229fd9
call fcn.14010a370
mov rax, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x67]
cmp rax, rcx
jne 0x140229feb
mov edi, r15d
jmp 0x14022a002
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 9]
call fcn.14001abc0
mov edi, eax
and dword [rbp - 0x69], 0xffffffbf
mov rcx, qword [rbp + 0x77]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x14022a022
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a022
call fcn.14010a370
test edi, edi
je 0x14022a0f0
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x67]
call fcn.14015e8e0
mov r8, rax
mov qword [rbp + 0x6f], r12
or dword [rbp - 0x69], 0x800
mov rcx, qword [rax]
lea rdx, [rcx - 0x10]
cmp rdx, r14
je 0x14022a05d
mov eax, 1
lock xadd dword [rdx], eax
mov rcx, qword [r8]
xchg qword [rbp + 0x6f], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x14022a079
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a079
call fcn.14010a370
and dword [rbp - 0x69], 0xfffff7ff
or dword [rbp - 0x69], 0x200
mov rcx, qword [rbp - 1]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x14022a0a3
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a0a3
call fcn.14010a370
mov rax, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x6f]
mov qword [rbp + 0x67], rcx
mov qword [rbp + 0x6f], rax
and dword [rbp - 0x69], 0xfffffdff
mov rcx, qword [rbp + 0x6f]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229f40
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229f40
call fcn.14010a370
jmp 0x140229f40
lea rdx, [rbp + 0x67]
mov rcx, rsi
call fcn.14022b290
nop
mov rcx, qword [rbp + 0x67]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x14022a10d
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a10d
call fcn.14010a370
nop
lea rax, [rbp - 0x61]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x61]
mov qword [rbp - 0x51], rax
lea rcx, [rbp - 0x61]
call fcn.14001a610
nop
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rax, [rbp - 0x49]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x51], rax
lea rcx, [rbp - 0x49]
call fcn.14001a610
nop
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp + 0x7f]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x14022a171
lock xadd dword [rcx], ebx
test ebx, ebx
jne 0x14022a171
call fcn.14010a370
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x14047e918]
call fcn.14010a5c4
cmp dword [0x14047e918], 0xffffffff
jne 0x140229ef3
mov qword [0x14047e910], r12
lea rcx, [0x1402ab9a0]
call fcn.14010aa70
nop
lea rcx, [0x14047e918]
call fcn.14010a564
jmp 0x140229ef3