Function at 0x1802a1d70
Capabilities:
Delete directory
Get system information on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1a90
call fcn.1801907a0
sub rsp, rax
mov qword [rsp + 0x298], 0xfffffffffffffffe
mov eax, dword [rsp + 0x1ab8]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x1ac0]
mov dword [rsp + 0x34], eax
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x1aa0]
lea rcx, [rsp + 0x2f0]
call fcn.1801eb5b0
mov qword [rsp + 0x238], rax
lea rcx, [rsp + 0x68]
call fcn.180073040
mov qword [rsp + 0x248], rax
mov r9b, 1
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x2f0]
call fcn.1801dd420
mov byte [rsp + 0x3b], al
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x1802a20b8
lea rdx, [0x1803abde8]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
jne 0x1802a1e45
mov eax, dword [rsp + 0x34]
or eax, 8
mov dword [rsp + 0x34], eax
jmp 0x1802a20b3
lea rdx, [0x1803abe04]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xc4], eax
cmp dword [rsp + 0xc4], 0
jne 0x1802a1e78
mov eax, dword [rsp + 0x30]
bts eax, 0x18
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
lea rdx, [0x1803abcfc]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0
je 0x1802a1ebc
lea rdx, [0x1803abd10]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jne 0x1802a1ecd
mov eax, dword [rsp + 0x30]
bts eax, 0xf
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
lea rdx, [0x1803abd0c]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xcc], eax
cmp dword [rsp + 0xcc], 0
je 0x1802a1f11
lea rdx, [0x1803abd20]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
jne 0x1802a1f2d
mov eax, dword [rsp + 0x30]
btr eax, 0xf
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
or eax, 4
mov dword [rsp + 0x34], eax
jmp 0x1802a20b3
lea rdx, [0x1803ac5b0]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x1802a1f71
lea rdx, [0x1803ac5b0]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jne 0x1802a1f82
mov eax, dword [rsp + 0x30]
bts eax, 8
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
lea rdx, [0x1803abd18]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xbc], eax
cmp dword [rsp + 0xbc], 0
jne 0x1802a1fb5
mov eax, dword [rsp + 0x30]
bts eax, 9
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
lea rdx, [0x1803abe24]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x1802a1fe8
mov eax, dword [rsp + 0x30]
bts eax, 0x12
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
lea rdx, [0x1803abe38]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
jne 0x1802a201b
mov eax, dword [rsp + 0x30]
bts eax, 0x13
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
lea rdx, [0x1803abe34]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
jne 0x1802a204b
mov eax, dword [rsp + 0x30]
bts eax, 0x14
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
lea rdx, [0x1803abe40]
lea rcx, [rsp + 0x68]
call fcn.180073b90
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0
jne 0x1802a207b
mov eax, dword [rsp + 0x30]
bts eax, 0x15
mov dword [rsp + 0x30], eax
jmp 0x1802a20b3
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x1802a20b3
lea r8, [0x1803abb30]
mov edx, 3
lea rcx, [rsp + 0x4f0]
call fcn.1801568a8
lea rdx, [0x180396928]
lea rcx, [rsp + 0x4f0]
call fcn.180181900
jmp 0x1802a1dea
call fcn.1801ebff0
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x1802a2123
mov eax, dword [rsp + 0x34]
and eax, 8
test eax, eax
je 0x1802a20e6
lea rax, [0x1803ac5a0]
mov qword [rsp + 0xd8], rax
jmp 0x1802a20f5
lea rax, [0x1803ac318]
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd8]
mov edx, 1
lea rcx, [rsp + 0x4d0]
call fcn.1801568a8
lea rdx, [0x180396928]
lea rcx, [rsp + 0x4d0]
call fcn.180181900
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x1802a2147
xor r9d, r9d
lea r8, [0x1803ac5d0]
mov rdx, qword [rsp + 0x1aa0]
xor ecx, ecx
call fcn.1801dc760
mov eax, dword [rsp + 0x34]
and eax, 4
test eax, eax
je 0x1802a215c
mov dword [rsp + 0x60], 0x8000
jmp 0x1802a2164
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x34]
and eax, 8
test eax, eax
je 0x1802a2240
xor r8d, r8d
lea rdx, [0x1803a8300]
mov rcx, qword [0x1803babd0]
call fcn.1802bfe70
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x50]
or eax, 0xf
bts eax, 0x18
bts eax, 9
bts eax, 0x12
bts eax, 0x13
bts eax, 0x15
mov ecx, dword [rsp + 0xb4]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 0x1000000
test eax, eax
jne 0x1802a2240
mov r9d, 0x34
lea r8, [0x1803ac5b8]
lea rdx, [0x1803ac620]
xor ecx, ecx
call fcn.1801dc760
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 6
je 0x1802a2240
mov dword [rsp + 0x98], 0
lea rcx, [rsp + 0x68]
call fcn.180073360
nop
lea rcx, [rsp + 0x2f0]
call fcn.180073360
mov eax, dword [rsp + 0x98]
jmp 0x1802a2a97
mov eax, dword [rsp + 0x30]
and eax, 0x200
test eax, eax
je 0x1802a2262
mov eax, dword [rsp + 0x50]
and eax, 0x8000
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
bts eax, 0x1d
mov ecx, eax
call fcn.1802ac6d0
mov byte [rsp + 0x3e], al
movzx eax, byte [rsp + 0x3e]
test eax, eax
jne 0x1802a22f0
lea rdx, [0x1803dbde8]
lea rcx, [rsp + 0x550]
call fcn.1802b10c4
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.180073860
mov r8, rax
mov edx, dword [0x1803dc184]
lea rcx, [rsp + 0x3d0]
call fcn.1801568a8
lea rdx, [0x180396928]
lea rcx, [rsp + 0x3d0]
call fcn.180181900
nop
lea rcx, [rsp + 0x550]
call fcn.180073360
nop
mov eax, dword [rsp + 0x30]
and eax, 0xf
test eax, eax
je 0x1802a232a
mov eax, dword [rsp + 0x30]
and eax, 0x200
test eax, eax
je 0x1802a2314
mov eax, dword [rsp + 0x30]
bts eax, 0x1f
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
bts eax, 0xf
mov edx, eax
mov rcx, qword [0x1803babe8]
call fcn.180105098
lea r8, [0x1803ac038]
lea rdx, [rsp + 0x410]
mov rcx, qword [0x1803babd0]
call fcn.1802c0620
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x310]
call fcn.1802b10c4
mov qword [rsp + 0x258], rax
lea rcx, [rsp + 0x410]
call fcn.180073fc0
lea r8, [0x1803ac020]
lea rdx, [rsp + 0x530]
mov rcx, qword [0x1803babd0]
call fcn.1802c0620
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x330]
call fcn.1802b10c4
mov qword [rsp + 0x268], rax
lea rcx, [rsp + 0x530]
call fcn.180073fc0
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x310]
call fcn.1802ac124
mov eax, dword [rsp + 0x34]
and eax, 8
test eax, eax
je 0x1802a248b
mov rdx, qword [0x1803babf0]
lea rcx, [rsp + 0x450]
call fcn.1801e63d0
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x1b8]
call fcn.180074060
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.1802bd9c0
mov qword [rsp + 0x2e8], rax
lea rcx, [rsp + 0x450]
call fcn.180073fc0
xor r8d, r8d
lea rdx, [rsp + 0x350]
mov rcx, 0xffffffff80000002
call fcn.1802b0c9c
nop
lea rcx, [rsp + 0x350]
call fcn.180073fc0
lea rcx, [rsp + 0x570]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov rdx, qword [0x1803babf0]
lea rcx, [rsp + 0xe8]
call fcn.1801e98d0
mov qword [rsp + 0x230], rax
mov eax, dword [rsp + 0x30]
and eax, 0x100
test eax, eax
jne 0x1802a24d1
mov eax, dword [rsp + 0x34]
and eax, 8
test eax, eax
je 0x1802a29b9
movzx eax, word [rsp + 0x570]
test eax, eax
je 0x1802a26b5
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x140]
call fcn.1802b0ed4
mov qword [rsp + 0x198], rax
lea r8, [0x1803ab650]
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x510]
call fcn.1802b08fc
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x2a0]
call fcn.1802b0f1c
mov qword [rsp + 0x270], rax
lea rcx, [rsp + 0x510]
call fcn.180073fc0
lea rcx, [rsp + 0x2a0]
call fcn.180074060
mov rcx, rax
call fcn.1801ea270
mov byte [rsp + 0x20], 0
lea r9, [0x1803aaa00]
lea r8, [0x1803aa990]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x278]
call fcn.1801dfe00
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x1e0]
call fcn.1800740e0
mov qword [rsp + 0x2c0], rax
lea rcx, [rsp + 0x2a0]
call fcn.180074060
lea r8, [rsp + 0x1e0]
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.1802af78c
mov byte [rsp + 0x3d], al
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x1802a268c
lea rcx, [rsp + 0x278]
call fcn.180074060
mov r9, rax
lea r8, [0x1803aaa00]
lea rdx, [0x1803aa990]
mov rcx, 0xffffffff80000002
call fcn.1801e0150
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x1e0]
call fcn.1800742e0
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x1e0]
call fcn.1800742b0
mov r8b, byte [rsp + 0x38]
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rcx]
mov rcx, qword [rax]
call fcn.1801583c0
mov byte [rsp + 0x39], al
mov al, byte [rsp + 0x39]
mov byte [rsp + 0x3f], al
lea rcx, [rsp + 0x1e0]
call fcn.1800748f0
nop
lea rcx, [rsp + 0x278]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x2a0]
call fcn.180073fc0
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x490]
call fcn.1802b0ed4
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0xe8]
call fcn.180073df0
lea rcx, [rsp + 0x490]
call fcn.180073fc0
lea rcx, [rsp + 0xe8]
call fcn.180074060
mov rcx, rax
call fcn.1801ea270
mov byte [rsp + 0x3a], al
movzx eax, byte [rsp + 0x3a]
test eax, eax
jne 0x1802a27f3
mov eax, dword [rsp + 0x34]
and eax, 8
test eax, eax
jne 0x1802a27f3
lea rcx, [rsp + 0xe8]
call fcn.180074060
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x3b0]
call fcn.1801eb5b0
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x1c8], rax
mov rcx, qword [rsp + 0x1c8]
call fcn.180073860
mov r8, rax
lea rdx, [0x1803ac600]
lea rcx, [rsp + 0x390]
call fcn.1801e9200
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.180073860
mov r8, rax
mov edx, 0x83
lea rcx, [rsp + 0x370]
call fcn.1801568a8
lea rdx, [0x180396928]
lea rcx, [rsp + 0x370]
call fcn.180181900
nop
lea rcx, [rsp + 0x390]
call fcn.180073360
lea rcx, [rsp + 0x3b0]
call fcn.180073360
nop
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x2c8]
call fcn.1802b0fac
mov qword [rsp + 0x260], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x1f8]
call fcn.1802b0ff4
mov qword [rsp + 0x220], rax
mov rax, qword [0x180323d38]
mov qword [rsp + 0x108], rax
mov eax, 0x2d
mov word [rsp + 0x40], ax
mov r9d, 1
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1f8]
call fcn.1800ee010
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xe0], rax
mov rax, qword [0x180323d38]
cmp qword [rsp + 0xe0], rax
je 0x1802a28a4
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x1f8]
call fcn.18007bf80
lea rcx, [rsp + 0x1f8]
call fcn.180003ba0
test rax, rax
je 0x1802a2987
mov dword [rsp + 0xa0], 0
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x430]
call fcn.1802b1184
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.180074060
mov r8, rax
lea rdx, [0x1803ac6b0]
lea rcx, [rsp + 0x3f0]
call fcn.1801e9260
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.180074060
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x2c8]
call fcn.180074060
lea r8, [rsp + 0xa0]
mov rcx, qword [rsp + 0x190]
mov rdx, rcx
mov rcx, rax
call fcn.1801e12e0
nop
lea rcx, [rsp + 0x3f0]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x430]
call fcn.180073fc0
lea rcx, [rsp + 0x2c8]
call fcn.180074060
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x1f8]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x2c8]
call fcn.180073fc0
mov eax, dword [rsp + 0x30]
and eax, 0x40000
test eax, eax
je 0x1802a2a2f
mov edx, 0xffffffff
lea rcx, [rsp + 0xcb0]
call fcn.1801600c0
mov qword [rsp + 0x228], rax
lea rcx, [0x1803dbdc8]
call fcn.180073860
mov dword [rsp + 0x28], 0x80
mov byte [rsp + 0x20], 1
mov r9d, dword [rsp + 0x30]
mov r8, rax
lea rdx, [rsp + 0xcb0]
mov rcx, qword [0x1803babd0]
call fcn.180168210
lea rcx, [0x1803dbdc8]
call fcn.1800736f0
nop
lea rcx, [rsp + 0xcb0]
call fcn.1801601b0
mov rcx, qword [0x1803babd0]
call fcn.1802bd810
nop
lea rcx, [rsp + 0xe8]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x330]
call fcn.180073360
nop
lea rcx, [rsp + 0x310]
call fcn.180073360
nop
lea rcx, [rsp + 0x68]
call fcn.180073360
nop
lea rcx, [rsp + 0x2f0]
call fcn.180073360
nop
jmp 0x1802a2a8a
jmp 0x1802a2a95
xor eax, eax
add rsp, 0x1a90
pop rdi
ret