joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000100d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x1002e3690], ecx
xor eax, eax
add eax, 1
lea rdx, [0x1002e3690]
movsxd rcx, eax
mov r8d, dword [rdx + rcx*4 - 4]
mov ecx, r8d
shr ecx, 0x1e
xor ecx, r8d
imul ecx, ecx, 0x6c078965
mov r8d, eax
add r8d, ecx
mov ecx, eax
mov dword [rdx + rcx*4], r8d
cmp eax, 0x26f
jl 0x1000100d8
mov dword [0x1001d43a0], 0x270
ret

Function at 0x100010120
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1002e3690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1002e3690]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1002e3690]
xor edx, dword [r8 + rcx*4 + 0x634]
mov ecx, eax
lea r8, [0x1002e3690]
mov dword [r8 + rcx*4], edx
cmp eax, 0xe2
jl 0x100010128
mov eax, 0xe2
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1002e3690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1002e3690]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1002e3690]
xor edx, dword [r8 + rcx*4 - 0x38c]
mov ecx, eax
lea r8, [0x1002e3690]
mov dword [r8 + rcx*4], edx
cmp eax, 0x26e
jl 0x100010198
mov edx, dword [0x1002e3690]
mov ecx, dword [0x1002e404c]
mov eax, edx
and eax, 1
neg rax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1002e3cc0]
mov dword [0x1002e404c], eax
mov dword [0x1001d43a0], 0
ret

Function at 0x100010250
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov ebx, dword [0x1001d43a0]
add dword [0x1001d43a0], 1
mov eax, dword [0x1002e2020]
cmp eax, dword [0x1001d3b40]
jne 0x100010279
cmp ebx, 0x271
jb 0x10001029c
mov ecx, dword [0x1002e2020]
call fcn.1000100d0
not dword [0x1002e2020]
mov eax, dword [0x1002e2020]
mov dword [0x1001d3b40], eax
mov ebx, 0x270
nop
cmp ebx, 0x270
jne 0x1000102b8
call fcn.100010120
xor ebx, ebx
mov dword [0x1001d43a0], 1
nop dword [rax]
and ebx, ebx
lea rax, [0x1002e3690]
mov edx, dword [rax + rbx*4]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100012410
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x1001d38a0]
cmp ax, 0xcb
je 0x10001254c
cmp ax, 0xcc
je 0x10001254c
nop
mov rax, qword [0x1002e4390]
test rax, rax
je 0x10001244d
mov ecx, dword [0x1002e4180]
call rax
mov rbx, rax
jmp 0x100012454
lea rbx, [0x1002e4188]
cmp word [0x1002e4170], 0
jle 0x10001247c
lea rcx, [0x1002e4140]
call fcn.1000127a0
mov rcx, rbx
call fcn.100011ed0
mov rcx, rbx
call fcn.100011f60
nop
mov rsi, qword [rbx]
jmp 0x1000124a9
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x1000124a2
mov rdx, rsi
mov rcx, rbx
call fcn.100011150
jmp 0x1000124a6
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x100012488
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x1002e4170], 0
jle 0x10001254c
lea rdx, [0x1002e4050]
mov rcx, rbx
call fcn.1000112d0
mov rsi, rax
test rax, rax
je 0x100012518
mov rax, qword [0x1002e40f0]
mov qword [rsi + 0x18], rax
cmp qword [0x1002e40f0], 0
je 0x100012508
mov rax, qword [0x1002e40f0]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x1002e40f0], rax
nop
sub word [0x1002e4170], 1
cmp word [0x1002e4170], 0
sete bl
lea rcx, [0x1002e4140]
call fcn.1000127e0
test bl, bl
je 0x10001254c
lea rcx, [0x1002e4140]
call fcn.100012780
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100015690
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r12
mov sil, cl
mov rdi, rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
test sil, sil
je 0x1000157ce
movzx eax, sil
sub eax, 0xffffffc0
mov word [rbp - 8], ax
mov word [rbp - 6], 0x3a
mov word [rbp - 4], 0
mov word [rbp - 2], 0
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
xor r8, r8
xor edx, edx
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000c2b0
mov r8, qword [rdi]
test r8, r8
jne 0x10001571f
lea r8, [0x1002e3460]
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
mov edx, ebx
call sub.kernel32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x10001578b
call sub.kernel32.dll_GetLastError
mov ecx, eax
call fcn.100003890
lea rcx, [rbp - 0x18]
call fcn.10000ac50
and esi, 0xff
lea edx, [esi + 0x41]
sub edx, 1
and edx, 0xffff
lea rcx, [rbp - 0x20]
call fcn.10000b170
mov rdx, qword [rbp - 0x20]
lea r8, [0x1001f66a4]
lea rcx, [rbp - 0x18]
call fcn.10000b010
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.10000ba60
jmp 0x100015820
mov eax, ebx
sub rax, 1
mov edx, r12d
cmp rax, rdx
je 0x1000157a4
mov edx, r12d
mov rcx, rdi
call fcn.10000c2b0
cmp byte [0x1001d3b10], 0
jne 0x100015820
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000c920
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000bb20
nop dword [rax]
jmp 0x100015820
xor edx, edx
xor ecx, ecx
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000c2b0
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1000157f6
lea rdx, [0x1002e3460]
mov ecx, ebx
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x1001d3b10], 0
jne 0x100015820
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000c920
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000bb20
nop
nop
mov rcx, rbp
call fcn.100015660
mov rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov r12, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100015d70
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x128]
xor esi, esi
mov qword [0x1002e33b0], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rsp + rax + 0x24], 0
mov r8d, ebx
xor edx, edx
mov rcx, rsp
call fcn.100015f50
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x1002e33b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100003030
call sub.kernel32.dll_GetCommandLineA
mov qword [0x1001d3920], rax
mov r14, rax
jmp 0x100015ef7
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x100015df8
cmp byte [r14], 0
je 0x100015f01
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100015e60
mov al, byte [r14]
cmp al, 1
jb 0x100015e58
sub al, 0x20
jbe 0x100015e34
sub al, 2
je 0x100015e40
jmp 0x100015e58
test dil, dil
je 0x100015e66
add ebx, 1
jmp 0x100015e5c
cmp byte [r14 + 1], 0x22
je 0x100015e50
test dil, dil
sete dil
jmp 0x100015e5c
add r14, 1
jmp 0x100015e5c
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015e20
test esi, esi
je 0x100015ef4
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100015f50
xor dil, dil
mov r14, r12
mov rdx, qword [0x1002e33b0]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x100015ee8
mov al, byte [r14]
cmp al, 1
jb 0x100015ed8
sub al, 0x20
jbe 0x100015eac
sub al, 2
je 0x100015ec0
jmp 0x100015ed8
test dil, dil
je 0x100015eee
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x100015ee4
cmp byte [r14 + 1], 0x22
je 0x100015ed0
test dil, dil
sete dil
jmp 0x100015ee4
add r14, 1
jmp 0x100015ee4
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015e98
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x100015dfc
mov dword [0x1002e33a0], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x1002e33b0]
call fcn.1000121f0
mov rax, qword [0x1002e33b0]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x128]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x100019930
Capabilities:
Hash data with crc32

Disassembly:
mov dx, 0xffff
nop dword [rax]
add dx, 1
movsx eax, dx
mov ecx, eax
xor r8w, r8w
nop
add r8w, 1
mov eax, ecx
and eax, 1
je 0x100019962
mov eax, ecx
shr eax, 1
xor eax, 0xedb88320
mov ecx, eax
jmp 0x100019964
shr ecx, 1
cmp r8w, 8
jl 0x100019948
movzx eax, dx
lea r9, [0x1003ed180]
mov dword [r9 + rax*4], ecx
cmp dx, 0xff
jl 0x100019938
ret

Function at 0x100019990
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ebx, ecx
mov rsi, rdx
mov edi, r8d
cmp dword [0x1003ed184], 0
jne 0x1000199b0
call fcn.100019930
nop
mov eax, ebx
not eax
cmp edi, 1
jl 0x1000199ec
xor edx, edx
nop dword [rax + rax]
add edx, 1
mov cl, al
xor cl, byte [rsi]
and ecx, 0xff
mov r8d, eax
shr r8d, 8
lea r9, [0x1003ed180]
xor r8d, dword [r9 + rcx*4]
mov eax, r8d
add rsi, 1
cmp edi, edx
jg 0x1000199c0
nop
not eax
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100030170
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xf0]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov qword [rbp - 0x98], 0
nop
mov rax, qword [rbp - 8]
lea rcx, [rbp - 0x98]
mov rdx, rax
call fcn.100058b00
lea rcx, [rbp - 0x78]
xor r8d, r8d
mov edx, 0x68
call fcn.100003330
mov dword [rbp - 0x78], 0x68
mov word [rbp - 0x38], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0xffffffff
lea rax, [rbp - 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x98]
test rdx, rdx
jne 0x10003020b
lea rdx, [0x1002e3460]
xor r9, r9
xor r8, r8
xor ecx, ecx
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x10003025b
jmp 0x10003022c
mov rcx, qword [0x1001d4580]
call fcn.10002a1f0
mov rcx, qword [rbp - 0x90]
mov edx, 0xa
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
ja 0x100030220
mov rcx, qword [rbp - 0x90]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp - 0x88]
call sub.kernel32.dll_CloseHandle
jmp 0x100030260
call fcn.100063570
nop
mov rcx, rbp
call fcn.100030150
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x100034390
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov dword [rbp - 8], ecx
mov dword [rbp - 0x10], edx
mov byte [rbp - 0x18], r8b
lea r8, [rbp - 0x24]
mov edx, dword [rbp - 0x10]
mov ecx, dword [rbp - 8]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
mov dword [rbp - 0x28], eax
cmp eax, 2
jle 0x100034442
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x10003445f
mov dword [rbp - 0x2c], 0xffffffff
nop dword [rax]
mov edx, dword [rbp - 0x2c]
add edx, 1
mov dword [rbp - 0x2c], edx
mov dx, word [rbp + rdx*2 - 0x24]
mov word [rbp - 0x30], dx
mov edx, dword [rbp - 0x2c]
mov dx, word [rbp + rdx*2 - 0x24]
cmp dx, 0x20
jb 0x10003445f
sub dx, 0x20
je 0x100034438
sub dx, 0x80
je 0x100034438
sub dx, 0x1f62
jb 0x10003445f
sub dx, 1
jbe 0x100034438
sub dx, 6
je 0x100034438
sub dx, 0x26
jne 0x10003445f
nop
jmp 0x100034438
cmp eax, dword [rbp - 0x2c]
jg 0x1000343e0
nop dword [rax]
jmp 0x10003445f
cmp dword [rbp - 0x28], 2
jne 0x100034452
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x10003445f
movzx ecx, byte [rbp - 0x18]
call fcn.10000be20
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x1000344dc
sub ax, 0x21
je 0x1000344f0
sub ax, 0x17
je 0x1000344fc
sub ax, 0x222
je 0x100034508
sub ax, 0x392
je 0x100034510
sub ax, 1
je 0x100034518
sub ax, 0x1996
je 0x100034520
sub ax, 1
je 0x100034528
sub ax, 6
je 0x100034530
sub ax, 0xb
je 0x100034540
sub ax, 0x1b
je 0x100034538
sub ax, 0x367
je 0x100034548
jmp 0x100034550
movzx ecx, word [rbp - 0x30]
call fcn.10000bed0
mov byte [rbp - 0x1c], al
jmp 0x100034558
mov byte [rbp - 0x1c], 0x20
jmp 0x100034558
mov byte [rbp - 0x1c], 0x2e
jmp 0x100034558
mov byte [rbp - 0x1c], 0x27
jmp 0x100034558
mov byte [rbp - 0x1c], 0x2c
jmp 0x100034558
mov byte [rbp - 0x1c], 0x27
jmp 0x100034558
mov byte [rbp - 0x1c], 0x20
jmp 0x100034558
mov byte [rbp - 0x1c], 0x20
jmp 0x100034558
mov byte [rbp - 0x1c], 0x20
jmp 0x100034558
mov byte [rbp - 0x1c], 0x20
jmp 0x100034558
mov byte [rbp - 0x1c], 0x2d
jmp 0x100034558
mov byte [rbp - 0x1c], 0x27
jmp 0x100034558
mov al, byte [rbp - 0x18]
mov byte [rbp - 0x1c], al
nop
movzx eax, byte [rbp - 0x1c]
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x100049fc0
Capabilities:
Resume thread

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov rbx, rcx
mov ecx, dword [rbx + 8]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x100049fe0
mov dword [rbx + 0x10], 0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100064230
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x2b0]
mov qword [rbp - 0x290], rbx
mov qword [rbp - 0x288], rdi
mov qword [rbp - 0x280], rsi
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
mov bl, r8b
lea rdx, [0x10020de58]
lea rcx, [rbp - 0x278]
call fcn.10000f890
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x10006427f
lea rcx, [0x1002e3460]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000642c2
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x10006429d
clc
jmp 0x1000642a4
bt dword [0x10020d0a8], eax
jb 0x1000642ba
mov rcx, rbp
call fcn.100064370
test al, al
je 0x1000642ba
mov dil, 1
jmp 0x100064340
xor dil, dil
jmp 0x100064340
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x1001d5cb0]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x100064340
and esi, 0x400
je 0x100064340
lea rbx, [rbp - 0x278]
lea rdx, [0x10020de58]
mov rcx, rbx
call fcn.10000f970
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.100063e60
test eax, eax
je 0x10006431c
sub eax, 1
je 0x100064334
jmp 0x10006433c
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.100064230
mov dil, al
jmp 0x100064340
mov dil, 1
jmp 0x100064340
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.100064200
mov al, dil
mov rbx, qword [rbp - 0x290]
mov rdi, qword [rbp - 0x288]
mov rsi, qword [rbp - 0x280]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100064600
Capabilities:
Get file attributes

Disassembly:
lea rsp, [rsp - 0x28]
test rcx, rcx
jne 0x100064611
lea rcx, [0x1002e3460]
call sub.kernel32.dll_GetFileAttributesW
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x100064620
Capabilities:
Set file attributes

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
test rcx, rcx
jne 0x100064632
lea rcx, [0x1002e3460]
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x10006463f
xor ebx, ebx
jmp 0x100064646
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
nop
lea rsp, [rsp + 0x20]
pop rbx
ret

Function at 0x100064740
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x1000647c1
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000c2b0
cmp ebx, 1
jle 0x1000647b0
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.10000b900
jmp 0x1000647cc
mov rcx, rsi
mov rdx, r13
call fcn.100009170
nop
mov rcx, rbp
call fcn.100064720
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100064c90
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x1003edf20]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100009170
mov eax, ebx
lea rdx, [0x1003edf60]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x100064cb0
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x100064d64
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100009c90
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.100059300
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100064d64
lea rcx, [0x100064b30]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x100064be0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100064c70
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100065420
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov rbx, rcx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
lea rcx, [rbp - 0x18]
call fcn.1000588f0
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.100009170
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.10000aac0
mov rcx, rbx
xor edx, edx
call fcn.100009170
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x100065565
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.100009be0
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1000654cc
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.10000aac0
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000a310
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.10000a1a0
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.1000588f0
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.100009ec0
test rax, rax
jne 0x100065558
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x10006553d
mov r9, qword [r9 - 8]
movsxd rax, r12d
sub r9, rax
movsxd rax, r12d
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.10000a1a0
jmp 0x10006556e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x1000654b0
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.1000653e0
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000655e0
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r12
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
mov rcx, rbx
xor edx, edx
call fcn.10000bb20
call sub.kernel32.dll_GetEnvironmentStringsW
mov rdi, rax
mov r12, rdi
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.100060300
jmp 0x1000656e1
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.10000bab0
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000c710
mov esi, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 8]
mov r8d, 1
lea rcx, [rbp - 0x20]
call fcn.10000c490
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.100060300
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.10000c260
test rax, rax
jne 0x1000656cc
mov r9, qword [rbp - 8]
test r9, r9
je 0x1000656b0
mov r9, qword [r9 - 8]
movsxd rax, esi
sub r9, rax
movsxd rax, esi
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 8]
call fcn.10000c490
jmp 0x1000656ee
mov rcx, r12
call fcn.100004280
shl rax, 1
add rax, r12
add rax, 2
mov r12, rax
cmp word [r12], 0
jne 0x100065648
mov rcx, rdi
call sub.kernel32.dll_FreeEnvironmentStringsW
nop
mov rcx, rbp
call fcn.1000655a0
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100065760
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x1003edfa0], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x1003edde0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x1003eddf0], eax
mov eax, dword [rsp + 0x28]
mov dword [0x1003ede00], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x1003ede10], eax
lea rdx, [0x1003ede21]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.100003030
lea rcx, [rsp + 0x34]
call fcn.100004250
mov byte [0x1003ede20], al
lea rcx, [0x10020d1d8]
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x1003edfb0], rax
test rax, rax
je 0x100065808
mov rcx, qword [0x1003edfb0]
lea rdx, [0x10020d1e8]
call sub.kernel32.dll_GetProcAddress
mov qword [0x1003edfa0], rax
nop
cmp dword [0x1003eddf0], 6
jae 0x10006581c
mov dword [0x1001d4f20], 0
nop
cmp dword [0x1003eddf0], 6
jb 0x100065838
cmp dword [0x1003ede00], 1
jb 0x100065838
mov dword [0x1001d4f30], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x1000ab020
Capabilities:
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
mov ecx, eax
mov r8d, 0xffffffff
nop dword [rax + rax]
add r8d, 1
mov edx, ecx
and edx, 1
cmp edx, 1
jne 0x1000ab054
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x1000ab056
shr ecx, 1
cmp r8d, 7
jl 0x1000ab038
mov edx, eax
lea r9, [0x1003ee680]
mov dword [r9 + rdx*4], ecx
cmp eax, 0xff
jl 0x1000ab028
ret