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

Disassembly:
test r8, r8
je 0x1400309f6
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 0x140030873
sub ecx, 1
je 0x140030864
cmp ecx, 1
jne 0x140030873
mov ecx, 0xfffffff4
jmp 0x140030869
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 0x1400308cd
xor ebx, ebx
test rbp, rbp
je 0x1400308f6
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 0x1400308f6
add rbx, 0x4000
cmp rbx, rbp
jb 0x140030885
jmp 0x1400308ee
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 0x1400309dc
cmp byte [rsi + 0x1c], 0
je 0x1400309dc
cmp dword [rsi + 0x14], 0
jne 0x1400309dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edi, eax
call fcn.140030054
lea rcx, [rsi + 0x1f]
mov r12, rax
call fcn.140030f08
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, rbp
jbe 0x140030966
mov rcx, r12
mov ebx, 0xffffffff
sub rcx, rbp
cmp rcx, rbx
ja 0x140030966
lea rax, [r12 + rbp]
cmp rax, rbx
jbe 0x140030966
lea r8, [rsi + 0x420]
lea rdx, [rsi + 0x1f]
lea rcx, [0x1400ec668]
call fcn.1400289c4
lea r8, [rsi + 0x420]
lea rdx, [rsi + 0x1f]
lea rcx, [0x1400ec668]
xor r9d, r9d
call fcn.140028a48
test al, al
je 0x1400309bb
mov ecx, dword [rsp + 0x70]
cmp rcx, rbp
jae 0x140030873
test ecx, ecx
je 0x140030873
mov rcx, rsi
call fcn.140030054
mov ecx, dword [rsp + 0x70]
xor r8d, r8d
sub rax, rcx
mov rcx, rsi
mov rdx, rax
call fcn.1400307bc
jmp 0x140030873
lea rax, [rsi + 0x420]
lea r9, [rsi + 0x1f]
lea rcx, [0x1400ec668]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140028f1c
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 0x140030e34
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.14005291c
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 0x140030e7e
cmp eax, 5
je 0x140030e7e
xor eax, eax
jmp 0x140030e83
mov eax, 1
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x438
ret
Function at 0x140030e9c
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.140053e34
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 0x140030ee8
cmp eax, 5
je 0x140030ee8
xor eax, eax
jmp 0x140030eed
mov eax, 1
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x838
ret

Function at 0x140030f08
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.14005291c
cmp qword [0x1400ea028], 0
jne 0x140030f71
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140030f65
lea rdx, str.GetDiskFreeSpaceExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ea028], rax
jmp 0x140030f6c
mov rax, qword [0x1400ea028]
test rax, rax
je 0x140030fcf
lea rdx, [rsp + 0x60]
mov r8d, 0x400
mov rcx, rbx
call fcn.140052fe4
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 0x140030fcf
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x4c]
ja 0x140030fcf
mov ecx, dword [rsp + 0x30]
shl rax, 0x20
add rax, rcx
jmp 0x140031020
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 0x14003100f
movabs rax, 0x163e00
jmp 0x140031020
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.1400a86e0
add rsp, 0x470
pop rbx
ret

Function at 0x14003103c
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.14005291c
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 0x1400310d4
lea rsi, [rsp + 0x40]
lea rdi, [0x1400c5a44]
lea ecx, [rbx + 4]
repe cmpsb byte [rsi], byte [rdi]
je 0x1400310cb
lea rsi, [rsp + 0x40]
lea rdi, str.FAT32
lea ecx, [rbx + 6]
repe cmpsb byte [rsi], byte [rdi]
jne 0x1400310d0
mov ebx, 1
mov al, bl
jmp 0x1400310d6
xor al, al
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1400a86e0
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400310fc
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.14003ed2c
xor ebx, ebx
cmp eax, ebx
je 0x140031137
cmp rdi, rbx
je 0x140031137
cmp word [rdi], bx
je 0x140031137
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
jmp 0x140031151
cmp rsi, rbx
je 0x14003114f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14003114f
mov ebx, 1
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

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

Function at 0x1400311a0
Capabilities:
Get file attributes

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

Function at 0x140031334
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x1030
call fcn.1400baa60
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.14003ed2c
xor r13d, r13d
cmp eax, r13d
je 0x1400313cd
cmp rbx, r13
je 0x14003137e
cmp word [rbx], r13w
jne 0x140031389
cmp rdi, r13
je 0x1400313cd
cmp word [rdi], r13w
je 0x1400313cd
lea r8, [rsp + 0x820]
mov r9d, 0x400
mov rdx, rbx
mov rcx, rsi
call fcn.1400529c4
lea r8, [rsp + 0x20]
mov r9d, 0x400
mov rdx, rdi
mov rcx, rbp
call fcn.1400529c4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x820]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x1400313d9
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.1400a86e0
add rsp, 0x1030
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140031400
Capabilities:
Delete file

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

Function at 0x140031424
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.14003ed2c
xor esi, esi
cmp eax, esi
je 0x140031459
cmp rbx, rsi
je 0x140031459
cmp word [rbx], si
je 0x140031459
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140031462
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 0x140031478
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.14003ed2c
xor esi, esi
cmp eax, esi
je 0x1400314ad
cmp rbx, rsi
je 0x1400314ad
cmp word [rbx], si
je 0x1400314ad
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400314b6
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 0x14003159c
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 0x140031604
cmp byte [rcx], r13b
je 0x140031604
mov r11, r8
mov r10, rcx
sub r11, rcx
mov al, byte [r10]
mov byte [r11 + r10], al
inc r10
cmp al, r13b
jne 0x1400315d6
mov rcx, r8
call fcn.140052a60
mov rcx, qword [str.__rar_tmp]
mov qword [rax], rcx
movzx ecx, word [0x1400c5a70]
mov word [rax + 8], cx
jmp 0x14003160c
cmp r8, r13
je 0x14003160c
mov byte [r8], r13b
cmp rbx, r13
je 0x140031657
cmp word [rbx], r13w
je 0x140031657
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 0x140031620
mov rcx, rdi
lea rbp, [0x1400c5a50]
call fcn.140052af8
movzx ecx, word [rbp]
add rbp, 2
mov word [rax], cx
add rax, 2
cmp cx, r13w
jne 0x140031640
jmp 0x140031660
cmp rdi, r13
je 0x140031660
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.140031334

Function at 0x140031a30
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.14003ed2c
xor r12d, r12d
cmp eax, r12d
je 0x140031a7a
cmp rbx, r12
je 0x140031a7a
cmp word [rbx], r12w
je 0x140031a7a
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x140031a8a
cmp rdi, r12
je 0x140031abb
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, r12d
je 0x140031aa6
cmp sil, r12b
je 0x140031aa2
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1400311e4
xor eax, eax
jmp 0x140031ac0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140031abb
cmp eax, 3
mov eax, 1
jne 0x140031ac0
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 0x1400320e4
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.140063a48
nop
mov ebx, 0x10000
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140001700
nop
xor r12d, r12d
or esi, 0xffffffff
mov rcx, r13
call fcn.140030138
mov r15, rax
cmp qword [0x1400fec08], r12
je 0x140032185
mov edx, 0x200
lea rcx, [rsp + 0x60]
call fcn.14008781c
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.1400307bc
movabs rax, 0x7fffffff7fffffff
jmp 0x1400321a3
mov ebx, 0x10000
cmp rdi, rax
jne 0x1400321ad
mov r8, rbx
jmp 0x1400321b7
mov r8, rdi
cmp rdi, rbx
cmovg r8, rbx
mov rdx, qword [rsp + 0x20]
mov rcx, r13
call fcn.1400309f8
movsxd r14, eax
test eax, eax
je 0x14003225d
inc r12
test r12b, 0xf
jne 0x14003222c
cmp qword [0x1400fec08], 0
je 0x140032227
mov rcx, r12
shl rcx, 0x10
mov rdx, r15
call fcn.14006adb8
mov ebx, eax
mov ecx, 0x51e
call fcn.140061d94
mov r8, rax
mov r9d, ebx
mov edx, 0x200
lea rcx, [rsp + 0x460]
call fcn.1400287d0
lea rcx, [rsp + 0x460]
call fcn.14008782c
call fcn.140087f58
call fcn.14006c088
mov r8, r14
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.140020624
mov esi, eax
movabs rax, 0x7fffffff7fffffff
cmp rdi, rax
je 0x14003219e
sub rdi, r14
mov ebx, 0x10000
jmp 0x1400321a3
cmp qword [0x1400fec08], 0
je 0x140032283
lea rcx, [rsp + 0x60]
call fcn.14008782c
lea rcx, [rsp + 0x860]
call fcn.1400877dc
call fcn.140087f58
not esi
cmp qword [rsp + 0x20], 0
je 0x140032298
mov rcx, qword [rsp + 0x20]
call fcn.1400a8854
nop
lea rcx, [rsp + 0x40]
call fcn.140063a80
mov eax, esi
mov rcx, qword [rsp + 0xc60]
xor rcx, rsp
call fcn.1400a86e0
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 0x1400322d4
Capabilities:
Delete file

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

Function at 0x1400322f8
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 0x14003234b
mov qword [rcx + 0x18], rbx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.1400a9314
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 0x14003234d
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140032ea0
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.1400a879c
mov rbx, rax
test rax, rax
jne 0x140032ede
lea eax, [rbx + 4]
jmp 0x140032fb0
xor edi, edi
cmp esi, 0xffffffff
je 0x140032eee
cmp rdi, rsi
jae 0x140032fa6
call fcn.140047564
cmp byte [0x1400ec670], 0
je 0x140032f05
cmp byte [0x1400ffcf0], 0
jne 0x140032f56
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.1400aa184
mov rbp, rax
test rax, rax
je 0x140032f8b
mov r9, r13
mov r8, rax
mov edx, 1
mov rcx, rbx
call fcn.1400aa848
cmp rax, rbp
jne 0x140032f5d
add rdi, rbp
mov ebp, 0x10000
jmp 0x140032ee0
mov eax, 9
jmp 0x140032fb0
mov rcx, rbx
call fcn.1400a8854
mov rdx, qword [0x1400ec6e8]
and qword [rsp + 0x20], 0
lea rcx, [0x1400ec668]
mov r9, rdx
xor r8d, r8d
call fcn.140028dfc
mov eax, 0xa
jmp 0x140032fb0
mov rcx, r12
call fcn.1400abc04
test eax, eax
je 0x140032fa6
mov rcx, rbx
call fcn.1400a8854
mov eax, 0xb
jmp 0x140032fb0
mov rcx, rbx
call fcn.1400a8854
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 0x140032fcc
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.1400baa60
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 0x140033027
add rax, r14
test edx, edx
jne 0x140033014
test ecx, ecx
jne 0x140033032
xor eax, eax
jmp 0x14003321d
xor r12b, r12b
lea rdx, [rsp + 0xc70]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsx ecx, byte [rsp + 0xc70]
call fcn.1400a9c5c
mov r13d, eax
mov al, 0x5c
cmp byte [rsp + 0xc70], al
je 0x140033097
cmp byte [rsi], al
je 0x140033097
cmp byte [rdi], al
je 0x140033097
movsx ecx, byte [rsi]
call fcn.1400a9c5c
mov ebx, eax
movsx ecx, byte [rdi]
call fcn.1400a9c5c
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.1400310fc
test al, al
je 0x14003311e
lea rcx, [rsp + 0x40]
call fcn.14002fddc
nop
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov r8, rbp
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400301ec
test al, al
je 0x14003310a
lea rcx, [rsp + 0x40]
call fcn.14002fe54
test al, al
je 0x14003310a
mov rdx, rbp
mov rcx, rdi
call fcn.140031424
test al, al
jne 0x1400330fe
lea rcx, [rsp + 0x40]
call fcn.1400301b8
mov eax, 0xf
jmp 0x14003321d
lea rcx, [rsp + 0x40]
call fcn.1400301b8
jmp 0x14003311e
lea rcx, [rsp + 0x40]
call fcn.1400301b8
mov eax, 0xf
jmp 0x14003321d
test r12b, r12b
jne 0x140033140
mov r9, rbp
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.140031334
test al, al
sete al
test al, al
je 0x1400331fc
lea rdx, [0x1400c378c]
mov rcx, rsi
call fcn.1400abd74
mov r12, rax
test rax, rax
jne 0x140033183
and qword [rsp + 0x20], rax
mov r9, rsi
mov r8, qword [0x1400ec6e0]
mov rdx, qword [0x1400ec6e8]
lea rcx, [0x1400ec668]
call fcn.140028bf4
lea eax, [r12 + 0xa]
jmp 0x14003321d
xor r9d, r9d
lea r8, [0x1400c40f8]
mov rdx, rbp
mov rcx, rdi
call fcn.1400318d0
mov r13, rax
test rax, rax
jne 0x1400331ae
mov rcx, r12
call fcn.1400aa5c0
lea eax, [r13 + 0xf]
jmp 0x14003321d
xor edx, edx
lea rcx, [0x1400ec668]
call fcn.1400286b0
or r8d, 0xffffffff
mov rdx, r13
mov rcx, r12
call fcn.140032ea0
mov ebx, eax
mov rcx, r12
call fcn.1400aa5c0
mov dl, r14b
lea rcx, [0x1400ec668]
call fcn.1400286b0
mov rcx, r13
call fcn.1400aa5c0
test eax, eax
jne 0x140033200
test ebx, ebx
jne 0x140033200
mov rcx, rsi
call fcn.1400322d4
xor eax, eax
jmp 0x14003321d
mov rdx, rbp
mov rcx, rdi
call fcn.140031424
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.1400a86e0
add rsp, 0x1080
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140033600
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [0x1400fd8f0], 0
je 0x14003361b
or eax, 0xffffffff
jmp 0x14003373c
mov rax, qword [0x1400ecbb0]
test rax, rax
jg 0x14003363b
dec rax
mov qword [0x1400ecbb0], rax
and qword [0x1400fd800], 0
jmp 0x140033613
mov rbx, qword [0x1400fd800]
test rbx, rbx
jg 0x14003368f
mov rcx, qword [0x1400fd7f0]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400333d0
movsxd rcx, eax
mov qword [0x1400fd800], rcx
test eax, eax
je 0x1400336c5
cmp rcx, 0xffffffffffffffff
je 0x1400336cf
mov rax, qword [0x1400fd7f0]
add qword [0x1400fd830], rbx
mov qword [0x1400fd7f8], rax
call fcn.140033370
mov rbx, qword [0x1400fd800]
mov rax, qword [0x1400ed7d8]
test byte [rax + 0x28], 1
je 0x140033721
cmp byte [0x1400fea19], 0
je 0x1400336f6
test rbx, rbx
je 0x140033721
mov rcx, qword [0x1400fd7f8]
lea r8, [0x1400fea20]
mov edx, ebx
call fcn.140030dd4
jmp 0x14003371a
cmp rcx, 0xffffffffffffffff
jne 0x140033631
lea rdx, [0x14010e31c]
lea r8, [0x14010e71c]
lea rcx, [0x1400ec668]
mov r9, rdx
mov qword [rsp + 0x20], r8
call fcn.140028d54
jmp 0x140033631
mov rdi, qword [0x1400fd7f8]
test rbx, rbx
je 0x140033721
call fcn.1400735c4
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400735e4
inc rdi
sub rbx, 1
jne 0x140033702
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 0x140037158
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 0x1400371ee
cmp eax, 0x40
jbe 0x14003719b
lea rdx, [r8 + 0x40]
mov rcx, r8
call fcn.14006ac2c
mov dword [rdi + 0x9c], 0x14
mov ecx, dword [rdi + 0x9c]
mov r8d, 0x40
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.1400a9314
mov r11, rdi
mov eax, 0x10
xor dword [r11], 0x36363636
add r11, 4
sub rax, 1
jne 0x1400371bc
lea rcx, [rdi + 0x40]
call fcn.14006ab68
lea r8, [rdi + 0x40]
mov edx, 0x40
mov rcx, rdi
call fcn.14006ab94
or dword [rdi + 0x9c], 0xffffffff
test esi, esi
je 0x140037200
lea r8, [rdi + 0x40]
mov edx, esi
mov rcx, rbp
call fcn.14006ab94
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140037218
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 0x14003724e
xor edx, edx
xor ecx, ecx
call fcn.140037158
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14006ac2c
mov r11, rbx
mov eax, 0x10
xor dword [r11], 0x6a6a6a6a
add r11, 4
sub rax, 1
jne 0x140037264
lea rcx, [rbx + 0x40]
call fcn.14006ab68
lea r8, [rbx + 0x40]
mov edx, 0x40
mov rcx, rbx
call fcn.14006ab94
lea r8, [rbx + 0x40]
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.14006ab94
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14006ac2c
test esi, esi
je 0x1400372c4
lea rdx, [rsp + 0x20]
mov r8, rsi
mov rcx, rbp
call fcn.1400a8fe0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140038afc
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.1400a9554
mov rdi, rax
test rax, rax
jne 0x140038b2c
lea eax, [rdi + 1]
jmp 0x140038b9c
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov r12d, eax
mov ebp, 0x800000
jmp 0x140038b7c
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 0x140038b46
dec esi
dec ebp
inc rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, 0xc8
jb 0x140038b40
mov rcx, rdi
call fcn.1400a93c8
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