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

Disassembly:
mov dword [0x100d00690], ecx
xor eax, eax
add eax, 1
lea rdx, [0x100d00690]
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 0x100010198
mov dword [0x1001cf2b0], 0x270
ret

Function at 0x1000101e0
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, [0x100d00690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x100d00690]
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, [0x100d00690]
xor edx, dword [r8 + rcx*4 + 0x634]
mov ecx, eax
lea r8, [0x100d00690]
mov dword [r8 + rcx*4], edx
cmp eax, 0xe2
jl 0x1000101e8
mov eax, 0xe2
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x100d00690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x100d00690]
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, [0x100d00690]
xor edx, dword [r8 + rcx*4 - 0x38c]
mov ecx, eax
lea r8, [0x100d00690]
mov dword [r8 + rcx*4], edx
cmp eax, 0x26e
jl 0x100010258
mov edx, dword [0x100d00690]
mov ecx, dword [0x100d0104c]
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 [0x100d00cc0]
mov dword [0x100d0104c], eax
mov dword [0x1001cf2b0], 0
ret

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

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov ebx, dword [0x1001cf2b0]
add dword [0x1001cf2b0], 1
mov eax, dword [0x100cff020]
cmp eax, dword [0x1001cea50]
jne 0x100010339
cmp ebx, 0x271
jb 0x10001035c
mov ecx, dword [0x100cff020]
call fcn.100010190
not dword [0x100cff020]
mov eax, dword [0x100cff020]
mov dword [0x1001cea50], eax
mov ebx, 0x270
nop
cmp ebx, 0x270
jne 0x100010378
call fcn.1000101e0
xor ebx, ebx
mov dword [0x1001cf2b0], 1
nop dword [rax]
and ebx, ebx
lea rax, [0x100d00690]
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 0x100012560
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x1001ce7b0]
cmp ax, 0xcb
je 0x10001269c
cmp ax, 0xcc
je 0x10001269c
nop
mov rax, qword [0x100d01390]
test rax, rax
je 0x10001259d
mov ecx, dword [0x100d01180]
call rax
mov rbx, rax
jmp 0x1000125a4
lea rbx, [0x100d01188]
cmp word [0x100d01170], 0
jle 0x1000125cc
lea rcx, [0x100d01140]
call fcn.100012880
mov rcx, rbx
call fcn.100012020
mov rcx, rbx
call fcn.1000120b0
nop
mov rsi, qword [rbx]
jmp 0x1000125f9
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x1000125f2
mov rdx, rsi
mov rcx, rbx
call fcn.1000112a0
jmp 0x1000125f6
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x1000125d8
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x100d01170], 0
jle 0x10001269c
lea rdx, [0x100d01050]
mov rcx, rbx
call fcn.100011420
mov rsi, rax
test rax, rax
je 0x100012668
mov rax, qword [0x100d010f0]
mov qword [rsi + 0x18], rax
cmp qword [0x100d010f0], 0
je 0x100012658
mov rax, qword [0x100d010f0]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x100d010f0], rax
nop
sub word [0x100d01170], 1
cmp word [0x100d01170], 0
sete bl
lea rcx, [0x100d01140]
call fcn.1000128c0
test bl, bl
je 0x10001269c
lea rcx, [0x100d01140]
call fcn.100012860
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100015020
Capabilities:
Set environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov rsi, rcx
mov qword [rbp - 0x10], 0
nop
mov rcx, rsi
test rsi, rsi
jne 0x10001504c
lea rcx, [0x100d00460]
lea r9, [rbp - 0x18]
xor r8, r8
xor edx, edx
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
mov edx, ebx
sub rdx, 1
lea rcx, [rbp - 0x10]
call fcn.10000c2e0
mov r8, qword [rbp - 0x10]
test r8, r8
jne 0x10001507b
lea r8, [0x100d00460]
mov rcx, rsi
test rsi, rsi
jne 0x10001508a
lea rcx, [0x100d00460]
lea r9, [rbp - 0x18]
mov edx, ebx
call sub.kernel32.dll_GetFullPathNameW
mov edx, eax
test eax, eax
je 0x10001515a
jmp 0x1000150ab
sub edx, 1
cmp edx, 3
jbe 0x1000150bf
mov rcx, qword [rbp - 0x10]
mov eax, edx
cmp word [rcx + rax*2 - 2], 0x5c
je 0x1000150a8
mov eax, ebx
sub rax, 1
mov ecx, edx
cmp rax, rcx
je 0x1000150d8
and edx, edx
lea rcx, [rbp - 0x10]
call fcn.10000c2e0
nop
lea rcx, [0x100001200]
mov rdx, qword [rbp - 0x10]
call fcn.100014f80
mov rax, qword [0x100d01390]
test rax, rax
je 0x1000150fe
mov ecx, dword [0x100d00250]
call rax
jmp 0x100015105
lea rax, [0x100d00258]
cmp word [rax], 0
jne 0x100015169
mov rax, rsi
test rsi, rsi
je 0x100015118
mov rax, qword [rax - 8]
cmp rax, 2
jle 0x100015169
cmp word [rsi + 2], 0x3a
jne 0x100015169
mov word [rbp - 8], 0x3d
mov ax, word [rsi]
mov word [rbp - 6], ax
mov word [rbp - 4], 0x3a
mov word [rbp - 2], 0
mov rdx, qword [rbp - 0x10]
test rdx, rdx
jne 0x10001514f
lea rdx, [0x100d00460]
lea rcx, [rbp - 8]
call sub.kernel32.dll_SetEnvironmentVariableW
jmp 0x100015169
lea rcx, [0x100001200]
mov rdx, rsi
call fcn.100014f80
mov rax, qword [0x100d01390]
test rax, rax
je 0x10001517f
mov ecx, dword [0x100d00250]
call rax
jmp 0x100015186
lea rax, [0x100d00258]
cmp word [rax], 2
jne 0x1000151b0
mov rax, qword [0x100d01390]
test rax, rax
je 0x1000151a3
mov ecx, dword [0x100d00250]
call rax
jmp 0x1000151aa
lea rax, [0x100d00258]
mov word [rax], 3
nop
nop
mov rcx, rbp
call fcn.100015000
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100015200
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 0x10001533e
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.10000c2e0
mov r8, qword [rdi]
test r8, r8
jne 0x10001528f
lea r8, [0x100d00460]
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
mov edx, ebx
call sub.kernel32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x1000152fb
call sub.kernel32.dll_GetLastError
mov ecx, eax
call fcn.100003740
lea rcx, [rbp - 0x18]
call fcn.10000abb0
and esi, 0xff
lea edx, [esi + 0x41]
sub edx, 1
and edx, 0xffff
lea rcx, [rbp - 0x20]
call fcn.10000b0d0
mov rdx, qword [rbp - 0x20]
lea r8, [0x1001ef5d4]
lea rcx, [rbp - 0x18]
call fcn.10000af70
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.10000b9c0
jmp 0x100015390
mov eax, ebx
sub rax, 1
mov edx, r12d
cmp rax, rdx
je 0x100015314
mov edx, r12d
mov rcx, rdi
call fcn.10000c2e0
cmp byte [0x1001cea20], 0
jne 0x100015390
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000c950
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000ba80
nop dword [rax]
jmp 0x100015390
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.10000c2e0
mov rdx, qword [rdi]
test rdx, rdx
jne 0x100015366
lea rdx, [0x100d00460]
mov ecx, ebx
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x1001cea20], 0
jne 0x100015390
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000c950
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000ba80
nop
nop
mov rcx, rbp
call fcn.1000151d0
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 0x1000159a0
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 [0x100d003b0], 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.100015b80
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x100d003b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100002ee0
call sub.kernel32.dll_GetCommandLineA
mov qword [0x1001ce830], rax
mov r14, rax
jmp 0x100015b27
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x100015a28
cmp byte [r14], 0
je 0x100015b31
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100015a90
mov al, byte [r14]
cmp al, 1
jb 0x100015a88
sub al, 0x20
jbe 0x100015a64
sub al, 2
je 0x100015a70
jmp 0x100015a88
test dil, dil
je 0x100015a96
add ebx, 1
jmp 0x100015a8c
cmp byte [r14 + 1], 0x22
je 0x100015a80
test dil, dil
sete dil
jmp 0x100015a8c
add r14, 1
jmp 0x100015a8c
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015a50
test esi, esi
je 0x100015b24
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100015b80
xor dil, dil
mov r14, r12
mov rdx, qword [0x100d003b0]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x100015b18
mov al, byte [r14]
cmp al, 1
jb 0x100015b08
sub al, 0x20
jbe 0x100015adc
sub al, 2
je 0x100015af0
jmp 0x100015b08
test dil, dil
je 0x100015b1e
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x100015b14
cmp byte [r14 + 1], 0x22
je 0x100015b00
test dil, dil
sete dil
jmp 0x100015b14
add r14, 1
jmp 0x100015b14
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015ac8
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x100015a2c
mov dword [0x100d003a0], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x100d003b0]
call fcn.100012340
mov rax, qword [0x100d003b0]
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 0x10002fbb0
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 0x10002fc62
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x10002fc7f
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 0x10002fc7f
sub dx, 0x20
je 0x10002fc58
sub dx, 0x80
je 0x10002fc58
sub dx, 0x1f62
jb 0x10002fc7f
sub dx, 1
jbe 0x10002fc58
sub dx, 6
je 0x10002fc58
sub dx, 0x26
jne 0x10002fc7f
nop
jmp 0x10002fc58
cmp eax, dword [rbp - 0x2c]
jg 0x10002fc00
nop dword [rax]
jmp 0x10002fc7f
cmp dword [rbp - 0x28], 2
jne 0x10002fc72
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x10002fc7f
movzx ecx, byte [rbp - 0x18]
call fcn.10000bd80
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x10002fcfc
sub ax, 0x21
je 0x10002fd10
sub ax, 0x17
je 0x10002fd1c
sub ax, 0x222
je 0x10002fd28
sub ax, 0x392
je 0x10002fd30
sub ax, 1
je 0x10002fd38
sub ax, 0x1996
je 0x10002fd40
sub ax, 1
je 0x10002fd48
sub ax, 6
je 0x10002fd50
sub ax, 0xb
je 0x10002fd60
sub ax, 0x1b
je 0x10002fd58
sub ax, 0x367
je 0x10002fd68
jmp 0x10002fd70
movzx ecx, word [rbp - 0x30]
call fcn.10000be30
mov byte [rbp - 0x1c], al
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x2e
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x27
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x2c
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x27
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x2d
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x27
jmp 0x10002fd78
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 0x10005fda0
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, [0x100c35068]
lea rcx, [rbp - 0x278]
call fcn.10000f950
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x10005fdef
lea rcx, [0x100d00460]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005fe32
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x10005fe0d
clc
jmp 0x10005fe14
bt dword [0x100c342b8], eax
jb 0x10005fe2a
mov rcx, rbp
call fcn.10005fee0
test al, al
je 0x10005fe2a
mov dil, 1
jmp 0x10005feb0
xor dil, dil
jmp 0x10005feb0
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x1001d0b90]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x10005feb0
and esi, 0x400
je 0x10005feb0
lea rbx, [rbp - 0x278]
lea rdx, [0x100c35068]
mov rcx, rbx
call fcn.10000fa30
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.10005f9d0
test eax, eax
je 0x10005fe8c
sub eax, 1
je 0x10005fea4
jmp 0x10005feac
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.10005fda0
mov dil, al
jmp 0x10005feb0
mov dil, 1
jmp 0x10005feb0
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.10005fd70
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 0x1000602c0
Capabilities:
Get file attributes

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

Function at 0x1000602e0
Capabilities:
Set file attributes

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
test rcx, rcx
jne 0x1000602f2
lea rcx, [0x100d00460]
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x1000602ff
xor ebx, ebx
jmp 0x100060306
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
nop
lea rsp, [rsp + 0x20]
pop rbx
ret

Function at 0x100060430
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 0x1000604b1
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000c2e0
cmp ebx, 1
jle 0x1000604a0
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.10000b860
jmp 0x1000604bc
mov rcx, rsi
mov rdx, r13
call fcn.100009050
nop
mov rcx, rbp
call fcn.100060410
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 0x100060980
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, [0x100d01f90]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100009050
mov eax, ebx
lea rdx, [0x100d01fd0]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x1000609a0
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 0x100060a54
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100009b70
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.1000554d0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100060a54
lea rcx, [0x100060820]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x1000608d0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100060960
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100061110
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.10000ba80
call sub.kernel32.dll_GetEnvironmentStringsW
mov rdi, rax
mov r12, rdi
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.10005c190
jmp 0x100061211
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.10000ba10
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000c740
mov esi, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 8]
mov r8d, 1
lea rcx, [rbp - 0x20]
call fcn.10000c4c0
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.10005c190
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.10000c290
test rax, rax
jne 0x1000611fc
mov r9, qword [rbp - 8]
test r9, r9
je 0x1000611e0
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.10000c4c0
jmp 0x10006121e
mov rcx, r12
call fcn.100004160
shl rax, 1
add rax, r12
add rax, 2
mov r12, rax
cmp word [r12], 0
jne 0x100061178
mov rcx, rdi
call sub.kernel32.dll_FreeEnvironmentStringsW
nop
mov rcx, rbp
call fcn.1000610d0
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 0x100061270
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x100d02010], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x100d01e50], eax
mov eax, dword [rsp + 0x24]
mov dword [0x100d01e60], eax
mov eax, dword [rsp + 0x28]
mov dword [0x100d01e70], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x100d01e80], eax
lea rdx, [0x100d01e91]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.100002ee0
lea rcx, [rsp + 0x34]
call fcn.100004130
mov byte [0x100d01e90], al
lea rcx, [0x100c343e8]
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x100d02020], rax
test rax, rax
je 0x100061318
mov rcx, qword [0x100d02020]
lea rdx, [0x100c343f8]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100d02010], rax
nop
cmp dword [0x100d01e60], 6
jae 0x10006132c
mov dword [0x1001cfe00], 0
nop
cmp dword [0x100d01e60], 6
jb 0x100061348
cmp dword [0x100d01e70], 1
jb 0x100061348
mov dword [0x1001cfe10], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x1000a6ab0
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 0x1000a6ae4
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x1000a6ae6
shr ecx, 1
cmp r8d, 7
jl 0x1000a6ac8
mov edx, eax
lea r9, [0x100d026f0]
mov dword [r9 + rdx*4], ecx
cmp eax, 0xff
jl 0x1000a6ab8
ret

Function at 0x1000a6b10
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, ecx
lea ecx, [r8d - 1]
test ecx, ecx
jl 0x1000a6b60
mov r8d, 0xffffffff
nop word [rax + rax]
add r8d, 1
mov r9b, al
xor r9b, byte [rdx]
and r9d, 0xff
mov r10d, r9d
and r9d, r9d
mov r11d, eax
shr r11d, 8
lea rbx, [0x100d026f0]
xor r11d, dword [rbx + r9*4]
mov eax, r11d
add rdx, 1
cmp ecx, r8d
jg 0x1000a6b28
nop dword [rax]
pop rbx
ret
Function at 0x1000a8850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov r14d, dword [rbx + 0x34]
nop dword [rax]
mov rax, rbx
mov edx, dword [rax + 0x48]
mov ecx, dword [rax + 0x8c]
sub edx, ecx
sub edx, dword [rax + 0x84]
mov esi, edx
test edx, edx
jne 0x1000a889f
mov rax, rbx
cmp dword [rax + 0x84], 0
jne 0x1000a889f
cmp dword [rax + 0x8c], 0
jne 0x1000a889f
mov esi, r14d
jmp 0x1000a8978
cmp esi, 0xffffffff
jne 0x1000a88af
sub esi, 1
jmp 0x1000a8978
mov ecx, dword [rbx + 0x84]
mov eax, r14d
lea rdx, [rax - 0x106]
add rax, rdx
cmp rcx, rax
jl 0x1000a8978
mov rdx, qword [rbx + 0x40]
mov eax, r14d
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x40]
mov r8d, r14d
call fcn.100002ee0
sub dword [rbx + 0x88], r14d
sub dword [rbx + 0x84], r14d
mov eax, r14d
sub dword [rbx + 0x74], eax
mov edi, dword [rbx + 0x64]
mov rdx, qword [rbx + 0x58]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax + rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000a8928
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000a892f
mov word [r12], 0
sub edi, 1
jne 0x1000a8908
mov edi, r14d
mov rdx, qword [rbx + 0x50]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000a8968
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000a896f
mov word [r12], 0
sub edi, 1
jne 0x1000a8948
add esi, r14d
nop
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x1000a8a18
nop dword [rax]
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
mov eax, dword [rax + 0x8c]
add rax, rdx
lea rdx, [rcx + rax]
mov rcx, qword [rbx]
mov r8d, esi
call fcn.1000a8420
mov edi, eax
add dword [rbx + 0x8c], edi
cmp dword [rbx + 0x8c], 3
jb 0x1000a89fc
mov rax, rbx
mov rdx, qword [rax + 0x40]
mov eax, dword [rax + 0x84]
movzx eax, byte [rdx + rax]
mov dword [rbx + 0x60], eax
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
movzx r9d, byte [rcx + rdx + 1]
mov edx, dword [rax + 0x70]
mov r8d, dword [rax + 0x60]
mov ecx, edx
shl r8d, cl
xor r9d, r8d
and r9d, dword [rax + 0x6c]
mov dword [rbx + 0x60], r9d
mov rax, rbx
cmp dword [rax + 0x8c], 0x106
jae 0x1000a8a18
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1000a8868
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x1000cae50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor eax, eax
lea rdx, [rcx + 1]
movzx r8d, byte [rcx]
add r8d, 1
and r8d, 0xff
add rcx, r8
jmp 0x1000cae8b
mov r8d, eax
shl r8d, 5
mov r9d, eax
sub r8d, r9d
movzx r9d, byte [rdx]
xor r8d, r9d
mov eax, r8d
add rdx, 1
cmp rcx, rdx
ja 0x1000cae70
ret