joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e71d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800e71db
xor eax, eax
ret
lea r11, [0x18010b3c0]
not ecx
cmp r8d, 8
jb 0x1800e72b1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800e7200
test r8d, r8d
je 0x1800e72dd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1800e72c0
not ecx
mov eax, ecx
ret
Function at 0x1800ebf50
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800ebf8a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800ebf8f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800ebfd8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18010bbb0]
cmp byte [rcx + rax], 0
je 0x1800ebfd8
dec r8
sub rdx, 1
jne 0x1800ebfbe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1004010e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea r9, str._______________Q_msgkey____M_shmkey____S_semkey__...
lea r8, str.usage:_ipcrm___q_msqid____m_shmid____s_semid_
lea rdx, str._s_n_s_n
call sub.cygwin1.dll_fprintf
mov ecx, 1
call sub.cygwin1.dll_exit
nop
nop word cs:[rax + rax]
Function at 0x140001740
Capabilities:
Parse pe header

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

Function at 0x1400038a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400036d0

Function at 0x14000c7d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c7f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000c7f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001114a
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x140011f30
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1400240a4]
call fcn.1400113c5
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad00]
call fcn.140011352
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011226
Capabilities:
Terminate process

Disassembly:
jmp 0x1400136f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112b7
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014a40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014a60
xor al, al
jmp 0x140014ae1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014a73
xor al, al
jmp 0x140014ae1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014a9d
xor al, al
jmp 0x140014ae1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ab1
xor al, al
jmp 0x140014ae1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014ac3
xor al, al
jmp 0x140014ae1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014adf
xor al, al
jmp 0x140014ae1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011394
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.140010db0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400113d3
mov rax, qword [rax]
mov rdx, rax
lea rbx, [0x14021ef48]
mov rcx, rbx
call fcn.140019708
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140011422
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rdi
jb 0x14001141d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011566
call fcn.14009e230
mov edx, 1
lea rcx, [rbp - 0x49]
call fcn.140010db0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14001143f
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140019708
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140011482
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rdi
jb 0x14001147d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001156c
call fcn.14009e230
mov edx, 2
lea rcx, [rbp - 0x49]
call fcn.140010db0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14001149f
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140019708
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1400114e2
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rdi
jb 0x1400114dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011560
call fcn.14009e230
cmp qword [0x14021ef60], 0xf
cmova rbx, qword [0x14021ef48]
xor eax, eax
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x29], 0x67452301
mov dword [rbp - 0x25], 0xefcdab89
mov dword [rbp - 0x21], 0x98badcfe
mov dword [rbp - 0x1d], 0x10325476
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], al
jne 0x140011518
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14007bb80
lea rcx, [rbp - 0x29]
call fcn.14007bc40
lea rcx, [rbp + 0x2f]
call fcn.14007bad8
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14009e210
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400a9144
int3
call fcn.1400a9144
int3
call fcn.1400a9144
int3
Function at 0x140011930
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov r14, rdx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
and dword [rsp + 0x20], 0
lea rcx, str.HTTPREAD
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
xor r9d, r9d
mov rdi, rax
test rax, rax
jne 0x1400119a1
lea r8, [0x1400febf4]
xor ecx, ecx
lea rdx, [0x1400febf8]
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140011b37
and qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x20], 0x80000002
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x140011a61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400025d0
cmp qword [rbp - 0x18], 0xf
lea rdx, [rbp - 0x30]
lea r8, [0x1400febf4]
cmova rdx, qword [rbp - 0x30]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor r9d, r9d
lea r8, [0x1400febf4]
lea rdx, [0x1400fec10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140011b37
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011a57
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011b5a
call fcn.14009e230
jmp 0x140011b37
and dword [rbp - 0x40], 0
lea r9, [rbp - 0x38]
and qword [rsp + 0x20], 0
lea r8, [rbp - 0x40]
mov edx, 0x20000005
mov dword [rbp - 0x38], 4
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x140011aa7
lea rdx, [0x1400fec28]
lea r8, [0x1400febf4]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140011b25
mov ecx, dword [rbp - 0x40]
call fcn.1400a91bc
mov rsi, rax
test rax, rax
jne 0x140011ac0
lea rdx, [0x1400fec40]
jmp 0x140011a93
mov r8d, dword [rbp - 0x40]
lea r9, [rbp - 0x3c]
and dword [rbp - 0x3c], 0
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140011b04
mov eax, dword [rbp - 0x40]
cmp dword [rbp - 0x3c], eax
jne 0x140011b04
mov rcx, rbx
mov qword [r14], rax
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rsi
jmp 0x140011b39
xor r9d, r9d
lea r8, [0x1400febf4]
lea rdx, [0x1400fec58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call fcn.1400a88b4
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009e210
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400a9144
int3
Function at 0x14001896c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001898c
xor eax, eax
jmp 0x140018a72
cmp qword [rcx + 0x68], 0
je 0x14001899d
call fcn.14001950c
jmp 0x140018a72
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400189b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400189b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400189e8
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400ce3e0
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140018a6c
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140018a1f
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140018a48
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400a8cd8
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x140018a6c
cmp rdi, rbx
ja 0x140018a26
test rdi, rdi
je 0x140018a6c
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.1400a8cd8
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001ec68
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14001ecc2
mov r11b, 0x23
lea rbx, [0x140181430]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x14001ecac
cmp rdx, 2
jb 0x14001ecac
cmp byte [r10], r11b
jne 0x14001ecac
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14001ec8a
jmp 0x14001ed03
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14001ed03
mov r11b, 0x23
lea rbx, [0x140181430]
cmp dl, r11b
jne 0x14001ece7
cmp byte [r10], r11b
jne 0x14001ece7
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x14001ecd5
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14001ee38
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x14001ee58
and qword [r8], 0
lea rdx, [0x1400fe51c]
call fcn.14001ed14
mov rbx, rax
test rax, rax
je 0x14001ef3f
mov rcx, rax
call fcn.1400a5a14
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001ef37
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400a6838
test eax, eax
jne 0x14001ef37
mov rcx, rbx
call fcn.1400a5a14
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001ef37
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400a6838
test eax, eax
jne 0x14001ef37
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x14001ef37
mov rax, qword [0x140222a60]
test rax, rax
je 0x14001eed9
inc dword [rax + 0xf4]
mov rcx, rbp
call fcn.1400a91bc
mov rdi, rax
test rax, rax
je 0x14001ef37
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.1400a8cd8
mov rcx, rbx
cmp rax, rbp
je 0x14001ef25
call fcn.1400a6270
mov rax, qword [0x140222a60]
test rax, rax
je 0x14001ef1b
dec dword [rax + 0xf4]
mov rcx, rdi
call fcn.1400a88b4
jmp 0x14001ef3f
call fcn.1400a6270
test rsi, rsi
je 0x14001ef32
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14001ef41
mov rcx, rbx
call fcn.1400a6270
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002152c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xe8]
mov r10d, 4
mov rax, qword [rcx + 0xf0]
mov r9d, r10d
mov dword [rsp + 0x20], edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x140181430]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x140021568
mov rcx, qword [0x140222a60]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x1400215a6
movsxd r8, edx
mov ecx, ebx
mov edx, r10d
call fcn.140031274
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009e210
add rsp, 0x30
pop rbx
ret
Function at 0x140079da4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.14009ef80
sub rsp, rax
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov edi, edx
mov ebx, ecx
call fcn.14007f2b0
or r9d, 0xffffffff
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x13b4], r9d
mov ecx, 0x270
mov r8d, 1
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x34], eax
inc r8
cmp r8, rcx
jb 0x140079df7
mov ebp, 0x80000000
mov dword [rsp + 0x30], ecx
cmp ebx, ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
lea eax, [rbx - 0x80000000]
lea esi, [rbx + rbp]
cmovae esi, eax
lea ebx, [rdi + rbp]
cmp edi, ebp
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, r9d
jne 0x140079e58
call fcn.14007b948
mov ecx, eax
jmp 0x140079e91
inc ebx
mov edi, ebx
call fcn.14007b948
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x140079e8d
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140079e8d
lea rcx, [rsp + 0x20]
call fcn.14007b948
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140079e79
shr rcx, 0x20
lea edx, [rsi + rcx]
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14009e210
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14007a508
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.1400ceb20
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x24]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007a55e
cmp rbx, qword [rdi + 0x18]
ja 0x14007a594
cmp qword [rdi + 0x18], 0xf
mov rsi, rdi
jbe 0x14007a57a
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400ce3e0
mov byte [rsi + rbx], 0
jmp 0x14007a5a4
lea r9, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.14001b8bc
cmp qword [rdi + 0x10], 0
setne al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14009e210
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007b948
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x14007b9b3
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x14007b976
mov ecx, dword [r9]
jmp 0x14007ba89
cmp ecx, 0x4e0
jb 0x14007ba89
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14007b9d9
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14007ba1e
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x14007c628
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x1400d4940]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007c662
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007c667
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007c6b0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400d4840]
cmp byte [rcx + rax], 0
je 0x14007c6b0
dec r8
sub rdx, 1
jne 0x14007c696
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140095088
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x14009f170
Capabilities:
Parse pe header

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

Function at 0x1400a5378
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 0x1400a51e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a51e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a51e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a51e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a51e3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a51e3
cmp dword [rcx + 0xf8], 0
je 0x1400a51e3
mov ecx, ebx
call fcn.1400a5294
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.1400a5070
nop
cmp dword [rbp + 0x20], 0
je 0x1400a5231
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a523c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400a5174