Function at 0x180030410
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x8e8], rbx
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov dword [rsp + 0x60], r8d
mov r14, rdx
mov r12, rcx
mov qword [rbp + 0x10], rcx
xor eax, eax
mov dword [rsp + 0x50], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031e91
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp], rax
lea rdx, str.active
mov r15, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x1800304b4
movzx edx, dx
lea rcx, [rbp]
call fcn.180012460
jmp 0x1800304d7
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1800304c0
mov r8d, eax
lea rcx, [rbp]
call fcn.180013680
nop
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031e9c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 8], rax
lea rdx, str.bandinit
cmp rdx, 0x10000
jae 0x180030514
movzx edx, dx
lea rcx, [rbp - 8]
call fcn.180012460
jmp 0x180030537
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180030520
mov r8d, eax
lea rcx, [rbp - 8]
call fcn.180013680
nop
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031ea7
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x80], rbx
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031eb2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov rdx, qword [rbp - 8]
lea rsi, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rsi, rbx
je 0x1800305d0
cmp dword [rbx + 0x10], 0
jl 0x1800305c3
mov rax, qword [rbx]
cmp qword [rsi], rax
jne 0x1800305c3
mov rcx, rsi
call fcn.180013250
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1800305b9
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp - 0x80], rax
jmp 0x1800305d0
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x80]
call fcn.180013680
mov rdx, qword [rbp]
lea rdi, [rdx - 0x18]
mov rbx, qword [rbp - 0x78]
add rbx, 0xffffffffffffffe8
cmp rdi, rbx
je 0x180030630
cmp dword [rbx + 0x10], 0
jl 0x180030622
mov rax, qword [rbx]
cmp qword [rdi], rax
jne 0x180030622
mov rcx, rdi
call fcn.180013250
mov r13, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x180030618
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r13 + 0x18]
mov qword [rbp - 0x78], rax
jmp 0x180030630
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x78]
call fcn.180013680
nop
mov rbx, qword [rbp - 0x68]
cmp qword [rbp - 0x60], rbx
je 0x18003067c
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov rcx, qword [rbp - 0x80]
add rcx, 0xffffffffffffffe8
call fcn.180013250
add rax, 0x18
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x70], rbx
mov rcx, qword [rbp - 0x78]
add rcx, 0xffffffffffffffe8
call fcn.180013250
add rax, 0x18
mov qword [rbx], rax
add qword [rbp - 0x68], 0x10
jmp 0x18003068d
lea r8, [rbp - 0x80]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18002e090
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800306ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800306ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, r15d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x1800306e4
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, r15d
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x1800306fd
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x70]
cmp rdi, qword [rbp - 0x68]
je 0x180031e17
mov r13d, 6
mov ebx, 4
lea rsi, [0x1800f90b0]
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031e86
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x40]
cmp rsi, 0x10000
jae 0x180030753
movzx edx, si
call fcn.180012460
jmp 0x18003075f
mov r8d, ebx
mov rdx, rsi
call fcn.180013680
nop
mov esi, dword [rsp + 0x50]
or esi, 1
mov dword [rsp + 0x50], esi
mov ebx, esi
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031e7b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
test r14, r14
je 0x1800307bd
cmp r14, 0x10000
jae 0x1800307a8
movzx edx, r14w
lea rcx, [rbp - 0x48]
call fcn.180012460
jmp 0x1800307cf
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x1800307b0
jmp 0x1800307bf
xor eax, eax
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.180013680
nop
or esi, 2
mov dword [rsp + 0x50], esi
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x88]
mov rcx, r12
call fcn.180032440
nop
or ebx, 6
mov dword [rsp + 0x50], ebx
mov esi, ebx
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.1800a540c
test eax, eax
jne 0x1800308f9
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031ec8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x50], rax
lea rax, [0x1800f90c0]
lea rcx, [rbp - 0x50]
cmp rax, 0x10000
jae 0x180030846
movzx edx, ax
call fcn.180012460
jmp 0x180030852
mov r8d, r13d
mov rdx, rax
call fcn.180013680
nop
or ebx, 8
mov dword [rsp + 0x50], ebx
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031ebd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
test r14, r14
je 0x1800308ad
cmp r14, 0x10000
jae 0x180030895
movzx edx, r14w
lea rcx, [rbp - 0x58]
call fcn.180012460
jmp 0x1800308bf
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x1800308a0
jmp 0x1800308af
xor eax, eax
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x58]
call fcn.180013680
nop
mov eax, esi
or eax, 0x18
mov dword [rsp + 0x50], eax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.180032440
mov ebx, esi
or ebx, 0x38
mov rdx, qword [rax]
mov rcx, qword [rdi + 8]
call fcn.1800a540c
test eax, eax
jne 0x1800308f9
mov sil, 1
jmp 0x1800308fc
xor sil, sil
test bl, 0x20
je 0x18003092d
and ebx, 0xffffffdf
mov dword [rsp + 0x50], ebx
mov rdx, qword [rbp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030929
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x50]
test bl, 0x10
je 0x18003095b
and ebx, 0xffffffef
mov dword [rsp + 0x50], ebx
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030957
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x50]
test bl, 8
je 0x180030989
and ebx, 0xfffffff7
mov dword [rsp + 0x50], ebx
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030985
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x50]
mov r12d, ebx
and ebx, 0xfffffffb
mov dword [rsp + 0x50], ebx
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800309b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, r12d
and eax, 0xfffffff9
mov dword [rsp + 0x50], eax
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800309de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
and r12d, 0xfffffff8
mov dword [rsp + 0x50], r12d
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030a05
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
jne 0x180030a21
add rdi, 0x10
cmp rdi, qword [rbp - 0x68]
je 0x180031e13
mov r12, qword [rbp + 0x10]
jmp 0x180030711
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
lea rcx, str.tray_offline__s__s
call fcn.1800121f0
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031ed3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test r14, r14
je 0x180030a82
cmp r14, 0x10000
jae 0x180030a72
movzx edx, r14w
lea rcx, [rsp + 0x58]
call fcn.180012460
jmp 0x180030a95
mov rax, r15
inc rax
cmp word [r14 + rax*2], 0
jne 0x180030a75
jmp 0x180030a84
xor eax, eax
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.180013680
nop
lea r8, str.http:__s.ludashi.com_url3
lea rdx, str.http:__s.ludashi.com_url2
lea rcx, [rsp + 0x58]
call fcn.18002fdf0
nop
mov rax, qword [rdi]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x180030ac8
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180030ad9
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031ede
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x68], rbx
or dword [rsp + 0x50], 0x40
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x70], eax
lea rdx, [0x1800f9190]
mov rsi, r15
nop
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x180030b10
lea r13d, [rsi + rax]
test r13d, r13d
js 0x180031ee9
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r13d
or eax, ecx
jge 0x180030b50
mov edx, r13d
lea rcx, [rbp + 0x68]
call fcn.1800125f0
mov rbx, qword [rbp + 0x68]
lea rdx, [0x1800f9190]
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x180030b7e
test rbx, rbx
jne 0x180030b73
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x180030b7e
mov r8, rsi
mov rcx, rbx
call fcn.18009ad00
movsxd rdx, dword [rsp + 0x70]
add rdx, rdx
lea rcx, [rsi + rbx]
mov r9, rdx
mov r8, qword [rsp + 0x68]
call fcn.180012740
cmp r13d, dword [rbx - 0xc]
jg 0x180032026
mov dword [rbx - 0x10], r13d
movsxd rax, r13d
xor ecx, ecx
mov word [rbx + rax*2], cx
lea r8, str.typeband_offline
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18002fdf0
and r12d, 0xffffffbf
mov dword [rsp + 0x50], r12d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030be6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rdi]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x180030c00
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180030c11
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031ef4
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x70], rbx
or dword [rsp + 0x50], 0x80
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
movsxd r13, dword [rax - 0x10]
lea rdx, [0x1800f91a0]
mov rdi, r15
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x180030c46
lea esi, [rdi + r13]
test esi, esi
js 0x180031eff
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x180030c83
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.1800125f0
mov rbx, qword [rbp + 0x70]
lea rdx, [0x1800f91a0]
movsxd rax, edi
lea rdi, [rax + rax]
test rdi, rdi
je 0x180030cb1
test rbx, rbx
jne 0x180030ca6
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x180030cb1
mov r8, rdi
mov rcx, rbx
call fcn.18009ad00
mov rdx, r13
add rdx, rdx
lea rcx, [rdi + rbx]
mov r9, rdx
mov r8, qword [rsp + 0x68]
call fcn.180012740
cmp esi, dword [rbx - 0xc]
jg 0x18003201b
mov dword [rbx - 0x10], esi
movsxd rax, esi
xor ecx, ecx
mov word [rbx + rax*2], cx
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x180030cf4
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180030d05
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031f0a
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp + 0x20], rdi
mov eax, r12d
or eax, 0x180
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x50], eax
lea rax, [0x1800f919c]
mov r13, r15
nop word [rax + rax]
inc r13
cmp word [rax + r13*2], 0
jne 0x180030d40
movsxd rsi, dword [rbx - 0x10]
lea edx, [rsi + r13]
mov dword [rsp + 0x70], edx
test edx, edx
js 0x180031f15
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, edx
or eax, ecx
jge 0x180030d7d
lea rcx, [rbp + 0x20]
call fcn.1800125f0
mov rdi, qword [rbp + 0x20]
add rsi, rsi
mov r9, rsi
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180012740
lea rcx, [rsi + rdi]
movsxd r8, r13d
add r8, r8
je 0x180030dc0
test rcx, rcx
jne 0x180030db4
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x180030dc0
lea rdx, [0x1800f919c]
call fcn.18009ad00
movsxd rax, dword [rsp + 0x70]
cmp eax, dword [rdi - 0xc]
jg 0x180032010
mov dword [rdi - 0x10], eax
xor esi, esi
mov word [rdi + rax*2], si
mov r8, rdi
lea rdx, [0x1800f91a0]
lea rcx, [rsp + 0x58]
call fcn.18002fdf0
mov eax, dword [rsp + 0x68]
btr eax, 8
mov dword [rsp + 0x50], eax
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030e11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
and r12d, 0xfffffe7f
mov dword [rsp + 0x50], r12d
mov eax, r15d
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030e37
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031f20
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x10], rax
mov r8d, dword [rsp + 0x60]
lea rdx, [0x1800f8580]
lea rcx, [rbp - 0x10]
call fcn.18002bf40
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031f2b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdx, [0x1800f91b8]
cmp rdx, 0x10000
jae 0x180030ea8
movzx edx, dx
lea rcx, [rbp - 0x30]
call fcn.180012460
jmp 0x180030ec7
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180030eb0
mov r8d, eax
lea rcx, [rbp - 0x30]
call fcn.180013680
nop
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031f36
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
test r14, r14
je 0x180030f1d
cmp r14, 0x10000
jae 0x180030f03
movzx edx, r14w
lea rcx, [rbp - 0x38]
call fcn.180012460
jmp 0x180030f2f
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x180030f10
jmp 0x180030f1f
mov eax, esi
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x38]
call fcn.180013680
nop
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call fcn.180032440
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030f64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030f82
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x18]
cmp dword [rax - 0x10], 0
jne 0x18003112c
lea rdx, [0x1800f91c0]
lea rcx, [rbp + 0x38]
call fcn.180011df0
nop
mov rbx, qword [rsp + 0x58]
lea rdi, [rbx - 0x18]
mov rcx, qword [rdi]
test rcx, rcx
je 0x180030fc0
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180030fd1
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031f41
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x28], rax
or dword [rsp + 0x50], 0x200
mov r9, qword [rbp + 0x38]
mov eax, dword [r9 - 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.18002eca0
nop
mov rbx, qword [rbp + 0x28]
lea r13, [rbx - 0x18]
mov rcx, qword [r13]
test rcx, rcx
je 0x18003102c
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x18003103d
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031f4c
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x30], rax
mov esi, r12d
or esi, 0x600
mov dword [rsp + 0x50], esi
mov r9, qword [rbp - 0x10]
mov eax, dword [r9 - 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.18002eca0
mov rdx, qword [rbp + 0x30]
lea rbx, [rdx - 0x18]
cmp rbx, rdi
je 0x1800310da
cmp dword [rdi + 0x10], 0
jl 0x1800310cc
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x1800310cc
mov rcx, rbx
call fcn.180013250
mov rsi, rax
mov ecx, r15d
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x1800310bd
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x58], rax
mov esi, dword [rsp + 0x50]
jmp 0x1800310da
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.180013680
btr esi, 0xa
mov dword [rsp + 0x50], esi
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x1800310fb
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
and r12d, 0xfffff9ff
mov dword [rsp + 0x50], r12d
mov eax, r15d
lock xadd dword [r13 + 0x10], eax
sub eax, 1
jg 0x180031123
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x38]
jmp 0x180031384
mov rbx, qword [rbp - 0x10]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x180031147
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031158
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031f57
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp + 8], rdi
or dword [rsp + 0x50], 0x800
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x60], eax
lea rdx, str.ex1
mov rsi, r15
nop dword [rax + rax]
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x180031190
lea r13d, [rsi + rax]
test r13d, r13d
js 0x180031f62
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, r13d
or eax, ecx
jge 0x1800311d0
mov edx, r13d
lea rcx, [rbp + 8]
call fcn.1800125f0
mov rdi, qword [rbp + 8]
lea rdx, str.ex1
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x1800311fe
test rdi, rdi
jne 0x1800311f3
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x1800311fe
mov r8, rsi
mov rcx, rdi
call fcn.18009ad00
movsxd rdx, dword [rsp + 0x60]
add rdx, rdx
lea rcx, [rsi + rdi]
mov r9, rdx
mov r8, rbx
call fcn.180012740
cmp r13d, dword [rdi - 0xc]
jg 0x180032005
mov dword [rdi - 0x10], r13d
movsxd rax, r13d
xor ecx, ecx
mov word [rdi + rax*2], cx
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x180031247
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031258
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031f6d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x40], rbx
mov eax, r12d
or eax, 0x1800
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x50], eax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x70], rax
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x60], eax
mov rsi, r15
lea rdx, str.ex1
nop dword [rax]
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1800312a0
lea r13d, [rax + rsi]
test r13d, r13d
js 0x180031f78
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r13d
or eax, ecx
jge 0x1800312e0
mov edx, r13d
lea rcx, [rbp + 0x40]
call fcn.1800125f0
mov rbx, qword [rbp + 0x40]
lea rdx, str.ex1
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x18003130e
test rbx, rbx
jne 0x180031303
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x18003130e
mov r8, rsi
mov rcx, rbx
call fcn.18009ad00
movsxd rdx, dword [rsp + 0x60]
add rdx, rdx
lea rcx, [rsi + rbx]
mov r9, rdx
mov r8, qword [rsp + 0x70]
call fcn.180012740
cmp r13d, dword [rbx - 0xc]
jg 0x180031ffa
mov dword [rbx - 0x10], r13d
movsxd rax, r13d
xor ecx, ecx
mov word [rbx + rax*2], cx
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18002fdf0
mov eax, dword [rsp + 0x68]
btr eax, 0xc
mov dword [rsp + 0x50], eax
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031374
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
and r12d, 0xffffe7ff
mov dword [rsp + 0x50], r12d
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18003139e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r13d, dword [rsp + 0x50]
xor eax, eax
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], rax
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rbp + 0x290]
call fcn.18009b170
movzx eax, word [rbp + 0x1d4]
movzx ecx, word [rbp + 0x1d2]
movzx r8d, word [rbp + 0x1d0]
movzx r10d, word [rbp + 0x1ce]
movzx r11d, word [rbp + 0x1ca]
movzx r9d, word [rbp + 0x1c8]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r8, str._04d_02d_02d_02d_02d_02d
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rbp + 0x290]
call fcn.1800137a0
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031f83
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x78], rbx
lea rax, [rbp + 0x290]
cmp rax, 0x10000
lea rax, [rbp + 0x290]
jae 0x1800314bb
movzx edx, ax
lea rcx, [rsp + 0x78]
call fcn.180012460
xor r12d, r12d
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180031f8e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rdx, [0x1800f9210]
cmp rdx, 0x10000
jae 0x1800315f0
movzx edx, dx
lea rcx, [rbp - 0x28]
call fcn.180012460
jmp 0x18003160a
mov rdi, r15
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1800314c0
test edi, edi
jne 0x180031528
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x180031474
cmp dword [rdx + 0x10], 0
jge 0x1800314fb
cmp dword [rbx - 0xc], 0
jl 0x180031f99
xor r12d, r12d
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x180031477
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031511
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
jmp 0x180031474
mov r12d, dword [rbx - 0x10]
lea rsi, [rbp + 0x290]
sub rsi, rbx
sar rsi, 1
test edi, edi
js 0x180031fa4
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x180031563
mov edx, edi
lea rcx, [rsp + 0x78]
call fcn.1800125f0
mov rbx, qword [rsp + 0x78]
movsxd rax, edi
cmp rsi, r12
ja 0x1800315ba
lea rdx, [rbx + rsi*2]
lea rsi, [rax + rax]
test rsi, rsi
je 0x1800315d7
test rdx, rdx
jne 0x18003158f
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x1800315d7
movsxd rax, dword [rbx - 0xc]
add rax, rax
cmp rax, rsi
jae 0x1800315ad
call fcn.18009e3ac
mov dword [rax], 0x22
call fcn.18009e25c
jmp 0x1800315d7
mov r8, rsi
mov rcx, rbx
call fcn.18009ad00
jmp 0x1800315d7
lea rsi, [rax + rax]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, rsi
lea r8, [rbp + 0x290]
mov rcx, rbx
call fcn.180012740
cmp edi, dword [rbx - 0xc]
jg 0x180031fef
mov dword [rbx - 0x10], edi
xor r12d, r12d
mov word [rbx + rsi], r12w
jmp 0x180031477
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x1800315f3
mov r8d, eax
lea rcx, [rbp - 0x28]
call fcn.180013680
nop
mov rdx, r14
lea rcx, [rbp + 0x48]
call fcn.18002e5b0
nop
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x48]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp + 0x10]
call fcn.180032440
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18003164c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18003166a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x20]
cmp dword [rax - 0x10], 0
jne 0x1800317c4
lea rdx, [0x1800f9218]
lea rcx, [rbp + 0x58]
call fcn.180011df0
nop
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x1800316a5
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x1800316b6
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031faf
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x50], rax
or dword [rsp + 0x50], 0x2000
mov r9, qword [rbp + 0x58]
mov eax, dword [r9 - 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.18002eca0
nop
mov rbx, qword [rbp + 0x50]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x18003170d
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x18003171e
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031fba
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x18], rax
mov edi, r13d
or edi, 0x6000
mov dword [rsp + 0x50], edi
mov r9, qword [rsp + 0x78]
mov eax, dword [r9 - 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.18002eca0
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x58]
call fcn.18002a400
btr edi, 0xe
mov dword [rsp + 0x50], edi
mov rdx, qword [rbp + 0x18]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031793
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
and r13d, 0xffff9fff
mov dword [rsp + 0x50], r13d
mov eax, r15d
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x1800317bb
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x58]
jmp 0x18003188f
lea r8, [rsp + 0x78]
lea rdi, str.ex2
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.18002e9e0
mov rbx, rax
mov rcx, qword [rbp - 0x20]
mov rcx, qword [rcx - 0x18]
test rcx, rcx
je 0x1800317fa
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
jne 0x18003180b
call fcn.180011c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180031fc5
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x60], rax
or dword [rsp + 0x50], 0x8000
mov r9, qword [rbp - 0x20]
mov ecx, dword [r9 - 0x10]
mov rax, r15
inc rax
cmp word [rdi + rax*2], 0
jne 0x180031835
mov dword [rsp + 0x20], ecx
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.18002eca0
mov r8, qword [rbx]
mov rbx, qword [rbp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18002fdf0
btr r13d, 0xf
mov dword [rsp + 0x50], r13d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18003188b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800318a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x360]
call fcn.18009b170
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1800318f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SHGetSpecialFolderPath_failed.__d
call fcn.1800121f0
jmp 0x180031d78
lea rdx, str.ludashi
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180031941
xor edx, edx
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180031941
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateDirectory_1_failed.__d
call fcn.1800121f0
jmp 0x180031d78
lea rdx, str.stat
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180031992
xor edx, edx
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180031992
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateDirectory_2_failed.__d
call fcn.1800121f0
jmp 0x180031d78
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x570]
call fcn.18009b170
lea r8, str.band.stat.info
lea rdx, [rbp + 0x360]
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rax, [rbp + 0x208]
mov qword [rbp + 0x200], rax
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x1800319e8
mov rdx, r12
mov qword [rbp + 0x200], rdx
jmp 0x180031ae3
mov rsi, r15
nop dword [rax + rax]
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x1800319f0
inc esi
lea edi, [rsi*4]
mov r9d, 0x80
lea r8, [rbp + 0x208]
mov edx, edi
lea rcx, [rbp + 0x200]
call fcn.18002dff0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov rax, qword [rbp + 0x200]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, r12d
test eax, eax
sete dil
test eax, eax
jne 0x180031ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180031ad4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, esi
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
mov r9d, 0x80
lea r8, [rbp + 0x208]
mov edx, eax
lea rcx, [rbp + 0x200]
call fcn.18002dff0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov rax, qword [rbp + 0x200]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, r12d
test eax, eax
sete dil
test edi, edi
jne 0x180031fd0
mov rdx, qword [rbp + 0x200]
mov qword [rbp + 0x1e8], r12
mov qword [rbp + 0x1f0], 0xf
mov byte [rbp + 0x1d8], 0
mov r8, r15
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x180031b00
lea rcx, [rbp + 0x1d8]
call fcn.18000f910
nop
lea rax, [rbp + 0x208]
mov rcx, qword [rbp + 0x200]
cmp rcx, rax
je 0x180031b2f
call fcn.18009e048
lea rax, [0x1800f6220]
mov qword [rbp + 0xa0], rax
or dword [rsp + 0x50], 0x10000
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x144], 0x98
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x148]
call fcn.180032bf0
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
xor edx, edx
lea rcx, [rbp + 0xa8]
call fcn.18002e650
nop
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0xa8]
call fcn.180032d20
mov edi, 2
lea ebx, [rdi + 4]
test rax, rax
jne 0x180031c0a
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
mov edx, ebx
cmp qword [rcx + 0x48], 0
cmovne edx, edi
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.18000eed0
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0xb0], 6
jne 0x180031d49
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.180032de0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xa0]
call fcn.180032fe0
mov rdx, qword [rax + 8]
add rdx, qword [rax]
cmp rdx, 0x800
jbe 0x180031ce7
lea rcx, str.dstFileSize:_d
call fcn.1800121f0
lea rcx, [rbp + 0xa0]
call fcn.180032350
lea rcx, [rbp + 0x570]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180031d3a
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0xa8]
call fcn.180032d20
test rax, rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
jne 0x180031cce
add rcx, rax
cmp qword [rcx + 0x48], 0
cmovne ebx, edi
or ebx, dword [rcx + 0x10]
mov edx, ebx
jmp 0x180031cdf
add rcx, rax
cmp qword [rcx + 0x48], 0
mov edx, 4
cmovne edx, r12d
xor r8d, r8d
call fcn.18000eed0
lea rdx, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 0x10
mov r8, qword [rbp + 0x1e8]
cmovae rdx, qword [rbp + 0x1d8]
lea rcx, [rbp + 0xa0]
call fcn.180016c70
lea rdx, [0x1800f9348]
mov rcx, rax
call fcn.18002dd50
lea rcx, [rbp + 0xa0]
call fcn.18001ca70
lea rcx, [rbp + 0xa0]
call fcn.180032350
jmp 0x180031d5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.DeleteFile_failed.__d
jmp 0x180031d56
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.open_file_failed.__d
mov edx, eax
call fcn.1800121f0
nop
lea rcx, [rbp + 0xa0]
call fcn.180017b10
nop
lea rcx, [rbp + 0x1d8]
call fcn.18000fc70
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031d97
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031db7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031dd6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031df5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x180031e13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x180031e51
mov rbx, qword [rbp - 0x68]
cmp rdi, rbx
je 0x180031e3a
mov rcx, rdi
call fcn.18002e950
add rdi, 0x10
cmp rdi, rbx
jne 0x180031e25
mov rdi, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
sub r8, rdi
sar r8, 4
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1800323f0
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180050ad0
mov rbx, qword [rsp + 0x8e8]
add rsp, 0x890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
int3
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov r8d, 0x80
lea rdx, [rbp + 0x208]
mov rcx, qword [rbp + 0x200]
call fcn.18002e080
call fcn.18002ec80
nop
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
int3