Function at 0x1800309c0
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 [0x180143158]
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.1800121e0
mov rcx, rax
test rax, rax
je 0x180032441
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 0x180030a64
movzx edx, dx
lea rcx, [rbp]
call fcn.180012a10
jmp 0x180030a87
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180030a70
mov r8d, eax
lea rcx, [rbp]
call fcn.180013c30
nop
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x18003244c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 8], rax
lea rdx, str.bandinit
cmp rdx, 0x10000
jae 0x180030ac4
movzx edx, dx
lea rcx, [rbp - 8]
call fcn.180012a10
jmp 0x180030ae7
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180030ad0
mov r8d, eax
lea rcx, [rbp - 8]
call fcn.180013c30
nop
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x180032457
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x80], rbx
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x180032462
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 0x180030b80
cmp dword [rbx + 0x10], 0
jl 0x180030b73
mov rax, qword [rbx]
cmp qword [rsi], rax
jne 0x180030b73
mov rcx, rsi
call fcn.180013800
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x180030b69
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 0x180030b80
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x80]
call fcn.180013c30
mov rdx, qword [rbp]
lea rdi, [rdx - 0x18]
mov rbx, qword [rbp - 0x78]
add rbx, 0xffffffffffffffe8
cmp rdi, rbx
je 0x180030be0
cmp dword [rbx + 0x10], 0
jl 0x180030bd2
mov rax, qword [rbx]
cmp qword [rdi], rax
jne 0x180030bd2
mov rcx, rdi
call fcn.180013800
mov r13, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x180030bc8
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 0x180030be0
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x78]
call fcn.180013c30
nop
mov rbx, qword [rbp - 0x68]
cmp qword [rbp - 0x60], rbx
je 0x180030c2c
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov rcx, qword [rbp - 0x80]
add rcx, 0xffffffffffffffe8
call fcn.180013800
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.180013800
add rax, 0x18
mov qword [rbx], rax
add qword [rbp - 0x68], 0x10
jmp 0x180030c3d
lea r8, [rbp - 0x80]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18002e640
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180030c5b
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 0x180030c7a
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 0x180030c94
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 0x180030cad
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 0x1800323c7
mov r13d, 6
mov ebx, 4
lea rsi, [0x1800f9110]
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x180032436
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x40]
cmp rsi, 0x10000
jae 0x180030d03
movzx edx, si
call fcn.180012a10
jmp 0x180030d0f
mov r8d, ebx
mov rdx, rsi
call fcn.180013c30
nop
mov esi, dword [rsp + 0x50]
or esi, 1
mov dword [rsp + 0x50], esi
mov ebx, esi
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x18003242b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
test r14, r14
je 0x180030d6d
cmp r14, 0x10000
jae 0x180030d58
movzx edx, r14w
lea rcx, [rbp - 0x48]
call fcn.180012a10
jmp 0x180030d7f
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x180030d60
jmp 0x180030d6f
xor eax, eax
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.180013c30
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.1800329f0
nop
or ebx, 6
mov dword [rsp + 0x50], ebx
mov esi, ebx
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.1800a59e0
test eax, eax
jne 0x180030ea9
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x180032478
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x50], rax
lea rax, [0x1800f9120]
lea rcx, [rbp - 0x50]
cmp rax, 0x10000
jae 0x180030df6
movzx edx, ax
call fcn.180012a10
jmp 0x180030e02
mov r8d, r13d
mov rdx, rax
call fcn.180013c30
nop
or ebx, 8
mov dword [rsp + 0x50], ebx
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x18003246d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
test r14, r14
je 0x180030e5d
cmp r14, 0x10000
jae 0x180030e45
movzx edx, r14w
lea rcx, [rbp - 0x58]
call fcn.180012a10
jmp 0x180030e6f
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x180030e50
jmp 0x180030e5f
xor eax, eax
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x58]
call fcn.180013c30
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.1800329f0
mov ebx, esi
or ebx, 0x38
mov rdx, qword [rax]
mov rcx, qword [rdi + 8]
call fcn.1800a59e0
test eax, eax
jne 0x180030ea9
mov sil, 1
jmp 0x180030eac
xor sil, sil
test bl, 0x20
je 0x180030edd
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 0x180030ed9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x50]
test bl, 0x10
je 0x180030f0b
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 0x180030f07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x50]
test bl, 8
je 0x180030f39
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 0x180030f35
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 0x180030f65
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 0x180030f8e
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 0x180030fb5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
jne 0x180030fd1
add rdi, 0x10
cmp rdi, qword [rbp - 0x68]
je 0x1800323c3
mov r12, qword [rbp + 0x10]
jmp 0x180030cc1
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
lea rcx, str.tray_offline__s__s
call fcn.1800127a0
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x180032483
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test r14, r14
je 0x180031032
cmp r14, 0x10000
jae 0x180031022
movzx edx, r14w
lea rcx, [rsp + 0x58]
call fcn.180012a10
jmp 0x180031045
mov rax, r15
inc rax
cmp word [r14 + rax*2], 0
jne 0x180031025
jmp 0x180031034
xor eax, eax
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.180013c30
nop
lea r8, str.http:__s.ludashi.com_url3
lea rdx, str.http:__s.ludashi.com_url2
lea rcx, [rsp + 0x58]
call fcn.1800303a0
nop
mov rax, qword [rdi]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x180031078
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031089
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x18003248e
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, [0x1800f91f0]
mov rsi, r15
nop
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1800310c0
lea r13d, [rsi + rax]
test r13d, r13d
js 0x180032499
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r13d
or eax, ecx
jge 0x180031100
mov edx, r13d
lea rcx, [rbp + 0x68]
call fcn.180012ba0
mov rbx, qword [rbp + 0x68]
lea rdx, [0x1800f91f0]
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x18003112e
test rbx, rbx
jne 0x180031123
call fcn.18009e9ac
mov dword [rax], 0x16
call fcn.18009e85c
jmp 0x18003112e
mov r8, rsi
mov rcx, rbx
call fcn.18009b300
movsxd rdx, dword [rsp + 0x70]
add rdx, rdx
lea rcx, [rsi + rbx]
mov r9, rdx
mov r8, qword [rsp + 0x68]
call fcn.180012cf0
cmp r13d, dword [rbx - 0xc]
jg 0x1800325d6
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.1800303a0
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 0x180031196
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 0x1800311b0
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x1800311c1
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1800324a4
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, [0x1800f9200]
mov rdi, r15
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x1800311f6
lea esi, [rdi + r13]
test esi, esi
js 0x1800324af
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x180031233
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.180012ba0
mov rbx, qword [rbp + 0x70]
lea rdx, [0x1800f9200]
movsxd rax, edi
lea rdi, [rax + rax]
test rdi, rdi
je 0x180031261
test rbx, rbx
jne 0x180031256
call fcn.18009e9ac
mov dword [rax], 0x16
call fcn.18009e85c
jmp 0x180031261
mov r8, rdi
mov rcx, rbx
call fcn.18009b300
mov rdx, r13
add rdx, rdx
lea rcx, [rdi + rbx]
mov r9, rdx
mov r8, qword [rsp + 0x68]
call fcn.180012cf0
cmp esi, dword [rbx - 0xc]
jg 0x1800325cb
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 0x1800312a4
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x1800312b5
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1800324ba
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, [0x1800f91fc]
mov r13, r15
nop word [rax + rax]
inc r13
cmp word [rax + r13*2], 0
jne 0x1800312f0
movsxd rsi, dword [rbx - 0x10]
lea edx, [rsi + r13]
mov dword [rsp + 0x70], edx
test edx, edx
js 0x1800324c5
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, edx
or eax, ecx
jge 0x18003132d
lea rcx, [rbp + 0x20]
call fcn.180012ba0
mov rdi, qword [rbp + 0x20]
add rsi, rsi
mov r9, rsi
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180012cf0
lea rcx, [rsi + rdi]
movsxd r8, r13d
add r8, r8
je 0x180031370
test rcx, rcx
jne 0x180031364
call fcn.18009e9ac
mov dword [rax], 0x16
call fcn.18009e85c
jmp 0x180031370
lea rdx, [0x1800f91fc]
call fcn.18009b300
movsxd rax, dword [rsp + 0x70]
cmp eax, dword [rdi - 0xc]
jg 0x1800325c0
mov dword [rdi - 0x10], eax
xor esi, esi
mov word [rdi + rax*2], si
mov r8, rdi
lea rdx, [0x1800f9200]
lea rcx, [rsp + 0x58]
call fcn.1800303a0
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 0x1800313c1
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 0x1800313e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x1800324d0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x10], rax
mov r8d, dword [rsp + 0x60]
lea rdx, [0x1800f85e0]
lea rcx, [rbp - 0x10]
call fcn.18002c4f0
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x1800324db
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdx, [0x1800f9218]
cmp rdx, 0x10000
jae 0x180031458
movzx edx, dx
lea rcx, [rbp - 0x30]
call fcn.180012a10
jmp 0x180031477
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180031460
mov r8d, eax
lea rcx, [rbp - 0x30]
call fcn.180013c30
nop
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x1800324e6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
test r14, r14
je 0x1800314cd
cmp r14, 0x10000
jae 0x1800314b3
movzx edx, r14w
lea rcx, [rbp - 0x38]
call fcn.180012a10
jmp 0x1800314df
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x1800314c0
jmp 0x1800314cf
mov eax, esi
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x38]
call fcn.180013c30
nop
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call fcn.1800329f0
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031514
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 0x180031532
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 0x1800316dc
lea rdx, [0x1800f9220]
lea rcx, [rbp + 0x38]
call fcn.1800123a0
nop
mov rbx, qword [rsp + 0x58]
lea rdi, [rbx - 0x18]
mov rcx, qword [rdi]
test rcx, rcx
je 0x180031570
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031581
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1800324f1
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.18002f250
nop
mov rbx, qword [rbp + 0x28]
lea r13, [rbx - 0x18]
mov rcx, qword [r13]
test rcx, rcx
je 0x1800315dc
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x1800315ed
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1800324fc
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.18002f250
mov rdx, qword [rbp + 0x30]
lea rbx, [rdx - 0x18]
cmp rbx, rdi
je 0x18003168a
cmp dword [rdi + 0x10], 0
jl 0x18003167c
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x18003167c
mov rcx, rbx
call fcn.180013800
mov rsi, rax
mov ecx, r15d
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x18003166d
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 0x18003168a
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.180013c30
btr esi, 0xa
mov dword [rsp + 0x50], esi
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x1800316ab
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 0x1800316d3
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 0x180031934
mov rbx, qword [rbp - 0x10]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x1800316f7
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031708
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180032507
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 0x180031740
lea r13d, [rsi + rax]
test r13d, r13d
js 0x180032512
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, r13d
or eax, ecx
jge 0x180031780
mov edx, r13d
lea rcx, [rbp + 8]
call fcn.180012ba0
mov rdi, qword [rbp + 8]
lea rdx, str.ex1
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x1800317ae
test rdi, rdi
jne 0x1800317a3
call fcn.18009e9ac
mov dword [rax], 0x16
call fcn.18009e85c
jmp 0x1800317ae
mov r8, rsi
mov rcx, rdi
call fcn.18009b300
movsxd rdx, dword [rsp + 0x60]
add rdx, rdx
lea rcx, [rsi + rdi]
mov r9, rdx
mov r8, rbx
call fcn.180012cf0
cmp r13d, dword [rdi - 0xc]
jg 0x1800325b5
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 0x1800317f7
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031808
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x18003251d
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 0x180031850
lea r13d, [rax + rsi]
test r13d, r13d
js 0x180032528
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r13d
or eax, ecx
jge 0x180031890
mov edx, r13d
lea rcx, [rbp + 0x40]
call fcn.180012ba0
mov rbx, qword [rbp + 0x40]
lea rdx, str.ex1
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x1800318be
test rbx, rbx
jne 0x1800318b3
call fcn.18009e9ac
mov dword [rax], 0x16
call fcn.18009e85c
jmp 0x1800318be
mov r8, rsi
mov rcx, rbx
call fcn.18009b300
movsxd rdx, dword [rsp + 0x60]
add rdx, rdx
lea rcx, [rsi + rbx]
mov r9, rdx
mov r8, qword [rsp + 0x70]
call fcn.180012cf0
cmp r13d, dword [rbx - 0xc]
jg 0x1800325aa
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.1800303a0
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 0x180031924
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 0x18003194e
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.18009b770
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.180013d50
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x180032533
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 0x180031a6b
movzx edx, ax
lea rcx, [rsp + 0x78]
call fcn.180012a10
xor r12d, r12d
call fcn.1800121e0
mov rcx, rax
test rax, rax
je 0x18003253e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rdx, [0x1800f9270]
cmp rdx, 0x10000
jae 0x180031ba0
movzx edx, dx
lea rcx, [rbp - 0x28]
call fcn.180012a10
jmp 0x180031bba
mov rdi, r15
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180031a70
test edi, edi
jne 0x180031ad8
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x180031a24
cmp dword [rdx + 0x10], 0
jge 0x180031aab
cmp dword [rbx - 0xc], 0
jl 0x180032549
xor r12d, r12d
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x180031a27
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031ac1
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 0x180031a24
mov r12d, dword [rbx - 0x10]
lea rsi, [rbp + 0x290]
sub rsi, rbx
sar rsi, 1
test edi, edi
js 0x180032554
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x180031b13
mov edx, edi
lea rcx, [rsp + 0x78]
call fcn.180012ba0
mov rbx, qword [rsp + 0x78]
movsxd rax, edi
cmp rsi, r12
ja 0x180031b6a
lea rdx, [rbx + rsi*2]
lea rsi, [rax + rax]
test rsi, rsi
je 0x180031b87
test rdx, rdx
jne 0x180031b3f
call fcn.18009e9ac
mov dword [rax], 0x16
call fcn.18009e85c
jmp 0x180031b87
movsxd rax, dword [rbx - 0xc]
add rax, rax
cmp rax, rsi
jae 0x180031b5d
call fcn.18009e9ac
mov dword [rax], 0x22
call fcn.18009e85c
jmp 0x180031b87
mov r8, rsi
mov rcx, rbx
call fcn.18009b300
jmp 0x180031b87
lea rsi, [rax + rax]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, rsi
lea r8, [rbp + 0x290]
mov rcx, rbx
call fcn.180012cf0
cmp edi, dword [rbx - 0xc]
jg 0x18003259f
mov dword [rbx - 0x10], edi
xor r12d, r12d
mov word [rbx + rsi], r12w
jmp 0x180031a27
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x180031ba3
mov r8d, eax
lea rcx, [rbp - 0x28]
call fcn.180013c30
nop
mov rdx, r14
lea rcx, [rbp + 0x48]
call fcn.18002eb60
nop
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x48]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp + 0x10]
call fcn.1800329f0
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180031bfc
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 0x180031c1a
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 0x180031d74
lea rdx, [0x1800f9278]
lea rcx, [rbp + 0x58]
call fcn.1800123a0
nop
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x180031c55
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031c66
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x18003255f
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.18002f250
nop
mov rbx, qword [rbp + 0x50]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x180031cbd
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031cce
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x18003256a
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.18002f250
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x58]
call fcn.18002a9b0
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 0x180031d43
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 0x180031d6b
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 0x180031e3f
lea r8, [rsp + 0x78]
lea rdi, str.ex2
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.18002ef90
mov rbx, rax
mov rcx, qword [rbp - 0x20]
mov rcx, qword [rcx - 0x18]
test rcx, rcx
je 0x180031daa
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
jne 0x180031dbb
call fcn.1800121e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x180032575
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 0x180031de5
mov dword [rsp + 0x20], ecx
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.18002f250
mov r8, qword [rbx]
mov rbx, qword [rbp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1800303a0
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 0x180031e3b
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 0x180031e59
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.18009b770
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 0x180031ea0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SHGetSpecialFolderPath_failed.__d
call fcn.1800127a0
jmp 0x180032328
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 0x180031ef1
xor edx, edx
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180031ef1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateDirectory_1_failed.__d
call fcn.1800127a0
jmp 0x180032328
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 0x180031f42
xor edx, edx
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180031f42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateDirectory_2_failed.__d
call fcn.1800127a0
jmp 0x180032328
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x570]
call fcn.18009b770
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 0x180031f98
mov rdx, r12
mov qword [rbp + 0x200], rdx
jmp 0x180032093
mov rsi, r15
nop dword [rax + rax]
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x180031fa0
inc esi
lea edi, [rsi*4]
mov r9d, 0x80
lea r8, [rbp + 0x208]
mov edx, edi
lea rcx, [rbp + 0x200]
call fcn.18002e5a0
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 0x180032084
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180032084
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.18002e5a0
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 0x180032580
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 0x1800320b0
lea rcx, [rbp + 0x1d8]
call fcn.18000fec0
nop
lea rax, [rbp + 0x208]
mov rcx, qword [rbp + 0x200]
cmp rcx, rax
je 0x1800320df
call fcn.18009e648
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.1800331a0
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.18002ec00
nop
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0xa8]
call fcn.1800332d0
mov edi, 2
lea ebx, [rdi + 4]
test rax, rax
jne 0x1800321ba
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.18000f480
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0xb0], 6
jne 0x1800322f9
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.180033390
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xa0]
call fcn.180033590
mov rdx, qword [rax + 8]
add rdx, qword [rax]
cmp rdx, 0x800
jbe 0x180032297
lea rcx, str.dstFileSize:_d
call fcn.1800127a0
lea rcx, [rbp + 0xa0]
call fcn.180032900
lea rcx, [rbp + 0x570]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800322ea
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0xa8]
call fcn.1800332d0
test rax, rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
jne 0x18003227e
add rcx, rax
cmp qword [rcx + 0x48], 0
cmovne ebx, edi
or ebx, dword [rcx + 0x10]
mov edx, ebx
jmp 0x18003228f
add rcx, rax
cmp qword [rcx + 0x48], 0
mov edx, 4
cmovne edx, r12d
xor r8d, r8d
call fcn.18000f480
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.180017220
lea rdx, [0x1800f93a8]
mov rcx, rax
call fcn.18002e300
lea rcx, [rbp + 0xa0]
call fcn.18001d020
lea rcx, [rbp + 0xa0]
call fcn.180032900
jmp 0x18003230e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.DeleteFile_failed.__d
jmp 0x180032306
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.open_file_failed.__d
mov edx, eax
call fcn.1800127a0
nop
lea rcx, [rbp + 0xa0]
call fcn.1800180c0
nop
lea rcx, [rbp + 0x1d8]
call fcn.180010220
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180032347
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 0x180032367
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 0x180032386
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 0x1800323a5
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 0x1800323c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x180032401
mov rbx, qword [rbp - 0x68]
cmp rdi, rbx
je 0x1800323ea
mov rcx, rdi
call fcn.18002ef00
add rdi, 0x10
cmp rdi, rbx
jne 0x1800323d5
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.1800329a0
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180050f90
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.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
int3
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
int3
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
int3
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
int3
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
int3
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
int3
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80070057
call fcn.180010a30
int3
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov ecx, 0x80004005
call fcn.180010a30
nop
mov r8d, 0x80
lea rdx, [rbp + 0x208]
mov rcx, qword [rbp + 0x200]
call fcn.18002e630
call fcn.18002f230
nop
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80070057
call fcn.180010a30
nop
mov ecx, 0x80070057
call fcn.180010a30
int3