Function at 0x14005e130
Capabilities:
Copy file
Delete file
Query or enumerate registry value

Disassembly:
mov r11, rsp
push r13
push r14
push r15
sub rsp, 0x7f0
mov qword [r11 - 0x508], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rsp + 0x7e0], rax
xor r13d, r13d
mov dword [rsp + 0x34c], r13d
mov r12, qword [0x14009c8e0]
mov qword [r11 - 0x408], r13
mov edi, 7
mov qword [r11 - 0x400], rdi
mov word [r11 - 0x418], r13w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [r11 - 0x418]
call fcn.14000f9f0
nop
lea rcx, [rsp + 0x3f0]
mov rdx, qword [rsp + 0x408]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x3f0]
lea r9, str.upload_MMD_process_has_been_started
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rsp + 0x30], 2
lea rax, [rsp + 0x160]
mov qword [rsp + 0x340], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x380], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x388], rax
movaps xmm0, xmmword [rsp + 0x380]
movdqa xmmword [rsp + 0x310], xmm0
mov qword [rsp + 0x170], r13
mov qword [rsp + 0x178], rdi
mov word [rsp + 0x160], r13w
lea r8d, [r13 + 0x21]
lea rdx, str.CollectionHandler::UploadMMDFiles
lea rcx, [rsp + 0x160]
call fcn.14000fab0
nop
mov qword [rsp + 0x190], r13
mov qword [rsp + 0x198], rdi
mov word [rsp + 0x180], r13w
lea r8d, [r13 + 0x15]
lea rdx, str.CollectionHandler.cpp
lea rcx, [rsp + 0x180]
call fcn.14000fab0
lea rax, [rsp + 0x3f0]
cmp qword [rsp + 0x408], 8
cmovae rax, qword [rsp + 0x3f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x310]
mov r8d, 0x90c
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.140030690
nop
mov r8, qword [rsp + 0x408]
cmp r8, 8
jb 0x14005e2e8
inc r8
mov rdx, qword [rsp + 0x3f0]
call fcn.1400107d0
lea rcx, [rsp + 0x1a0]
call fcn.140037db0
mov r8, qword [rsp + 0x1b8]
cmp r8, 8
jb 0x14005e313
inc r8
mov rdx, qword [rsp + 0x1a0]
call fcn.1400107d0
mov qword [rsp + 0x1b0], r13
mov qword [rsp + 0x1b8], rdi
mov word [rsp + 0x1a0], r13w
mov qword [rsp + 0x360], r13
mov qword [rsp + 0x368], rdi
mov word [rsp + 0x350], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14009e630]
lea rcx, [rsp + 0x350]
call fcn.140010290
mov esi, 1
mov r14d, esi
cmp qword [rsp + 0x360], 0
jne 0x14005e3a4
call fcn.140050410
mov rcx, r12
call fcn.140053130
nop
mov r8, qword [rsp + 0x368]
cmp r8, 8
jb 0x14005e39f
inc r8
mov rdx, qword [rsp + 0x350]
call fcn.1400107d0
jmp 0x14005f2e4
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [rsp + 0x370], 0x10
xor bl, bl
mov dword [rsp + 0x348], 3
mov qword [rsp + 0x340], r13
lea rax, [rsp + 0x340]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.SoftwareAMDPPC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005e45b
lea rax, [rsp + 0x370]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x500]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x348]
xor r8d, r8d
lea rdx, str.UpdateMMDTime
mov rcx, qword [rsp + 0x340]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005e449
movzx ebx, bl
cmp dword [rsp + 0x348], 3
cmove ebx, esi
mov rcx, qword [rsp + 0x340]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x14005e46c
movaps xmm0, xmmword [rsp + 0x4f0]
movdqa xmmword [rsp + 0x500], xmm0
mov qword [rsp + 0x440], r13
mov qword [rsp + 0x448], rdi
mov word [rsp + 0x430], r13w
mov r8d, 0x1e
lea rdx, str.C:ProgramDataAMDPPCupload_
lea rcx, [rsp + 0x430]
call fcn.14000fab0
nop
mov qword [rsp + 0x150], r13
mov qword [rsp + 0x158], rdi
mov word [rsp + 0x140], r13w
mov qword [rsp + 0x4e0], r13
mov qword [rsp + 0x4e8], rdi
mov word [rsp + 0x4d0], r13w
lea r9, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae r9, qword [rsp + 0x350]
mov rax, qword [rsp + 0x360]
lea rcx, [rax + rax]
lea rax, [rcx + r9]
xor r8d, r8d
xor edx, edx
cmp r9, rax
jne 0x14005e515
lea rcx, [rsp + 0x4d0]
call fcn.140010490
jmp 0x14005e52a
sar rcx, 1
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x4d0]
call fcn.140033ef0
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x140]
call fcn.140032d80
nop
mov r8, qword [rsp + 0x4e8]
cmp r8, 8
jb 0x14005e55f
inc r8
mov rdx, qword [rsp + 0x4d0]
call fcn.1400107d0
nop
call fcn.14002c440
call fcn.14002c440
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rcx, qword [rsp + 0x140]
lea rdx, [rsp + 0x380]
call qword [sym.imp.MSVCP140.dll__Stat]
cmp eax, 8
je 0x14005e59f
cmp eax, 0xffffffff
je 0x14005e59f
mov bl, 1
jmp 0x14005e5a1
xor bl, bl
mov r8, qword [rsp + 0x158]
cmp r8, 8
jb 0x14005e5bf
inc r8
mov rdx, qword [rsp + 0x140]
call fcn.1400107d0
test bl, bl
je 0x14005f123
mov qword [rsp + 0x130], r13
mov qword [rsp + 0x138], rdi
mov word [rsp + 0x120], r13w
mov qword [rsp + 0x420], r13
mov qword [rsp + 0x428], rdi
mov word [rsp + 0x410], r13w
lea r9, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae r9, qword [rsp + 0x350]
mov rax, qword [rsp + 0x360]
lea rcx, [rax + rax]
lea rax, [rcx + r9]
xor r8d, r8d
xor edx, edx
cmp r9, rax
jne 0x14005e63c
lea rcx, [rsp + 0x410]
call fcn.140010490
jmp 0x14005e651
sar rcx, 1
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x410]
call fcn.140033ef0
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x120]
call fcn.140032d80
nop
mov r8, qword [rsp + 0x428]
cmp r8, 8
jb 0x14005e685
inc r8
mov rdx, qword [rsp + 0x410]
call fcn.1400107d0
mov qword [rsp + 0x420], r13
mov qword [rsp + 0x428], rdi
mov word [rsp + 0x410], r13w
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x570]
call fcn.140031750
nop
mov r8, qword [rsp + 0x138]
cmp r8, 8
jb 0x14005e6d2
inc r8
mov rdx, qword [rsp + 0x120]
call fcn.1400107d0
mov qword [rsp + 0x130], r13
mov qword [rsp + 0x138], rdi
mov word [rsp + 0x120], r13w
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x470]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x470]
call fcn.140031630
nop
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x510]
call sub.VCRUNTIME140.dll_memset
nop
mov ecx, 8
call fcn.140062824
mov qword [rax], r13
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x510], xmm0
mov rdx, rax
lea rcx, [rsp + 0x510]
call fcn.140033580
mov qword [rsp + 0x530], r13
mov qword [rsp + 0x538], rdi
mov word [rsp + 0x520], r13w
mov qword [rsp + 0x550], r13
mov qword [rsp + 0x558], rdi
mov word [rsp + 0x540], r13w
movdqa xmm0, xmmword [0x1400812c0]
movdqa xmmword [rsp + 0x560], xmm0
mov r15, qword [rsp + 0x510]
nop dword [rax]
mov rdx, qword [rsp + 0x470]
test rdx, rdx
je 0x14005e7c0
test r15, r15
je 0x14005e7c7
mov ecx, r13d
mov rax, qword [r15]
cmp qword [rdx], rax
sete cl
jmp 0x14005e7ca
test r15, r15
mov ecx, esi
je 0x14005e7ca
mov ecx, r13d
test cl, cl
jne 0x14005ef60
cmp byte [r12 + 0x14bc], cl
je 0x14005eecd
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x4a0]
call fcn.14002c960
mov rsi, rax
lea rcx, [rsp + 0x200]
call fcn.14001b030
mov rdi, rax
lea rdx, [rsp + 0x4f0]
lea rcx, [rsp + 0x1e0]
call fcn.14001ba40
mov rbx, rax
lea rdx, [rsp + 0x500]
lea rcx, [rsp + 0x1c0]
call fcn.14001ba40
nop
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, [rsp + 0x430]
mov rcx, rax
call fcn.140011090
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xf8], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xf0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rdx, [0x14007a9cc]
lea rcx, [rsp + 0xe0]
call fcn.140010f30
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xd8], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xd0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or r14d, 6
mov rdx, qword [rbx + 0x10]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
sub rax, rcx
cmp rdx, rax
jbe 0x14005e91e
mov rax, qword [rbx + 0x18]
sub rax, rdx
cmp rax, rcx
jb 0x14005e91e
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, [rsp + 0xc0]
mov rcx, rbx
call fcn.140011090
jmp 0x14005e935
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call fcn.140010540
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x90], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rdx, [0x14007a9cc]
lea rcx, [rsp + 0x80]
call fcn.140010f30
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or r14d, 0x18
mov rdx, qword [rdi + 0x10]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
sub rax, rcx
cmp rdx, rax
jbe 0x14005ea01
mov rax, qword [rdi + 0x18]
sub rax, rdx
cmp rax, rcx
jb 0x14005ea01
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, [rsp + 0xa0]
mov rcx, rdi
call fcn.140011090
jmp 0x14005ea18
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0xa0]
call fcn.140010540
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov edi, 7
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov word [rax], r13w
lea rdx, str._MMD_
lea rcx, [rsp + 0x60]
call fcn.140010f30
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x118], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x110], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov word [rax], r13w
cmp qword [rsi + 0x18], 8
jb 0x14005ea92
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x100]
call fcn.140010f30
mov qword [rsp + 0x460], r13
mov qword [rsp + 0x468], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x450], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x460], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov word [rax], r13w
or r14d, 0xe0
mov r8, qword [rsp + 0x118]
cmp r8, 8
jb 0x14005eafa
inc r8
mov rdx, qword [rsp + 0x100]
call fcn.1400107d0
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x118], rdi
mov word [rsp + 0x100], r13w
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14005eb2b
inc r8
mov rdx, qword [rsp + 0x60]
call fcn.1400107d0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x60], r13w
mov r8, qword [rsp + 0xb8]
cmp r8, 8
jb 0x14005eb59
inc r8
mov rdx, qword [rsp + 0xa0]
call fcn.1400107d0
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], rdi
mov word [rsp + 0xa0], r13w
mov r8, qword [rsp + 0x98]
cmp r8, 8
jb 0x14005eb90
inc r8
mov rdx, qword [rsp + 0x80]
call fcn.1400107d0
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], rdi
mov word [rsp + 0x80], r13w
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x14005ebc7
inc r8
mov rdx, qword [rsp + 0xc0]
call fcn.1400107d0
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xd8], rdi
mov word [rsp + 0xc0], r13w
mov r8, qword [rsp + 0xf8]
cmp r8, 8
jb 0x14005ebfe
inc r8
mov rdx, qword [rsp + 0xe0]
call fcn.1400107d0
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xf8], rdi
mov word [rsp + 0xe0], r13w
mov r8, qword [rsp + 0x1d8]
cmp r8, 8
jb 0x14005ec35
inc r8
mov rdx, qword [rsp + 0x1c0]
call fcn.1400107d0
mov qword [rsp + 0x1d0], r13
mov qword [rsp + 0x1d8], rdi
mov word [rsp + 0x1c0], r13w
mov r8, qword [rsp + 0x1f8]
cmp r8, 8
jb 0x14005ec6c
inc r8
mov rdx, qword [rsp + 0x1e0]
call fcn.1400107d0
mov qword [rsp + 0x1f0], r13
mov qword [rsp + 0x1f8], rdi
mov word [rsp + 0x1e0], r13w
mov r8, qword [rsp + 0x218]
cmp r8, 8
jb 0x14005eca3
inc r8
mov rdx, qword [rsp + 0x200]
call fcn.1400107d0
mov qword [rsp + 0x210], r13
mov qword [rsp + 0x218], rdi
mov word [rsp + 0x200], r13w
mov r8, qword [rsp + 0x238]
cmp r8, 8
jb 0x14005ecda
inc r8
mov rdx, qword [rsp + 0x220]
call fcn.1400107d0
mov qword [rsp + 0x230], r13
mov qword [rsp + 0x238], rdi
mov word [rsp + 0x220], r13w
lea rdx, [rsp + 0x450]
cmp qword [rsp + 0x468], 8
cmovae rdx, qword [rsp + 0x450]
lea rcx, [rsp + 0x4a0]
cmp qword [rsp + 0x4b8], 8
cmovae rcx, qword [rsp + 0x4a0]
mov esi, 1
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14005eeaf
mov qword [rsp + 0x3e0], r13
mov qword [rsp + 0x3e8], rdi
mov word [rsp + 0x3d0], r13w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rsp + 0x3d0]
call fcn.14000f9f0
nop
mov rdi, qword [rsp + 0x3e8]
lea rbx, [rsp + 0x3d0]
cmp rdi, 8
cmovae rbx, qword [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.MMD_file_moved_failed_error__d
or r8, 0xffffffffffffffff
mov rdx, rdi
mov rcx, rbx
call fcn.14000ba60
mov dword [rsp + 0x34], 2
lea rax, [rsp + 0x240]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x320], xmm0
mov qword [rsp + 0x250], r13
mov edi, 7
mov qword [rsp + 0x258], rdi
mov word [rsp + 0x240], r13w
lea r8d, [rsi + 0x20]
lea rdx, str.CollectionHandler::UploadMMDFiles
lea rcx, [rsp + 0x240]
call fcn.14000fab0
nop
mov qword [rsp + 0x270], r13
mov qword [rsp + 0x278], rdi
mov word [rsp + 0x260], r13w
lea r8d, [rsi + 0x14]
lea rdx, str.CollectionHandler.cpp
lea rcx, [rsp + 0x260]
call fcn.14000fab0
lea rax, [rsp + 0x3d0]
cmp qword [rsp + 0x3e8], 8
cmovae rax, qword [rsp + 0x3d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x320]
mov r8d, 0x92e
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x260]
call fcn.140030690
nop
mov r8, qword [rsp + 0x3e8]
cmp r8, 8
jb 0x14005eeaf
inc r8
mov rdx, qword [rsp + 0x3d0]
call fcn.1400107d0
nop
mov r8, qword [rsp + 0x468]
cmp r8, 8
jb 0x14005eecd
inc r8
mov rdx, qword [rsp + 0x450]
call fcn.1400107d0
lea rcx, [rsp + 0x4a0]
cmp qword [rsp + 0x4b8], 8
cmovae rcx, qword [rsp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x470]
mov rdx, qword [rax]
test rdx, rdx
je 0x14005e7a0
lea r8, [rsp + 0x34c]
lea rcx, [rsp + 0x5d0]
call qword [sym.imp.MSVCP140.dll__Read_dir]
cmp word [rax], 0
jne 0x14005ef3e
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx]
call qword [sym.imp.MSVCP140.dll__Close_dir]
mov rax, qword [rsp + 0x470]
mov qword [rax], r13
jmp 0x14005e7a0
mov r8d, dword [rsp + 0x34c]
lea rdx, [rsp + 0x5d0]
lea rcx, [rsp + 0x470]
call fcn.140032210
jmp 0x14005e7a0
cmp rdi, 8
jb 0x14005ef8f
lea r8, [rdi + 1]
mov rdx, qword [rsp + 0x540]
call fcn.1400107d0
cmp rdi, 8
jb 0x14005ef8f
lea r8, [rdi + 1]
mov rdx, qword [rsp + 0x520]
call fcn.1400107d0
nop
mov rcx, qword [rsp + 0x518]
test rcx, rcx
je 0x14005efd5
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005efd5
mov rbx, qword [rsp + 0x518]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005efd5
mov rcx, qword [rsp + 0x518]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov r8, qword [rsp + 0x4b8]
cmp r8, 8
jb 0x14005eff3
inc r8
mov rdx, qword [rsp + 0x4a0]
call fcn.1400107d0
mov qword [rsp + 0x4b0], r13
mov qword [rsp + 0x4b8], rdi
mov word [rsp + 0x4a0], r13w
mov r8, qword [rsp + 0x498]
cmp r8, 8
jb 0x14005f02a
inc r8
mov rdx, qword [rsp + 0x480]
call fcn.1400107d0
mov qword [rsp + 0x490], r13
mov qword [rsp + 0x498], rdi
mov word [rsp + 0x480], r13w
mov rbx, qword [rsp + 0x478]
test rbx, rbx
je 0x14005f07c
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005f07c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005f07c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
nop
mov r8, qword [rsp + 0x5b8]
cmp r8, 8
jb 0x14005f09a
inc r8
mov rdx, qword [rsp + 0x5a0]
call fcn.1400107d0
mov qword [rsp + 0x5b0], r13
mov qword [rsp + 0x5b8], rdi
mov word [rsp + 0x5a0], r13w
mov r8, qword [rsp + 0x598]
cmp r8, 8
jb 0x14005f0d1
inc r8
mov rdx, qword [rsp + 0x580]
call fcn.1400107d0
mov qword [rsp + 0x590], r13
mov qword [rsp + 0x598], rdi
mov word [rsp + 0x580], r13w
mov rbx, qword [rsp + 0x578]
test rbx, rbx
je 0x14005f123
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005f123
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005f123
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
nop
call fcn.140050410
mov rcx, r12
call fcn.140053130
mov qword [rsp + 0x3c0], r13
mov qword [rsp + 0x3c8], rdi
mov word [rsp + 0x3b0], r13w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rsp + 0x3b0]
call fcn.14000f9f0
nop
lea rcx, [rsp + 0x3b0]
mov rdx, qword [rsp + 0x3c8]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x3b0]
lea r9, str.upload_MMD_process_has_been_ended
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rsp + 0x50], 2
lea rax, [rsp + 0x280]
mov qword [rsp + 0x340], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x290], r13
mov qword [rsp + 0x298], rdi
mov word [rsp + 0x280], r13w
mov r8d, 0x21
lea rdx, str.CollectionHandler::UploadMMDFiles
lea rcx, [rsp + 0x280]
call fcn.14000fab0
nop
mov qword [rsp + 0x2f0], r13
mov qword [rsp + 0x2f8], rdi
mov word [rsp + 0x2e0], r13w
mov r8d, 0x15
lea rdx, str.CollectionHandler.cpp
lea rcx, [rsp + 0x2e0]
call fcn.14000fab0
lea rax, [rsp + 0x3b0]
cmp qword [rsp + 0x3c8], 8
cmovae rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x40]
mov r8d, 0x937
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x2e0]
call fcn.140030690
nop
mov r8, qword [rsp + 0x3c8]
cmp r8, 8
jb 0x14005f28e
inc r8
mov rdx, qword [rsp + 0x3b0]
call fcn.1400107d0
nop
mov r8, qword [rsp + 0x448]
cmp r8, 8
jb 0x14005f2ac
inc r8
mov rdx, qword [rsp + 0x430]
call fcn.1400107d0
mov qword [rsp + 0x440], r13
mov qword [rsp + 0x448], rdi
mov word [rsp + 0x430], r13w
mov r8, qword [rsp + 0x368]
cmp r8, 8
jb 0x14005f2e4
inc r8
mov rdx, qword [rsp + 0x350]
call fcn.1400107d0
nop
mov rcx, qword [rsp + 0x7e0]
xor rcx, rsp
call fcn.140062800
lea r11, [rsp + 0x7f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret