joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400307d0
Capabilities:
Write file on windows

Disassembly:
test r8, r8
je 0x1400309a2
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rsi, rcx
mov ecx, dword [rcx + 0x14]
mov rbp, r8
mov r14, rdx
test ecx, ecx
je 0x14003081f
sub ecx, 1
je 0x140030810
cmp ecx, 1
jne 0x14003081f
mov ecx, 0xfffffff4
jmp 0x140030815
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsi + 8], rax
and dword [rsp + 0x70], 0
cmp dword [rsi + 0x14], 0
je 0x140030879
xor ebx, ebx
test rbp, rbp
je 0x1400308a2
mov r8d, 0x4000
mov eax, ebp
mov rcx, rbp
sub rcx, rbx
sub eax, ebx
lea rdx, [rbx + r14]
cmp rcx, r8
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x70]
cmovb r8d, eax
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
je 0x1400308a2
add rbx, 0x4000
cmp rbx, rbp
jb 0x140030831
jmp 0x14003089a
mov rcx, qword [rsi + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, ebp
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
jne 0x140030988
cmp byte [rsi + 0x1c], 0
je 0x140030988
cmp dword [rsi + 0x14], 0
jne 0x140030988
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edi, eax
call fcn.140030000
lea rcx, [rsi + 0x1f]
mov r12, rax
call fcn.140030eb4
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, rbp
jbe 0x140030912
mov rcx, r12
mov ebx, 0xffffffff
sub rcx, rbp
cmp rcx, rbx
ja 0x140030912
lea rax, [r12 + rbp]
cmp rax, rbx
jbe 0x140030912
lea r8, [rsi + 0x420]
lea rdx, [rsi + 0x1f]
lea rcx, [0x1400ec668]
call fcn.140028970
lea r8, [rsi + 0x420]
lea rdx, [rsi + 0x1f]
lea rcx, [0x1400ec668]
xor r9d, r9d
call fcn.1400289f4
test al, al
je 0x140030967
mov ecx, dword [rsp + 0x70]
cmp rcx, rbp
jae 0x14003081f
test ecx, ecx
je 0x14003081f
mov rcx, rsi
call fcn.140030000
mov ecx, dword [rsp + 0x70]
xor r8d, r8d
sub rax, rcx
mov rcx, rsi
mov rdx, rax
call fcn.140030768
jmp 0x14003081f
lea rax, [rsi + 0x420]
lea r9, [rsi + 0x1f]
lea rcx, [0x1400ec668]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140028ec8
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov byte [rsi + 0x10], 1
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140030de0
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x438
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea rdx, [rsp + 0x20]
call fcn.1400528e0
mov r11b, byte [rsp + 0x20]
lea rax, [rsp + 0x20]
neg r11b
sbb rcx, rcx
and rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x140030e2a
cmp eax, 5
je 0x140030e2a
xor eax, eax
jmp 0x140030e2f
mov eax, 1
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x438
ret
Function at 0x140030e48
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x838
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x820], rax
lea rdx, [rsp + 0x20]
call fcn.140053df8
movzx r11d, word [rsp + 0x20]
lea rax, [rsp + 0x20]
neg r11w
sbb rcx, rcx
and rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x140030e94
cmp eax, 5
je 0x140030e94
xor eax, eax
jmp 0x140030e99
mov eax, 1
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x838
ret

Function at 0x140030eb4
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rdx, [rsp + 0x60]
mov rbx, rcx
call fcn.1400528e0
cmp qword [0x1400ea028], 0
jne 0x140030f1d
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140030f11
lea rdx, str.GetDiskFreeSpaceExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ea028], rax
jmp 0x140030f18
mov rax, qword [0x1400ea028]
test rax, rax
je 0x140030f7b
lea rdx, [rsp + 0x60]
mov r8d, 0x400
mov rcx, rbx
call fcn.140052fa8
mov al, byte [rsp + 0x60]
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
neg al
lea rax, [rsp + 0x60]
sbb rcx, rcx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
and rcx, rax
call qword [0x1400ea028]
test eax, eax
je 0x140030f7b
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x4c]
ja 0x140030f7b
mov ecx, dword [rsp + 0x30]
shl rax, 0x20
add rax, rcx
jmp 0x140030fcc
mov al, byte [rsp + 0x60]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x38]
neg al
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x40]
sbb rcx, rcx
and rcx, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x140030fbb
movabs rax, 0x163e00
jmp 0x140030fcc
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x38]
imul rax, rcx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x470
pop rbx
ret

Function at 0x140030fe8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x560
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x550], rax
lea rdx, [rsp + 0x150]
call fcn.1400528e0
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor ebx, ebx
lea rcx, [rsp + 0x150]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, ebx
je 0x140031080
lea rsi, [rsp + 0x40]
lea rdi, [0x1400c5a44]
lea ecx, [rbx + 4]
repe cmpsb byte [rsi], byte [rdi]
je 0x140031077
lea rsi, [rsp + 0x40]
lea rdi, str.FAT32
lea ecx, [rbx + 6]
repe cmpsb byte [rsi], byte [rdi]
jne 0x14003107c
mov ebx, 1
mov al, bl
jmp 0x140031082
xor al, al
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400310a8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call fcn.14003ec88
xor ebx, ebx
cmp eax, ebx
je 0x1400310e3
cmp rdi, rbx
je 0x1400310e3
cmp word [rdi], bx
je 0x1400310e3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
jmp 0x1400310fd
cmp rsi, rbx
je 0x1400310fb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400310fb
mov ebx, 1
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140031110
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rdx, rcx
xor ecx, ecx
jmp fcn.1400310a8

Function at 0x140031144
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14003ec88
xor ecx, ecx
cmp eax, ecx
je 0x140031174
cmp rbx, rcx
je 0x140031174
cmp word [rbx], cx
je 0x140031174
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x14003117d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400312d8
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x1030
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14003ec88
xor r13d, r13d
cmp eax, r13d
je 0x140031371
cmp rbx, r13
je 0x140031322
cmp word [rbx], r13w
jne 0x14003132d
cmp rdi, r13
je 0x140031371
cmp word [rdi], r13w
je 0x140031371
lea r8, [rsp + 0x820]
mov r9d, 0x400
mov rdx, rbx
mov rcx, rsi
call fcn.140052988
lea r8, [rsp + 0x20]
mov r9d, 0x400
mov rdx, rdi
mov rcx, rbp
call fcn.140052988
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x820]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14003137d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, r13d
setne al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x1030
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400313a4
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp rcx, rbx
je 0x1400313c0
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
je 0x1400313c0
mov ebx, 1
mov al, bl
add rsp, 0x20
pop rbx
ret

Function at 0x1400313c8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14003ec88
xor esi, esi
cmp eax, esi
je 0x1400313fd
cmp rbx, rsi
je 0x1400313fd
cmp word [rbx], si
je 0x1400313fd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140031406
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rbx, qword [rsp + 0x30]
cmp eax, esi
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x14003141c
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14003ec88
xor esi, esi
cmp eax, esi
je 0x140031451
cmp rbx, rsi
je 0x140031451
cmp word [rbx], si
je 0x140031451
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14003145a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov rbx, qword [rsp + 0x30]
cmp eax, esi
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x140031540
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor r13d, r13d
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r12, rcx
cmp rcx, r13
je 0x1400315a8
cmp byte [rcx], r13b
je 0x1400315a8
mov r11, r8
mov r10, rcx
sub r11, rcx
mov al, byte [r10]
mov byte [r11 + r10], al
inc r10
cmp al, r13b
jne 0x14003157a
mov rcx, r8
call fcn.140052a24
mov rcx, qword [str.__rar_tmp]
mov qword [rax], rcx
movzx ecx, word [0x1400c5a70]
mov word [rax + 8], cx
jmp 0x1400315b0
cmp r8, r13
je 0x1400315b0
mov byte [r8], r13b
cmp rbx, r13
je 0x1400315fb
cmp word [rbx], r13w
je 0x1400315fb
mov rdx, rdi
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, r13w
jne 0x1400315c4
mov rcx, rdi
lea rbp, [0x1400c5a50]
call fcn.140052abc
movzx ecx, word [rbp]
add rbp, 2
mov word [rax], cx
add rax, 2
cmp cx, r13w
jne 0x1400315e4
jmp 0x140031604
cmp rdi, r13
je 0x140031604
mov word [rdi], r13w
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, r12
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.1400312d8

Function at 0x1400319d4
Capabilities:
Check if file exists
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov ebp, r9d
mov sil, r8b
mov rbx, rdx
mov rdi, rcx
call fcn.14003ec88
xor r12d, r12d
cmp eax, r12d
je 0x140031a1e
cmp rbx, r12
je 0x140031a1e
cmp word [rbx], r12w
je 0x140031a1e
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x140031a2e
cmp rdi, r12
je 0x140031a5f
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, r12d
je 0x140031a4a
cmp sil, r12b
je 0x140031a46
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.140031188
xor eax, eax
jmp 0x140031a64
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140031a5f
cmp eax, 3
mov eax, 1
jne 0x140031a64
mov eax, 2
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140032088
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0xc60], rax
mov rdi, rdx
mov r13, rcx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400639e0
nop
mov ebx, 0x10000
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000b858
nop
xor r12d, r12d
or esi, 0xffffffff
mov rcx, r13
call fcn.1400300e4
mov r15, rax
cmp qword [0x1400fec08], r12
je 0x140032129
mov edx, 0x200
lea rcx, [rsp + 0x60]
call fcn.14008768c
mov r8d, 0x200
lea rdx, [rsp + 0x860]
mov rcx, qword [0x1400fec08]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.140030768
movabs rax, 0x7fffffff7fffffff
jmp 0x140032147
mov ebx, 0x10000
cmp rdi, rax
jne 0x140032151
mov r8, rbx
jmp 0x14003215b
mov r8, rdi
cmp rdi, rbx
cmovg r8, rbx
mov rdx, qword [rsp + 0x20]
mov rcx, r13
call fcn.1400309a4
movsxd r14, eax
test eax, eax
je 0x140032201
inc r12
test r12b, 0xf
jne 0x1400321d0
cmp qword [0x1400fec08], 0
je 0x1400321cb
mov rcx, r12
shl rcx, 0x10
mov rdx, r15
call fcn.14006ace0
mov ebx, eax
mov ecx, 0x51e
call fcn.140061d2c
mov r8, rax
mov r9d, ebx
mov edx, 0x200
lea rcx, [rsp + 0x460]
call fcn.14005b860
lea rcx, [rsp + 0x460]
call fcn.14008769c
call fcn.140087dc8
call fcn.14006bfb0
mov r8, r14
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.1400205fc
mov esi, eax
movabs rax, 0x7fffffff7fffffff
cmp rdi, rax
je 0x140032142
sub rdi, r14
mov ebx, 0x10000
jmp 0x140032147
cmp qword [0x1400fec08], 0
je 0x140032227
lea rcx, [rsp + 0x60]
call fcn.14008769c
lea rcx, [rsp + 0x860]
call fcn.14008764c
call fcn.140087dc8
not esi
cmp qword [rsp + 0x20], 0
je 0x14003223c
mov rcx, qword [rsp + 0x20]
call fcn.1400a86a4
nop
lea rcx, [rsp + 0x40]
call fcn.140063a18
mov eax, esi
mov rcx, qword [rsp + 0xc60]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0xc70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140032278
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14003ec88
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
add rsp, 0x20
pop rbx
ret

Function at 0x14003229c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x18], rbx
jbe 0x1400322ef
mov qword [rcx + 0x18], rbx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.1400a9164
mov rcx, qword [rdi]
lea eax, [rbx + 0x54]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, ebx
sete al
jmp 0x1400322f1
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140032e44
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rcx
mov ebp, 0x10000
mov esi, r8d
mov rcx, rbp
mov r13, rdx
call fcn.1400a85ec
mov rbx, rax
test rax, rax
jne 0x140032e82
lea eax, [rbx + 4]
jmp 0x140032f54
xor edi, edi
cmp esi, 0xffffffff
je 0x140032e92
cmp rdi, rsi
jae 0x140032f4a
call fcn.1400474ec
cmp byte [0x1400ec670], 0
je 0x140032ea9
cmp byte [0x1400ffcf0], 0
jne 0x140032efa
mov rax, rsi
mov r8, rbp
mov r9, r12
sub rax, rdi
mov edx, 1
mov rcx, rbx
cmp rax, rbp
cmovb r8, rax
cmp esi, 0xffffffff
cmove r8, rbp
call fcn.1400a9fd4
mov rbp, rax
test rax, rax
je 0x140032f2f
mov r9, r13
mov r8, rax
mov edx, 1
mov rcx, rbx
call fcn.1400aa698
cmp rax, rbp
jne 0x140032f01
add rdi, rbp
mov ebp, 0x10000
jmp 0x140032e84
mov eax, 9
jmp 0x140032f54
mov rcx, rbx
call fcn.1400a86a4
mov rdx, qword [0x1400ec6e8]
and qword [rsp + 0x20], 0
lea rcx, [0x1400ec668]
mov r9, rdx
xor r8d, r8d
call fcn.140028da8
mov eax, 0xa
jmp 0x140032f54
mov rcx, r12
call fcn.1400aba54
test eax, eax
je 0x140032f4a
mov rcx, rbx
call fcn.1400a86a4
mov eax, 0xb
jmp 0x140032f54
mov rcx, rbx
call fcn.1400a86a4
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x140032f70
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1080
call fcn.1400ba8b0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov rax, rcx
sub r8, rcx
mov r14d, 1
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x140032fcb
add rax, r14
test edx, edx
jne 0x140032fb8
test ecx, ecx
jne 0x140032fd6
xor eax, eax
jmp 0x1400331c1
xor r12b, r12b
lea rdx, [rsp + 0xc70]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsx ecx, byte [rsp + 0xc70]
call fcn.1400a9aac
mov r13d, eax
mov al, 0x5c
cmp byte [rsp + 0xc70], al
je 0x14003303b
cmp byte [rsi], al
je 0x14003303b
cmp byte [rdi], al
je 0x14003303b
movsx ecx, byte [rsi]
call fcn.1400a9aac
mov ebx, eax
movsx ecx, byte [rdi]
call fcn.1400a9aac
cmp byte [rsi + 1], 0x3a
cmovne ebx, r13d
cmp byte [rdi + 1], 0x3a
cmovne eax, r13d
movzx r12d, r12b
cmp ebx, eax
cmovne r12d, r14d
mov rdx, rbp
mov rcx, rdi
call fcn.1400310a8
test al, al
je 0x1400330c2
lea rcx, [rsp + 0x40]
call fcn.14002fd88
nop
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov r8, rbp
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140030198
test al, al
je 0x1400330ae
lea rcx, [rsp + 0x40]
call fcn.14002fe00
test al, al
je 0x1400330ae
mov rdx, rbp
mov rcx, rdi
call fcn.1400313c8
test al, al
jne 0x1400330a2
lea rcx, [rsp + 0x40]
call fcn.140030164
mov eax, 0xf
jmp 0x1400331c1
lea rcx, [rsp + 0x40]
call fcn.140030164
jmp 0x1400330c2
lea rcx, [rsp + 0x40]
call fcn.140030164
mov eax, 0xf
jmp 0x1400331c1
test r12b, r12b
jne 0x1400330e4
mov r9, rbp
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1400312d8
test al, al
sete al
test al, al
je 0x1400331a0
lea rdx, [0x1400c378c]
mov rcx, rsi
call fcn.1400abbc4
mov r12, rax
test rax, rax
jne 0x140033127
and qword [rsp + 0x20], rax
mov r9, rsi
mov r8, qword [0x1400ec6e0]
mov rdx, qword [0x1400ec6e8]
lea rcx, [0x1400ec668]
call fcn.140028ba0
lea eax, [r12 + 0xa]
jmp 0x1400331c1
xor r9d, r9d
lea r8, [0x1400c40f8]
mov rdx, rbp
mov rcx, rdi
call fcn.140031874
mov r13, rax
test rax, rax
jne 0x140033152
mov rcx, r12
call fcn.1400aa410
lea eax, [r13 + 0xf]
jmp 0x1400331c1
xor edx, edx
lea rcx, [0x1400ec668]
call fcn.140028680
or r8d, 0xffffffff
mov rdx, r13
mov rcx, r12
call fcn.140032e44
mov ebx, eax
mov rcx, r12
call fcn.1400aa410
mov dl, r14b
lea rcx, [0x1400ec668]
call fcn.140028680
mov rcx, r13
call fcn.1400aa410
test eax, eax
jne 0x1400331a4
test ebx, ebx
jne 0x1400331a4
mov rcx, rsi
call fcn.140032278
xor eax, eax
jmp 0x1400331c1
mov rdx, rbp
mov rcx, rdi
call fcn.1400313c8
mov ecx, ebx
mov eax, 0xe
cmp ebx, 0xa
cmove ecx, eax
test ebx, ebx
cmovne eax, ecx
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x1080
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400335a4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [0x1400fd8f0], 0
je 0x1400335bf
or eax, 0xffffffff
jmp 0x1400336e0
mov rax, qword [0x1400ecbb0]
test rax, rax
jg 0x1400335df
dec rax
mov qword [0x1400ecbb0], rax
and qword [0x1400fd800], 0
jmp 0x1400335b7
mov rbx, qword [0x1400fd800]
test rbx, rbx
jg 0x140033633
mov rcx, qword [0x1400fd7f0]
mov ebx, 0x2000
mov edx, ebx
call fcn.140033374
movsxd rcx, eax
mov qword [0x1400fd800], rcx
test eax, eax
je 0x140033669
cmp rcx, 0xffffffffffffffff
je 0x140033673
mov rax, qword [0x1400fd7f0]
add qword [0x1400fd830], rbx
mov qword [0x1400fd7f8], rax
call fcn.140033314
mov rbx, qword [0x1400fd800]
mov rax, qword [0x1400ed7d8]
test byte [rax + 0x28], 1
je 0x1400336c5
cmp byte [0x1400fea19], 0
je 0x14003369a
test rbx, rbx
je 0x1400336c5
mov rcx, qword [0x1400fd7f8]
lea r8, [0x1400fea20]
mov edx, ebx
call fcn.140030d80
jmp 0x1400336be
cmp rcx, 0xffffffffffffffff
jne 0x1400335d5
lea rdx, [0x14010e2bc]
lea r8, [0x14010e6bc]
lea rcx, [0x1400ec668]
mov r9, rdx
mov qword [rsp + 0x20], r8
call fcn.140028d00
jmp 0x1400335d5
mov rdi, qword [0x1400fd7f8]
test rbx, rbx
je 0x1400336c5
call fcn.140073438
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140073458
inc rdi
sub rbx, 1
jne 0x1400336a6
mov rbx, qword [0x1400fd800]
mov rax, qword [0x1400fd7f8]
dec rbx
mov qword [0x1400fd800], rbx
movzx eax, byte [rax]
inc qword [0x1400fd7f8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400370f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [r8 + 0x9c]
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp eax, 0xffffffff
je 0x140037186
cmp eax, 0x40
jbe 0x140037133
lea rdx, [r8 + 0x40]
mov rcx, r8
call fcn.14006ab54
mov dword [rdi + 0x9c], 0x14
mov ecx, dword [rdi + 0x9c]
mov r8d, 0x40
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.1400a9164
mov r11, rdi
mov eax, 0x10
xor dword [r11], 0x36363636
add r11, 4
sub rax, 1
jne 0x140037154
lea rcx, [rdi + 0x40]
call fcn.14006aa90
lea r8, [rdi + 0x40]
mov edx, 0x40
mov rcx, rdi
call fcn.14006aabc
or dword [rdi + 0x9c], 0xffffffff
test esi, esi
je 0x140037198
lea r8, [rdi + 0x40]
mov edx, esi
mov rcx, rbp
call fcn.14006aabc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400371b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [r8 + 0x9c], 0xffffffff
mov rbx, r8
mov esi, edx
mov rbp, rcx
je 0x1400371e6
xor edx, edx
xor ecx, ecx
call fcn.1400370f0
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14006ab54
mov r11, rbx
mov eax, 0x10
xor dword [r11], 0x6a6a6a6a
add r11, 4
sub rax, 1
jne 0x1400371fc
lea rcx, [rbx + 0x40]
call fcn.14006aa90
lea r8, [rbx + 0x40]
mov edx, 0x40
mov rcx, rbx
call fcn.14006aabc
lea r8, [rbx + 0x40]
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.14006aabc
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14006ab54
test esi, esi
je 0x14003725c
lea rdx, [rsp + 0x20]
mov r8, rsi
mov rcx, rbp
call fcn.1400a8e30
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140038a94
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov ecx, 0x1000000
call fcn.1400a93a4
mov rdi, rax
test rax, rax
jne 0x140038ac4
lea eax, [rdi + 1]
jmp 0x140038b34
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov r12d, eax
mov ebp, 0x800000
jmp 0x140038b14
mov r8d, 0x10000
and ebp, 0xffffff
and esi, 0xffffff
dec r8d
movsxd rdx, ebp
movsxd rax, esi
sub esi, 0x100
mov cl, byte [rdx + rdi]
sub ebp, 0x100
mov byte [rax + rdi], cl
xor byte [rdx + rdi], cl
test r8d, r8d
jg 0x140038ade
dec esi
dec ebp
inc rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, 0xc8
jb 0x140038ad8
mov rcx, rdi
call fcn.1400a9218
imul rbx, rbx, 0x64
lea rax, [rbx + 1]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret