joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400331fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140033246
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140033246
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140033246
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140033246
cmp dword [rcx + 0x84], 0xe
jbe 0x140033246
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140033248
xor al, al
add rsp, 0x28
ret

Function at 0x14003ef80
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14005e2e8]
mov rbp, rcx
call fcn.14004c5f0
xor edi, edi
test rax, rax
je 0x14003f066
mov ebx, edi
call fcn.14003f9f4
mov r14d, dword [rax]
call fcn.14003f9f4
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14004c53c
mov rsi, rax
test rax, rax
je 0x14003eff7
call fcn.14003f9f4
mov dword [rax], r14d
jmp 0x14003f021
call fcn.14003f9f4
cmp dword [rax], 0x22
jne 0x14003f05e
call fcn.14003f9f4
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14004c53c
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14003f05e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14003f025
cmp rax, 3
je 0x14003f040
mov rcx, rsi
call fcn.14003eedc
test al, al
je 0x14003f051
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14003f051
mov dil, 1
mov rcx, rbx
call fcn.14003d90c
mov al, dil
jmp 0x14003f068
mov rcx, rbx
call fcn.14003d90c
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400324d0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14003f3a0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003f20b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f20b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003f20b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003f20b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f20b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003f20b
cmp dword [rcx + 0xf8], 0
je 0x14003f20b
mov ecx, ebx
call fcn.14003f2bc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003f098
nop
cmp dword [rbp + 0x20], 0
je 0x14003f259
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003f264
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003f19c
Function at 0x14003f838
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14003f86f
call fcn.14003f9f4
mov dword [rax], SafeArrayUnaccessData
call fcn.1400394d4
xor eax, eax
jmp 0x14003f8fd
mov rdx, r9
mov rcx, r8
call fcn.14003f7d4
mov rbx, rax
test rax, rax
je 0x14003f8fa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14003f700]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003f8e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003f968
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003f8ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003f8dd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140048b28
jmp 0x14003f8fa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003f8f7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14004fe80
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14004ff07
mov rsi, rbx
cmp word [rax], bp
je 0x14004fec6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14004feb0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004feac
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140048b64
mov rdi, rax
test rax, rax
je 0x14004fef4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140057590
mov rbp, rdi
xor ecx, ecx
call fcn.140048b28
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140052a98
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400487c8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140052b39
cmp ebx, dword [rsp + 0x30]
je 0x140052b32
test esi, esi
je 0x140052b32
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140052b0d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140052b1a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140052af7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140052b1e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140052b3b
mov eax, 1
jmp 0x140052b3b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140054980
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400549ca
call fcn.14003f9d4
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayDestroy
call fcn.14003f9f4
mov dword [rax], SafeArrayDestroy
call fcn.1400394d4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400324d0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400549d5
lea eax, [rbx + 1]
jmp 0x1400549b7
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400549b5
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400549b7

Function at 0x140056e00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140056e28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140056e28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001500
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push r12
push r14
sub rsp, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
lea rcx, str.space.ico
xor r12d, r12d
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x18000155d
xor r9d, r9d
lea r8, [rsp + 0x190]
mov edx, 0x104
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x190]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1800015a7
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
jmp 0x1800016ed
xor edx, edx
mov qword [rsp + 0x2b0], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x1800015db
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
jmp 0x1800016e5
mov qword [rsp + 0x2e8], rbp
mov qword [rsp + 0x2f0], rsi
mov rsi, r12
mov qword [rsp + 0x2b8], rdi
mov rdi, r12
test eax, eax
je 0x18000164b
cmp r15, 0x1000
jb 0x18000162f
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x18000170d
call fcn.180001b90
test rax, rax
je 0x180001713
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000163a
mov rcx, r15
call fcn.180001b90
mov rdi, rax
mov r8, r15
lea rsi, [rdi + r15]
xor edx, edx
mov rcx, rdi
call fcn.180010a50
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], r12
mov r8d, r15d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180001685
cmp dword [rsp + 0x48], r15d
jne 0x180001685
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
jmp 0x1800016cd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
test rdi, rdi
je 0x1800016cd
sub rsi, rdi
cmp rsi, 0x1000
jb 0x1800016c2
mov rcx, qword [rdi - 8]
add rsi, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x180001713
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.180001bcc
mov rdi, qword [rsp + 0x2b8]
mov rsi, qword [rsp + 0x2f0]
mov rbp, qword [rsp + 0x2e8]
mov r15, qword [rsp + 0x2b0]
mov rax, rbx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.180001b70
add rsp, 0x2c0
pop r14
pop r12
pop rbx
ret
call fcn.180001110
int3
call fcn.1800079cc
int3
Function at 0x14000d8a0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x558
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x560]
call fcn.140002590
mov qword [rsp + 0x58], rax
lea rdx, str._ws.
mov rcx, qword [rsp + 0x28]
call fcn.140003b20
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140009800
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140009510
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140002590
mov rcx, qword [rsp + 0x58]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call fcn.1400044e0
nop
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x14000da73
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x560]
call fcn.140002590
mov qword [rsp + 0x98], rax
lea rdx, str._ws_ws
mov rcx, qword [rsp + 0x68]
call fcn.140003b20
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140009800
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xa0]
call fcn.140009510
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140002590
lea r9, [rsp + 0x32c]
mov rcx, qword [rsp + 0x98]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xa0]
call fcn.1400044e0
nop
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000d975
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rsp + 0x560]
call fcn.1400044e0
nop
add rsp, 0x558
ret

Function at 0x14000da90
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.14000db10
movzx eax, al
test eax, eax
jne 0x14000daae
xor al, al
jmp 0x14000daff
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call fcn.14000b730
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000d8a0
nop
mov rcx, qword [rsp + 0x50]
call fcn.140002590
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14000daf5
mov byte [rsp + 0x20], 1
jmp 0x14000dafa
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14000db10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140002590
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x14000db4c
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x14000db4c
mov dword [rsp + 0x24], 1
jmp 0x14000db54
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x140013770
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x40]
call fcn.1400036c0
nop
mov dword [rsp + 0x30], 0x1000
mov rcx, qword [rsp + 0x88]
call fcn.140002590
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140005e20
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x78]
call fcn.140002590
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.14000e450
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.14000b730
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x88]
call fcn.1400044e0
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140014cb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jg 0x140014cd2
xor eax, eax
jmp 0x140014e76
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x140014cf7
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140014e80
jmp 0x140014e76
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.14000eb90
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x140014d8e
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140003530
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400127c0
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140008720
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.1400112c0
nop
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x140014e66
mov rcx, qword [rsp + 0x60]
call fcn.14000f4f0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x140014e2e
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140049c5c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x140014e2c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x140014e76
jmp 0x140014db4
cmp qword [rsp + 0x20], 0
jbe 0x140014e66
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140049c5c
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret
Function at 0x1400324ec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14001ece6
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14001ecc9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14001ecb4

Function at 0x14003c76c
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.14004aa30
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14003c7be
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14003c7be
sub ecx, 1
je 0x14003c7b7
cmp ecx, 1
je 0x14003c7b0
xor eax, eax
jmp 0x14003c7c3
mov eax, 3
jmp 0x14003c7c3
mov eax, 1
jmp 0x14003c7c3
mov eax, 2
add rsp, 0x28
ret

Function at 0x14003de4c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003de96
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003de96
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003de96
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003de96
cmp dword [rcx + 0x84], 0xe
jbe 0x14003de96
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003de98
xor al, al
add rsp, 0x28
ret

Function at 0x140052110
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005217f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005217f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005217f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005217f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005217f
cmp dword [rcx + 0x84], 0xe
jbe 0x14005217f
cmp dword [rcx + 0xf8], 0
je 0x14005217f
mov ecx, ebx
call fcn.140052230
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14005200c
nop
cmp dword [rbp + 0x20], 0
je 0x1400521cd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400521d8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140052110

Function at 0x140052314
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140052110
Function at 0x140059db0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14003dc30
sub rsp, rax
mov rax, qword [0x140081080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400577e4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140059dff
mov rax, rbp
jmp 0x140059f07
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x844c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005aed0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x844c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140059f03
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140059f03
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005aed0
test rax, rax
js 0x140059f03
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140059f03
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140059ef5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140059ef5
cmp byte [rcx], 0xd
jne 0x140059edb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140059eea
cmp byte [rcx + 1], 0xa
jne 0x140059eea
inc rcx
jmp 0x140059eea
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x814e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140059ebd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140059f07
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14003d930
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005a128
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005a13e
mov al, 1
jmp 0x14005a19e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005a14f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005a19c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005f820
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005a19c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005a19c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005a19c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005a19e
xor al, al
add rsp, 0x20
pop rbx
ret