joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180025928
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
lea r9, str.attachCachePath
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.1800057d4
nop
xor edi, edi
cmp qword [rsp + 0x50], rdi
jbe 0x1800259e8
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x1800259b6
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, edi
je 0x1800259cc
mov rcx, rbx
call fcn.180004e3c
nop
cmp qword [rsp + 0x58], 8
jb 0x1800259de
mov rcx, qword [rsp + 0x40]
call fcn.1800018ec
mov eax, 1
jmp 0x180025ac7
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.180059f80
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov ecx, 0x23
call fcn.180005f38
cmp eax, edi
jne 0x180025a31
cmp qword [rsp + 0x58], 8
jb 0x180025a2a
mov rcx, qword [rsp + 0x40]
call fcn.1800018ec
xor eax, eax
jmp 0x180025ac7
lea rdx, str.PodlpRptCache
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x180025a5f
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, edi
je 0x180025a78
lea rcx, [rsp + 0x60]
call fcn.180004e3c
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x60]
lea r8, str.attachCachePath
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rcx, 0xffffffff80000002
call fcn.1800056d0
nop
cmp qword [rsp + 0x58], 8
jb 0x180025ac2
mov rcx, qword [rsp + 0x40]
call fcn.1800018ec
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180059930
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x180026788
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x180
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov esi, r9d
mov rbx, r8
mov r12, rdx
mov rbp, rcx
xor edi, edi
cmp r8, rdi
je 0x1800267f9
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
je 0x1800267f6
mov rcx, rbx
call fcn.180001f74
cmp rax, 0xc800000
jbe 0x1800267f9
cmp esi, edi
je 0x1800267f1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, rdi
jmp 0x1800267f9
mov rbx, rdi
mov rdx, r12
lea rcx, [rsp + 0xa0]
call fcn.1800169e0
nop
mov r9d, esi
mov r8, rbx
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.180025ae8
cmp eax, edi
jne 0x180026829
jmp 0x180026997
mov word [rsp + 0xf0], di
xor edx, edx
lea r8d, [rdx + 0x7e]
lea rcx, [rsp + 0xf2]
call fcn.180059f80
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r11d, dword [0x1800a7aa0]
mov ebx, r11d
inc r11d
mov dword [0x1800a7aa0], r11d
call fcn.180002f7c
movzx ecx, word [rsp + 0x6c]
movzx edx, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
movzx r10d, word [rsp + 0x66]
movzx r11d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r8, str._04d__02d__02d__02d:_02d:_02d__d__08x
mov edx, 0x40
lea rcx, [rsp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xa0]
call fcn.1800184f4
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800014bc
cmp qword [rax + 0x20], 8
jb 0x1800268f3
mov r9, qword [rax + 8]
jmp 0x1800268f7
lea r9, [rax + 8]
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0xf0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
mov rcx, 0xffffffff80000002
call fcn.1800056d0
mov ebx, eax
cmp qword [rsp + 0x90], 8
jb 0x18002692d
mov rcx, qword [rsp + 0x78]
call fcn.1800018ec
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rdi
mov word [rsp + 0x78], di
cmp qword [rsp + 0xe8], 0x10
jb 0x18002695e
mov rcx, qword [rsp + 0xd0]
call fcn.1800018ec
cmp ebx, edi
je 0x180026970
lea rcx, str.GlobalD36B0A68_AE78_4fa2_BD9C_05FD95224F52
call fcn.180025708
jmp 0x180026995
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0xf0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
lea rcx, str.CachedReport_write_register_failed:__s._s__d
call fcn.180027b24
nop
mov edi, ebx
lea rcx, [rsp + 0xa0]
call fcn.180016b8c
mov eax, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180059930
add rsp, 0x180
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180027cbc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov rdi, r8
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x180027d08
mov edx, dword [rsp + 0x58]
lea rcx, str.thread__d_created:__s
mov r8, rdi
call fcn.1800277f4
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180027d18
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0xc0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movsxd rbp, r9d
mov rsi, r8
mov rdi, rdx
mov ebx, ecx
test rdx, rdx
jne 0x180027d64
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180027f9a
mov r13d, 2
cmp ecx, 1
je 0x180027d85
cmp ecx, r13d
je 0x180027d85
lea ecx, [r13 + 0x55]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180027f9a
cmp qword [0x1800a4500], 0xffffffffffffffff
jne 0x180027e1a
xor r8d, r8d
mov edx, r13d
mov ecx, r13d
call sub.WS2_32.dll_socket
mov qword [0x1800a4500], rax
cmp rax, 0xffffffffffffffff
je 0x180027dfd
xor eax, eax
mov dword [rsp + 0x30], eax
lea rdx, str.127.0.0.2
lea rcx, str.127.0.0.3
cmp ebx, 1
cmove rcx, rdx
test rcx, rcx
je 0x180027ddc
lea rdx, [rsp + 0x30]
call fcn.18000334c
mov eax, dword [rsp + 0x30]
mov dword [0x1800a825c], eax
mov word [0x1800a8258], r13w
mov ecx, 0x32e9
call sub.WS2_32.dll_htons
mov word [0x1800a825a], ax
jmp 0x180027e09
lea rcx, str.PpSendExternalMessage:_create_socket_failed
call fcn.180034834
cmp qword [0x1800a4500], 0xffffffffffffffff
jne 0x180027e1a
xor eax, eax
jmp 0x180027f9a
and dword [rsp + 0x68], 0xfffffe00
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
and qword [rsp + 0x80], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1800168f0
mov rbx, rax
lea rdx, str.message
lea rcx, [rsp + 0x60]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
lea r11, [rsp + 0x38]
mov qword [rsp + 0x30], r11
lea rdx, [0x180081a97]
test rsi, rsi
cmovne rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1800168f0
mov rbx, rax
lea rdx, str.content
lea rcx, [rsp + 0x60]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
lea r11, [rsp + 0x38]
mov qword [rsp + 0x30], r11
mov byte [rsp + 0x40], 1
btr dword [rsp + 0x40], 8
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
mov qword [rsp + 0x38], rbp
lea rdx, str.broadcast
lea rcx, [rsp + 0x60]
call fcn.180017f04
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.180016c24
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.1800184f4
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rdx, qword [rsp + 0x98]
mov r8d, dword [rsp + 0xa8]
inc r8d
mov dword [rsp + 0x28], sendto
lea rax, [0x1800a8258]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rcx, qword [0x1800a4500]
call sub.WS2_32.dll_sendto
xor ebx, ebx
test eax, eax
setg bl
cmp qword [rsp + 0xb0], 0x10
jb 0x180027f71
mov rcx, qword [rsp + 0x98]
call fcn.1800018ec
mov qword [rsp + 0xb0], sendto
and qword [rsp + 0xa8], 0
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x60]
call fcn.180016b8c
mov eax, ebx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.180059930
add rsp, 0xc0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002b080
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.180059f80
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logs_accelerator
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.1800076b4
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180059930
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x18002b138
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.180059f80
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logsignored
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.1800076b4
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180059930
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x18002b2c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov esi, edx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov word [rsp + 0x60], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.180059f80
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, 1
jne 0x18002b33a
lea rdx, str.projonepodlp
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x18002b351
cmp esi, 2
jne 0x18002b39e
lea rdx, str.projonepotcm
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp rdi, rbp
je 0x18002b364
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1800076b4
mov rax, rbx
jmp 0x18002b444
cmp esi, ebp
jne 0x18002b41f
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x30]
call fcn.18002b2c0
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebp
je 0x18002b3f7
mov r8, rdi
mov edx, 2
mov rcx, rbx
call fcn.18002b2c0
nop
cmp qword [rsp + 0x50], 8
jb 0x18002b3f2
mov rcx, qword [rsp + 0x38]
call fcn.1800018ec
mov rax, rbx
jmp 0x18002b444
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.18002b2c0
nop
cmp qword [rsp + 0x50], 8
jb 0x18002b41a
mov rcx, qword [rsp + 0x38]
call fcn.1800018ec
mov rax, rbx
jmp 0x18002b444
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor r8d, r8d
lea rdx, [0x180081a98]
mov rcx, rbx
call fcn.1800076b4
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180059930
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x18002dde8
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
cmp qword [rcx + 0x20], 0x10
jb 0x18002ddf9
mov r8, qword [rcx + 8]
jmp 0x18002ddfd
lea r8, [rcx + 8]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpkeyrule_secClass_
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
xor ecx, ecx
cmp eax, ecx
jne 0x18002de43
cmp dword [rsp + 0x48], 4
jne 0x18002de43
mov ecx, dword [rsp + 0x50]
mov eax, ecx
add rsp, 0x38
ret
Function at 0x18002f334
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x18002f38f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18002f37b
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x18002f43a
call fcn.180002f7c
lea rdx, str._s._08x
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rbx
call fcn.180005490
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
cmovae rdx, qword [rsp + 0x28]
mov r8d, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18002f426
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x28]
test eax, eax
je 0x18002f40e
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call fcn.180002940
cmp qword [rsp + 0x40], 8
jb 0x18002f407
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov eax, 1
jmp 0x18002f43a
cmp qword [rsp + 0x40], 8
mov r8d, edi
mov rdx, rbx
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp qword [rsp + 0x40], 8
jb 0x18002f438
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180059930
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18002f498
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
xor esi, esi
cmp rcx, rsi
jne 0x18002f4d7
xor eax, eax
jmp 0x18002f61b
cmp edx, esi
jne 0x18002f4ed
xor edx, edx
call fcn.180030080
cmp eax, esi
jne 0x18002f4ed
xor eax, eax
jmp 0x18002f61b
mov word [rsp + 0x70], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.180059f80
call fcn.180002f7c
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, str._s._08x
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, rdi
call fcn.18002f450
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.18002f25c
cmp eax, esi
jne 0x18002f60e
lea rcx, [rsp + 0x30]
call fcn.18002e4bc
nop
mov rcx, qword [rsp + 0x50]
sub rcx, qword [rsp + 0x48]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x18002f58f
lea rcx, [rsp + 0x30]
call fcn.1800321c4
mov rcx, qword [rsp + 0x30]
call fcn.1800018ec
jmp 0x18002f60e
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180037d54
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800321c4
mov rcx, qword [rsp + 0x30]
call fcn.1800018ec
cmp ebx, esi
je 0x18002f60e
mov ebx, esi
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x18002f5ea
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18002f334
jmp 0x18002f5ef
mov eax, 1
cmp eax, esi
jne 0x18002f607
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jl 0x18002f5bd
jmp 0x18002f60e
mov eax, 1
jmp 0x18002f61b
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180059930
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18002f6a0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rdi, rcx
mov ecx, 8
call fcn.1800590f8
xor ebx, ebx
cmp rax, rbx
je 0x18002f6da
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x18002f6dd
mov rax, rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x18002f80e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.18003c42c
cmp eax, ebx
jne 0x18002f80e
mov rax, qword [rsp + 0x38]
mov rdi, rax
mov rbp, qword [rsp + 0x40]
cmp rax, rbp
jbe 0x18002f738
call fcn.1800590d8
mov rbp, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
add rdi, 8
cmp rax, rbp
jbe 0x18002f74b
call fcn.1800590d8
cmp rsi, rbx
je 0x18002f757
cmp rsi, qword [rsp + 0x20]
je 0x18002f75c
call fcn.1800590d8
lea r12, [rdi - 8]
cmp r12, rbp
je 0x18002f80c
cmp rsi, rbx
jne 0x18002f778
call fcn.1800590d8
mov r11, rbx
jmp 0x18002f77b
mov r11, qword [rsi]
cmp r12, qword [r11 + 0x20]
jb 0x18002f786
call fcn.1800590d8
cmp qword [rdi + 0x18], 8
jb 0x18002f792
mov rcx, qword [rdi]
jmp 0x18002f795
mov rcx, rdi
call fcn.18002f640
cmp eax, ebx
jne 0x18002f805
cmp rsi, rbx
jne 0x18002f7ad
call fcn.1800590d8
mov r11, rbx
jmp 0x18002f7b0
mov r11, qword [rsi]
cmp r12, qword [r11 + 0x20]
jb 0x18002f7bb
call fcn.1800590d8
cmp qword [rdi + 0x18], 8
jb 0x18002f7c7
mov rcx, qword [rdi]
jmp 0x18002f7ca
mov rcx, rdi
xor edx, edx
call fcn.180030080
cmp eax, ebx
jne 0x18002f805
cmp rsi, rbx
jne 0x18002f7e4
call fcn.1800590d8
mov r11, rbx
jmp 0x18002f7e7
mov r11, qword [rsi]
cmp r12, qword [r11 + 0x20]
jb 0x18002f7f2
call fcn.1800590d8
add rdi, 0x28
mov rbp, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
jmp 0x18002f741
mov ebx, 1
jmp 0x18002f80e
jmp 0x18002f80e
lea rcx, [rsp + 0x20]
call fcn.180007bd4
mov rcx, qword [rsp + 0x20]
call fcn.1800018ec
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x18002fb7c
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov r12d, edx
mov rdi, rcx
xor r13d, r13d
cmp rcx, r13
je 0x18002fd2b
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r13d
je 0x18002fd2b
mov ebp, r13d
mov word [rsp + 0x70], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.180059f80
call fcn.180002f7c
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, str._s._08x
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, rdi
call fcn.18002f450
lea r14d, [r13 + 1]
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.18002e664
nop
mov rcx, qword [rsp + 0x50]
sub rcx, qword [rsp + 0x48]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x18002fc65
lea rcx, [rsp + 0x30]
call fcn.1800321c4
mov rcx, qword [rsp + 0x30]
call fcn.1800018ec
jmp 0x18002fcfc
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180037eb4
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800321c4
mov rcx, qword [rsp + 0x30]
call fcn.1800018ec
cmp ebx, r13d
je 0x18002fcfc
mov ebx, r13d
mov r8d, r14d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, r13d
jne 0x18002fcbd
mov r8d, r14d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18002f334
jmp 0x18002fcc0
mov eax, r14d
cmp eax, r13d
jne 0x18002fcda
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, r14d
cmp ebx, 5
jl 0x18002fc95
jmp 0x18002fcfc
mov ebp, r14d
mov edx, 2
cmp r12d, edx
jne 0x18002fcfc
mov rcx, rdi
call fcn.18002f83c
cmp eax, r13d
je 0x18002fcfc
cmp rsi, r13
je 0x18002fcfc
mov dword [rsi], r14d
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp r12d, r14d
jne 0x18002fd27
mov edx, r14d
mov rcx, rdi
call fcn.18002f83c
cmp eax, r13d
je 0x18002fd27
mov ebp, r14d
cmp rsi, r13
je 0x18002fd27
mov dword [rsi], r14d
mov eax, ebp
jmp 0x18002fd2d
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180059930
add rsp, 0x290
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800347cc
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x838
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov r8, rcx
lea r9, [r11 + 0x10]
lea rcx, [rsp + 0x20]
mov edx, 0x800
call qword [sym.imp.SHLWAPI.dll_wvnsprintfA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.180059930
add rsp, 0x838
ret