joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011e4c0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x178
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov r14, r9
mov rcx, qword [rcx + 8]
mov rbp, r8
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x14011e602
xor edx, edx
mov qword [rsp + 0x170], rdi
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.14018f1e0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x60]
mov r8d, 0x80
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rbx]
lea rcx, vtable.RT::CButton.0
mov rdi, qword [rbx + 0x100]
cmp rax, rcx
jne 0x14011e61f
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x14011e55f
lea ecx, [rax + 0x11]
call qword [sym.imp.USER32.dll_GetSysColor]
mov edi, eax
xor r8d, r8d
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r8
mov word [rsp + 0x40], r8w
cmp word [rsp + 0x60], r8w
je 0x14011e59b
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14011e590
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140003290
lea rax, [rsp + 0x40]
mov r9d, 7
mov qword [rsp + 0x38], rax
mov r8, r14
mov dword [rsp + 0x30], 1
mov rdx, rsi
mov dword [rsp + 0x28], 1
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call fcn.14011c4c0
mov r8, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x170]
cmp r8, 8
jb 0x14011e602
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
inc r8
call fcn.140003900
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x178
pop r14
pop rsi
pop rbp
pop rbx
ret
mov rcx, rbx
call qword [rax + 0x48]
jmp 0x14011e550
Function at 0x140125ad0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x110
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x130], rbx
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x58], rdi
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], rdi
mov word [rsp + 0x70], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.140003710
nop
lea r8d, [rdi + 1]
lea rdx, [0x140201200]
lea rcx, [rsp + 0x70]
call fcn.140004d70
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140004ee0
mov dword [rsp + 0x90], edi
xor edx, edx
lea r8d, [rdi + 0x60]
lea rcx, [rsp + 0x98]
call fcn.14018f1e0
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140125be8
xor bl, bl
jmp 0x140125c03
or edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov r8, qword [rsp + 0x88]
cmp r8, 8
jb 0x140125c23
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140003900
movzx eax, bl
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
ret

Function at 0x140125c50
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.14018f1e0
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x20], 0x70
jb 0x140125c90
mov rbx, qword [rbx]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140185a60
add rsp, 0xa0
pop rbx
ret
Function at 0x140125e40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14018f1e0
mov r9d, 1
lea rdx, [rsp + 0x20]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140125edc
cmp word [rsp + 0x20], 0
jne 0x140125ead
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003290
mov al, 1
jmp 0x140125ede
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140125ec0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003290
mov al, 1
jmp 0x140125ede
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x140126120
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
mov word [rbp + 0x43], 0x100
lea rax, [rbp - 0x19]
mov qword [rbp - 0x19], rsi
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov dword [rsp + 0x48], esi
lea rcx, [rbp + 0x3f]
mov dword [rsp + 0x40], esi
mov ebx, esi
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dl, 1
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x11], rsi
mov dword [rbp + 0x3f], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14012625c
xor eax, eax
lea r9, [rbp - 0x11]
mov qword [rbp - 9], rax
lea rdx, [rbp - 9]
mov qword [rbp - 1], rax
lea ecx, [rsi + 1]
mov qword [rbp + 0xf], rax
xor r8d, r8d
mov qword [rbp + 0x17], rax
mov qword [rbp + 7], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x1f], rax
mov dword [rbp - 9], 0xffffffff
mov dword [rbp - 5], 2
mov dword [rbp - 1], 3
mov dword [rbp + 0x13], esi
mov dword [rbp + 0x17], 5
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x14012625c
lea edx, [rsi + 0x28]
lea ecx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14012625c
lea edx, [rsi + 1]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x14012625c
mov r8, qword [rbp - 0x11]
lea edx, [rsi + 1]
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x14012625c
cmp qword [rdi + 0x18], 8
mov dword [rbp + 0x27], 0x18
mov qword [rbp + 0x2f], rbx
mov dword [rbp + 0x37], esi
jb 0x140126245
mov rdi, qword [rdi]
lea rdx, [rbp + 0x27]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14012625c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14012626b
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14012627a
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x140126288
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140126f40
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x50
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, word [0x140278ebc]
test ax, ax
jne 0x14012706e
mov eax, dword [0x1402791c0]
mov ecx, 0x409
cmp eax, 0x2b29
cmove eax, ecx
mov qword [r11 - 0x18], 7
xor ebx, ebx
mov qword [r11 - 0x20], rbx
mov word [rsp + 0x28], bx
movzx esi, ax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0xe]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rdi, eax
mov eax, 2
mul rdi
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.140185afc
mov rbp, rax
mov r9d, edi
mov r8, rax
lea edx, [rbx + 0xe]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [rbp], bx
je 0x140127000
mov rbx, r14
inc rbx
cmp word [rbp + rbx*2], 0
jne 0x140126ff5
mov r8, rbx
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.140003290
mov rcx, rbp
call fcn.140185a84
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140127045
lea rax, [rsp + 0x28]
cmp r8, 8
cmovae rax, rdx
movzx ebx, word [rax]
mov word [0x140278ebc], bx
jmp 0x14012704c
movzx ebx, word [0x140278ebc]
mov eax, 0x2e
test bx, bx
cmove bx, ax
cmp r8, 8
jb 0x14012706b
inc r8
lea rcx, [rsp + 0x28]
call fcn.140003900
movzx eax, bx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140127130
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [0x14026fc20]
cmp rax, 0xffffffffffffffff
jne 0x1401272a2
mov eax, 0x409
cmp ecx, 0x2b29
cmove ecx, eax
mov qword [r11 - 0x28], 7
xor ebp, ebp
mov qword [r11 - 0x30], rbp
mov word [rsp + 0x28], bp
movzx esi, cx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1014
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rdi, eax
mov eax, 2
mul rdi
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140185afc
mov r14, rax
mov r9d, edi
mov r8, rax
mov edx, 0x1014
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [r14], bp
jne 0x1401271e0
mov ebx, ebp
jmp 0x1401271eb
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1401271e0
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.140003290
mov rcx, r14
call fcn.140185a84
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
cmp qword [rsp + 0x38], 0
je 0x140127273
lea rax, [rsp + 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x30
jne 0x140127231
mov qword [0x14026fc20], rbp
jmp 0x14012728c
lea rax, [rsp + 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x31
jne 0x140127252
mov ebp, 1
mov qword [0x14026fc20], rbp
jmp 0x14012728c
lea rax, [rsp + 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x32
jne 0x140127273
mov ebp, 2
mov qword [0x14026fc20], rbp
jmp 0x14012728c
mov rax, qword [0x14026fc20]
cmp rax, 0xffffffffffffffff
cmove rax, rbp
mov rbp, rax
mov qword [0x14026fc20], rax
cmp r8, 8
jb 0x14012729f
inc r8
lea rcx, [rsp + 0x28]
call fcn.140003900
mov rax, rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x140127540
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movzx esi, cx
mov r15, r8
mov ecx, esi
xor r9d, r9d
xor r8d, r8d
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rdi, eax
mov rbx, 0xffffffffffffffff
mov eax, 2
mul rdi
cmovo rax, rbx
mov rcx, rax
call fcn.140185afc
mov r9d, edi
mov r8, rax
mov edx, ebp
mov ecx, esi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [r14], 0
jne 0x1401275b0
xor ebx, ebx
jmp 0x1401275bb
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1401275b0
mov r8, rbx
mov rdx, r14
mov rcx, r15
call fcn.140003290
mov rcx, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp fcn.140185a84
Function at 0x140127d80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x60
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov rbp, r9
mov qword [rsp + 0x38], rbx
mov rsi, r8
sub ecx, 1
je 0x140127dbe
cmp ecx, 1
je 0x140127db5
xor al, al
jmp 0x140127eda
mov rcx, 0xffffffff80000001
jmp 0x140127dc5
mov rcx, 0xffffffff80000002
cmp qword [rdx + 0x18], 8
jb 0x140127dcf
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140127dae
cmp qword [rsi + 0x18], 8
mov dword [rsp + 0x30], ebx
jb 0x140127dfc
mov rdx, qword [rsi]
jmp 0x140127dff
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140127dae
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140127dae
mov ecx, eax
mov qword [rsp + 0x58], rdi
mov eax, 2
mov qword [rsp + 0x50], r14
mul rcx
mov r14, 0xffffffffffffffff
mov dword [rsp + 0x40], 1
cmovo rax, r14
mov rcx, rax
call fcn.140185afc
cmp qword [rsi + 0x18], 8
mov rdi, rax
jb 0x140127e67
mov rsi, qword [rsi]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140127e97
cmp dword [rsp + 0x40], 1
je 0x140127e9b
xor al, al
jmp 0x140127ed0
cmp word [rdi], bx
je 0x140127ead
mov rbx, r14
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140127ea3
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
call fcn.140003290
mov rcx, rdi
call fcn.140185a84
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x60
pop rsi
pop rbp
pop rbx
ret

Function at 0x140127f90
Capabilities:
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rcx, [rsp + 0x28]
xor ebx, ebx
mov qword [rsp + 0x2a], rax
mov word [rsp + 0x28], bx
mov qword [rsp + 0x32], rax
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
jne 0x140127fdc
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x50
pop rbx
ret
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
lea rdx, [0x140211738]
lea rcx, [rsp + 0x28]
call fcn.1400b6a00
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x50
pop rbx
ret
Function at 0x1401290e0
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edi, edi
cmp qword [rcx + 0x18], 8
mov qword [rsp + 0x20], rdi
jb 0x140129106
mov rcx, qword [rcx]
mov rdx, rcx
lea r8, [0x140211834]
lea rcx, [rsp + 0x20]
call fcn.14019a068
mov rcx, qword [rsp + 0x20]
test rcx, rcx
jne 0x140129139
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x30
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
lea r8d, [rdx + 2]
call fcn.14019b910
mov rcx, qword [rsp + 0x20]
call fcn.14019be50
mov rcx, qword [rsp + 0x20]
movsxd rbx, eax
call fcn.14019be58
mov rcx, rbx
mov rsi, rbx
call fcn.14019a798
mov rbx, rax
test rax, rax
je 0x1401291cf
mov r9, qword [rsp + 0x20]
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.14019a348
test rax, rax
je 0x1401291bb
mov r8, rax
mov rdx, rbx
mov ecx, edi
call fcn.14012e290
mov r9, qword [rsp + 0x20]
mov r8, rsi
mov edx, 1
mov rcx, rbx
mov edi, eax
call fcn.14019a348
test rax, rax
jne 0x140129192
mov rcx, qword [rsp + 0x20]
call fcn.14019a494
mov rcx, rbx
call fcn.14019a7a0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x30
pop rdi
ret

Function at 0x1401291f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11, qword [rcx + 0x10]
xor r9d, r9d
xor eax, eax
mov r10, rcx
test r11, r11
je 0x14012926d
mov qword [rsp + 0x10], rbx
mov rbx, qword [rcx + 0x18]
mov qword [rsp], rdi
lea rdi, [0x1401e1cd0]
nop dword [rax]
cmp rbx, 8
jb 0x14012922b
mov rcx, qword [r10]
jmp 0x14012922e
mov rcx, r10
lea rdx, [rcx + rax*2]
test rdx, rdx
jne 0x14012923c
xor r9d, r9d
jmp 0x140129259
movzx edx, byte [rdx]
not r9d
mov ecx, r9d
xor rdx, rcx
shr ecx, 8
movzx r8d, dl
mov r9d, dword [rdi + r8*4]
xor r9d, ecx
not r9d
inc rax
cmp rax, r11
jne 0x140129220
mov rdi, qword [rsp]
mov eax, r9d
mov rbx, qword [rsp + 0x10]
add rsp, 8
ret
Function at 0x140129280
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
push rdi
sub rsp, 0x488
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x208
call fcn.14018f1e0
lea rdx, [rsp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp qword [rdi + 0x18], 8
jb 0x1401292d4
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp qword [rbx + 0x18], 8
jb 0x1401292e7
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.140133df0
mov rdi, rax
test rax, rax
je 0x1401293a9
mov qword [rsp + 0x4b0], rbp
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x480], rsi
mov r8d, 0x230
call fcn.14018f1e0
lea r8, [rsp + 0x30]
or edx, 0xffffffff
mov rcx, rdi
call fcn.140133e90
movsxd rsi, dword [rsp + 0x30]
xor ebp, ebp
mov ebx, ebp
test rsi, rsi
je 0x14012937e
nop dword [rax + rax]
lea r8, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call fcn.140133e90
cmp dword [rdi], 1
je 0x140129360
mov dword [0x1402791b4], 0x80000
jmp 0x140129376
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x34]
mov edx, ebx
call fcn.140133a40
mov dword [0x1402791b4], eax
inc rbx
cmp rbx, rsi
jb 0x140129340
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rdi
call fcn.140133fa0
mov rsi, qword [rsp + 0x480]
test eax, eax
mov rbp, qword [rsp + 0x4b0]
sete al
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x488
pop rdi
pop rbx
ret
Function at 0x14012e290
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10, r8
mov r9, rdx
test rdx, rdx
jne 0x14012e2a6
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x1401e1cd0]
not ecx
cmp r8, 8
jb 0x14012e394
mov r11, r8
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r10, rax
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x14012e2d0
test r10, r10
je 0x14012e3c0
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
sub r10, 1
jne 0x14012e3a0
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x14012e8e0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbx
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rcx + 0x20], 0
mov r14, rdx
mov edi, r8d
mov rbx, rcx
je 0x14012e9f8
mov eax, dword [rcx + 0x2c]
mov qword [r11 + 0x20], rbp
mov qword [r11 - 0x20], rsi
mov esi, dword [rcx + 0x28]
add esi, edi
mov qword [r11 - 0x28], r15
cmp esi, eax
jb 0x14012e9df
add eax, eax
cmp eax, esi
cmova esi, eax
xor eax, eax
mov qword [r11 - 0x40], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], esi
or rcx, 0xffffffffffffffff
lea r8d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x14012e983
movsxd rax, esi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xf001f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
test rax, rax
jne 0x14012e9b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x300
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x50
pop r14
pop rdi
pop rbx
ret
mov r8d, dword [rbx + 0x2c]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call fcn.14018e300
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbx + 0x2c], esi
mov qword [rbx + 0x20], r15
mov qword [rbx + 8], rbp
mov ecx, dword [rbx + 0x28]
mov r8, rdi
add rcx, qword [rbx + 0x20]
mov rdx, r14
call fcn.14018e300
add dword [rbx + 0x28], edi
mov eax, edi
jmp 0x14012e988
mov rcx, qword [rcx]
test rcx, rcx
je 0x14012ea22
xor eax, eax
lea r9, [rsp + 0x30]
mov r8d, edi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x30]
jmp 0x14012e99a
mov dword [rbx + 0x14], 0x1000000
xor eax, eax
jmp 0x14012e99a
Function at 0x14012ed40
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov rbp, rdx
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x14012edd0
mov eax, dword [rdi + 0x94]
mov qword [rsp + 0x78], rsi
mov esi, dword [rdi + 0x90]
cmp eax, esi
jb 0x14012ed9a
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
sub esi, eax
lea rdx, [rcx + rax]
cmp esi, r8d
mov rcx, rbp
cmova esi, r8d
mov r8d, esi
call fcn.14018e300
mov ecx, dword [rdi + 0x70]
mov rdx, rbp
add dword [rdi + 0x94], esi
add dword [rdi + 0x6c], esi
mov r8d, esi
call fcn.14012e290
mov dword [rdi + 0x70], eax
mov eax, esi
jmp 0x14012ed80
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x14012ee10
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14012ee17
mov ebx, dword [rsp + 0x30]
mov rdx, rbp
add dword [rdi + 0x6c], ebx
mov r8d, ebx
mov ecx, dword [rdi + 0x70]
call fcn.14012e290
mov dword [rdi + 0x70], eax
mov eax, ebx
jmp 0x14012ed85
mov dword [rdi + 0x14], 0x1000000
xor eax, eax
jmp 0x14012ed85