Function at 0x18001d520
Capabilities:
Delete file

Disassembly:
sub rsp, 0x138
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov rax, qword [0x180045408]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0
call fcn.18001dbc0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18001eeb0
nop
lea rcx, str.P2PCONF
call fcn.18000c820
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18001efc0
lea rcx, [rsp + 0x50]
call fcn.18001eff0
mov rcx, rax
call fcn.180002a80
mov qword [rsp + 0x40], rax
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.180002900
lea rcx, [rsp + 0x50]
call fcn.18001eff0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
lea rcx, [rsp + 0x50]
call fcn.18001ef10
cmp qword [0x18004a4e0], 0
je 0x18001d5e3
cmp qword [0x18004a4d0], 0
je 0x18001d5e3
mov rcx, qword [rsp + 0x40]
call fcn.180001f70
xor eax, eax
jmp 0x18001da69
cmp qword [rsp + 0x40], 0
jne 0x18001d601
lea rcx, [0x18003aca0]
call fcn.180006c60
mov eax, 0xffffffff
jmp 0x18001da69
mov rcx, qword [rsp + 0x40]
call fcn.180005390
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x40]
call fcn.180001f70
mov rcx, qword [rsp + 0x38]
call fcn.1800030c0
cmp eax, 5
je 0x18001d63f
lea rcx, [0x18003acc0]
call fcn.180006c60
mov eax, 0xfffffffe
jmp 0x18001da69
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call fcn.180003340
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0x28]
call fcn.18001c780
nop
mov r8d, 1
lea rdx, [0x18003ace8]
lea rcx, [rsp + 0x78]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0x28
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 2
lea rdx, [0x18003acf0]
lea rcx, [rsp + 0x88]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0x50
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 3
lea rdx, [0x18003acf8]
lea rcx, [rsp + 0x98]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0x78
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 4
lea rdx, [0x18003ad00]
lea rcx, [rsp + 0xa8]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0xa0
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 5
lea rdx, [0x18003ad08]
lea rcx, [rsp + 0xb8]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0xc8
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 6
lea rdx, [0x18003ad10]
lea rcx, [rsp + 0xc8]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0xf0
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 7
lea rdx, [0x18003ad18]
lea rcx, [rsp + 0xd8]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0x118
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 8
lea rdx, [0x18003ad20]
lea rcx, [rsp + 0xe8]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0x140
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, 9
lea rdx, [0x18003ad28]
lea rcx, [rsp + 0xf8]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0x168
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x28]
call fcn.18001c900
mov r8d, select
lea rdx, str.P_02d
lea rcx, [rsp + 0x108]
call fcn.180021d50
lea r8, [0x18004a500]
add r8, 0x230
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x28]
call fcn.18001c900
call fcn.18001cca0
lea rcx, [0x18004a500]
add rcx, 0x208
mov rdx, rax
call fcn.18001ef60
lea rcx, [0x18004a500]
add rcx, 0x1e0
mov rdx, rax
call fcn.18001ef30
lea rcx, [0x18004a500]
add rcx, 0x1b8
mov rdx, rax
call fcn.18001ef30
lea rcx, [0x18004a500]
add rcx, 0x190
mov rdx, rax
call fcn.18001ef30
lea rdx, [0x18004a500]
add rdx, 0xf0
lea rcx, [0x18004a500]
add rcx, 0x190
call fcn.18001ef90
lea rdx, [0x18004a500]
add rdx, 0x118
lea rcx, [0x18004a500]
add rcx, 0x1b8
call fcn.18001ef90
lea rdx, [0x18004a500]
add rdx, 0x140
lea rcx, [0x18004a500]
add rcx, 0x1e0
call fcn.18001ef90
lea rdx, [0x18004a500]
add rdx, 0x168
lea rcx, [0x18004a500]
add rcx, 0x208
call fcn.18001ef90
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov ecx, 1
call fcn.180003340
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180002000
mov qword [0x18004a4d0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov ecx, 2
call fcn.180003340
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180002000
mov qword [0x18004a4d8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov ecx, 3
call fcn.180003340
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180002000
mov qword [0x18004a4e0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov ecx, 4
call fcn.180003340
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180002000
mov qword [0x18004a4e8], rax
mov rcx, qword [rsp + 0x38]
call fcn.1800032b0
mov dword [rsp + 0x118], 0
lea rcx, [rsp + 0x28]
call fcn.18001c8c0
mov eax, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.180021d30
add rsp, 0x138
ret