joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003238
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140078860
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400788ed
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400788ed
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400788ed
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400788d4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400788ce
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400788d6
add rdx, 0x28
jmp 0x1400788b3
xor edx, edx
test rdx, rdx
jne 0x1400788df
xor al, al
jmp 0x1400788f3
cmp dword [rdx + 0x24], 0
jge 0x1400788e9
xor al, al
jmp 0x1400788f3
mov al, 1
jmp 0x1400788f3
xor al, al
jmp 0x1400788f3
add rsp, 0x18
ret

Function at 0x1400037ce
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140109320
mov rax, rcx
neg rcx
test rax, 7
je 0x14010933d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140109398
test al, 7
jne 0x140109330
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140109351
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401093c2
test dh, dh
je 0x1401093bc
shr rdx, 0x10
test dl, dl
je 0x1401093b6
test dh, dh
je 0x1401093b0
shr rdx, 0x10
test dl, dl
je 0x1401093aa
test dh, dh
je 0x1401093a4
shr edx, 0x10
test dl, dl
je 0x14010939e
test dh, dh
jne 0x140109351
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14000380a
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400f3100
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 0x1400f3187
mov rsi, rbx
cmp word [rax], bp
je 0x1400f3146
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400f3130
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400f312c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140001064
mov rdi, rax
test rax, rax
je 0x1400f3174
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003aee
mov rbp, rdi
xor ecx, ecx
call fcn.140001294
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 0x140003b11
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14006f27c
jmp 0x140075c10
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x14006f2ac
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x14006f28e
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x140002612
Function at 0x140003d69
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14008cba0
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140119248]
mov ecx, 2
lea r8, [0x140119240]
lea rdx, str.FlsGetValue
call fcn.14008c670
mov ecx, ebx
test rax, rax
je 0x14008cbda
add rsp, 0x20
pop rbx
jmp qword [0x140152020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140004011
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400f2fac
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400f2fdc
xor eax, eax
jmp 0x1400f309f
mov rbp, rbx
cmp word [rax], si
je 0x1400f3001
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400f2fe8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400f2fe4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400052ae
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1400f3042
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400f2fd5
call fcn.140001064
mov rdi, rax
test rax, rax
jne 0x1400f3058
xor ecx, ecx
call fcn.140001294
jmp 0x1400f3037
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400052ae
test eax, eax
jne 0x1400f3089
mov rcx, rdi
call fcn.140001294
jmp 0x1400f3093
xor ecx, ecx
call fcn.140001294
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140004025
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14008caf0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140119208]
xor ecx, ecx
lea r8, [0x140119200]
lea rdx, str.FlsAlloc
call fcn.14008c670
test rax, rax
je 0x14008cb29
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140152020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1400040f2
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400e09c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140153050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1400e0a25
test rax, rax
jne 0x1400e0a13
lea r9, [0x14011d288]
lea r8, [0x14011d280]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1400dfe50
test rax, rax
je 0x1400e0a25
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140007153
jmp 0x1400e0a3f
xor edx, edx
mov rcx, rbp
call fcn.1400032b5
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000410b
Capabilities:
Terminate process

Disassembly:
jmp 0x140078a0c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400043cc
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d5a3c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400d5788
Function at 0x1400046d8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140103e90
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140103eb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140103eb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140004868
Capabilities:
Get geographical location

Disassembly:
jmp 0x14003ec94
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 0x14003ecce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003ecd3
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 0x14003ed1c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140114a40]
cmp byte [rcx + rax], 0
je 0x14003ed1c
dec r8
sub rdx, 1
jne 0x14003ed02
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004be2
Capabilities:
Clear file content

Disassembly:
jmp 0x1401028a8
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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140001ed8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140001ed8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401029f5
cmp rax, 0xffffffffffffffff
je 0x1401029f5
xor edi, edi
test rbp, rbp
jle 0x1401029a3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140005f88
mov rbx, rax
test rax, rax
jne 0x140102930
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140102999
mov edx, 0x8000
mov ecx, r14d
call fcn.140004f39
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140005a65
cmp eax, 0xffffffff
je 0x140102979
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140102940
mov edx, r15d
mov ecx, r14d
call fcn.140004f39
jmp 0x140102999
cmp byte [rsi + 0x38], dil
je 0x140102990
cmp dword [rsi + 0x34], 5
jne 0x140102990
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140102999
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001294
jmp 0x140102a07
jns 0x140102a07
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140001ed8
cmp rax, 0xffffffffffffffff
jne 0x1401029c1
cmp byte [rsi + 0x30], dil
je 0x140102a07
jmp 0x1401029fd
mov ecx, r14d
call fcn.140006bae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140102a07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140102a07
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140102a02
mov edi, dword [rsi + 0x2c]
jmp 0x140102a07
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140001ed8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140004c9b
Capabilities:
Parse pe header

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

Function at 0x140004da9
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14004bcf4
jmp 0x140068978
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14004bd26
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14004bd09
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000119f
Function at 0x1400051a0
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140103dd0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x140103e11
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140103e05
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140103e13
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140103df3
xor eax, eax
ret

Function at 0x14000555b
Capabilities:
Terminate process

Disassembly:
jmp 0x14008d810
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14008d82a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.14000620d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140005b69
Capabilities:
Create directory

Disassembly:
jmp 0x140040e48
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edx, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140040e6d
and dword [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
jmp 0x140040eb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xb7
mov ecx, eax
cmp eax, edi
jne 0x140040ea7
or r9d, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 3
mov rcx, rbx
call fcn.140002964
mov ecx, eax
test eax, eax
jne 0x140040ea7
mov eax, dword [rsp + 0x30]
shr eax, 4
test al, 1
cmove ecx, edi
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x5c], ecx
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400063fc
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14008cbf8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140119268]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140119260]
call fcn.14008c670
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14008cc38
call qword [0x140152020]
jmp 0x14008cc3e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006514
Capabilities:
Set environment variable

Disassembly:
jmp 0x140100abc
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000313e
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140100b46
cmp byte [rbp - 0x21], r15b
je 0x140100b41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140100b7c
call fcn.140006c49
test eax, eax
jne 0x140100b68
cmp byte [rbp - 0x21], r15b
je 0x140100b60
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140100b7c
cmp byte [rbp - 0x21], r15b
je 0x140100b79
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000704a
test eax, eax
jne 0x140100c1c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000313e
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140100bbb
cmp byte [rbp - 0x21], r15b
je 0x140100bf0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140100bf0
call fcn.140006c49
test eax, eax
jne 0x140100bdc
cmp byte [rbp - 0x21], r15b
je 0x140100bd5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140100bf0
cmp byte [rbp - 0x21], r15b
je 0x140100bed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000704a
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140100c1c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140100c1f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140100c2d
mov rcx, rdi
call fcn.140001294
cmp byte [rbp + 0x3f], r15b
je 0x140100c3c
mov rcx, qword [rbp + 0x27]
call fcn.140001294
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400066d1
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d5a2c
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 0x1400d57f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d57f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d57f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d57f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d57f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d57f7
cmp dword [rcx + 0xf8], 0
je 0x1400d57f7
mov ecx, ebx
call fcn.1400d597c
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.1400d54f8
nop
cmp dword [rbp + 0x20], 0
jne 0x1400d5858
call fcn.140001d4d
cmp eax, 1
jne 0x1400d5848
xor dl, dl
jmp 0x1400d5852
call fcn.140003657
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400d5863
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d58a4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400d5788

Function at 0x140006785
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x140011f30
Capabilities:
Create process on windows

Disassembly:
jmp 0x140011f30
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov dword [rsp + 0x80], 0x68
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x100]
call fcn.14000183e
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140012000
lea rdx, str.CreateProcess_failed:
lea rcx, [0x1401402e0]
call fcn.1400019b5
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14000309e
mov qword [rsp + 0x60], rax
lea rdx, [0x14000135c]
mov rcx, qword [rsp + 0x60]
call fcn.140003d32
nop
jmp 0x140012017
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0xf0
pop rdi
ret
Function at 0x14003ec94
Capabilities:
Get geographical location

Disassembly:
jmp 0x14003ec94
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 0x14003ecce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003ecd3
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 0x14003ed1c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140114a40]
cmp byte [rcx + rax], 0
je 0x14003ed1c
dec r8
sub rdx, 1
jne 0x14003ed02
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007759c
Capabilities:
Get geographical location

Disassembly:
jmp 0x14007759c
sub rsp, 0x28
call fcn.14000439a
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400775ee
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 0x1400775ee
sub ecx, 1
je 0x1400775e7
cmp ecx, 1
je 0x1400775e0
xor eax, eax
jmp 0x1400775f3
mov eax, 3
jmp 0x1400775f3
mov eax, 1
jmp 0x1400775f3
mov eax, 2
add rsp, 0x28
ret

Function at 0x140079f24
Capabilities:
Parse pe header

Disassembly:
jmp 0x140079f24
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140079f6e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140079f6e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140079f6e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140079f6e
cmp dword [rcx + 0x84], 0xe
jbe 0x140079f6e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140079f70
xor al, al
add rsp, 0x28
ret
Function at 0x1400d5788
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d5a2c
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 0x1400d57f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d57f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d57f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d57f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d57f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d57f7
cmp dword [rcx + 0xf8], 0
je 0x1400d57f7
mov ecx, ebx
call fcn.1400d597c
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.1400d54f8
nop
cmp dword [rbp + 0x20], 0
jne 0x1400d5858
call fcn.140001d4d
cmp eax, 1
jne 0x1400d5848
xor dl, dl
jmp 0x1400d5852
call fcn.140003657
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400d5863
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d58a4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400d5788

Function at 0x1400d807c
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14013d140]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r10, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400d8108
lea r8, [rsp + 0x40]
xor edx, edx
mov cl, byte [rbx]
lea rax, [rsp + 0x234]
mov byte [r8], cl
inc r8
cmp r8, rax
je 0x1400d80da
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x1400d80b9
lea rax, [rsp + 0x40]
mov byte [rsp + 0x233], dl
sub r8d, eax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x30]
dec r8d
lea rdx, [rsp + 0x40]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140003ac1
add rsp, 0x250
pop rbx
ret

Function at 0x1400e09c0
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400e09c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140153050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1400e0a25
test rax, rax
jne 0x1400e0a13
lea r9, [0x14011d288]
lea r8, [0x14011d280]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1400dfe50
test rax, rax
je 0x1400e0a25
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140007153
jmp 0x1400e0a3f
xor edx, edx
mov rcx, rbp
call fcn.1400032b5
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret