joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1409ff6f2
Capabilities:
Encode data using xor

Disassembly:
sti
invalid
mov dl, 0x4f
nop
cmp dword [0x14c31231a], esp
fisttp qword [rdi - 0xe]
neg rcx
sub edi, esi
jo 0x1409ff60b
div dword [rsi]
jo 0x1409ff60b
sahf
int1
adc dword [rax - 0xa3879e6], esi
cmpsb byte [rsi], byte [rdi]
sub ebp, dword [rbp - 0x2c]
sahf
int1
adc dword [rbp + 0x41], ebp
pop rax
add ch, byte [rdx + rbp*2 - 0x45]
outsb dx, byte [rsi]
movabs byte [0xa5769924ceb490cd], al
jge 0x1409ff632
ficomp dword [0xf2bb1fa8]
sbb eax, 0xb21b294b
mov byte [rdx - 0x49], bl
add eax, 0xe6b7840c
clc
rol dword [rcx], 0x20
xchg r14d, eax
cmp al, 0xc
mov ch, 0xf9
push 0xffffffffffffffc2
sbb al, 0
and byte [rbp - 0x6a], al
mov ch, 0x87
pop rdx
loope 0x1409ff657
sub al, 0x1e
ja 0x1409ff622
or eax, 0xc756bbc5
xchg ebp, eax
invalid
adc byte [rcx], ch
jns 0x1409ff673
invalid
jg 0x140940189
mov rdx, r14
call fcn.1404af9b0
pop rbp
out 0x9c, eax
and al, byte [rax - 0x58316e8]
je 0x1409ff789
sub eax, 0x5319521e
xchg ebp, eax
add eax, 0x82b07e46
add eax, 0xaccd1fc2
loope 0x1409ff6a6
scasd eax, dword [rdi]
mov eax, 0x58abfa65
xchg edx, eax
push rsi
invalid
add eax, 0xcdd11809
loope 0x1409ff7bd
fbld tbyte [rbp + rsi*2 + 0x475843fa]
invalid
mov ah, ah
leave
rcr dword [rdx + rbx*4 + 6], cl
xchg ecx, eax
mov edi, 0xc817f023
xchg dword [rsi + 0x215876f1], esp
lea ebx, [rdi - 0x3f6e2c36]
je 0x1409ff73f
movsb byte [rdi], byte [rsi]
mov al, 0x93
cli
invalid
sub al, 0x70
invalid
Function at 0x100010800
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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

Function at 0x100010850
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, [0x1006f4690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1006f4690]
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, [0x1006f4690]
xor edx, dword [r8 + rcx*4 + 0x634]
mov ecx, eax
lea r8, [0x1006f4690]
mov dword [r8 + rcx*4], edx
cmp eax, 0xe2
jl 0x100010858
mov eax, 0xe2
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1006f4690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1006f4690]
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, [0x1006f4690]
xor edx, dword [r8 + rcx*4 - 0x38c]
mov ecx, eax
lea r8, [0x1006f4690]
mov dword [r8 + rcx*4], edx
cmp eax, 0x26e
jl 0x1000108c8
mov edx, dword [0x1006f4690]
mov ecx, dword [0x1006f504c]
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 [0x1006f4cc0]
mov dword [0x1006f504c], eax
mov dword [0x10028d3d0], 0
ret

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

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov ebx, dword [0x10028d3d0]
add dword [0x10028d3d0], 1
mov eax, dword [0x1006f3020]
cmp eax, dword [0x10028cb70]
jne 0x1000109a9
cmp ebx, 0x271
jb 0x1000109cc
mov ecx, dword [0x1006f3020]
call fcn.100010800
not dword [0x1006f3020]
mov eax, dword [0x1006f3020]
mov dword [0x10028cb70], eax
mov ebx, 0x270
nop
cmp ebx, 0x270
jne 0x1000109e8
call fcn.100010850
xor ebx, ebx
mov dword [0x10028d3d0], 1
nop dword [rax]
and ebx, ebx
lea rax, [0x1006f4690]
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 0x100012ba0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x10028c8d0]
cmp ax, 0xcb
je 0x100012cdc
cmp ax, 0xcc
je 0x100012cdc
nop
mov rax, qword [0x1006f5390]
test rax, rax
je 0x100012bdd
mov ecx, dword [0x1006f5180]
call rax
mov rbx, rax
jmp 0x100012be4
lea rbx, [0x1006f5188]
cmp word [0x1006f5170], 0
jle 0x100012c0c
lea rcx, [0x1006f5140]
call fcn.100012f30
mov rcx, rbx
call fcn.100012660
mov rcx, rbx
call fcn.1000126f0
nop
mov rsi, qword [rbx]
jmp 0x100012c39
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x100012c32
mov rdx, rsi
mov rcx, rbx
call fcn.1000118e0
jmp 0x100012c36
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x100012c18
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x1006f5170], 0
jle 0x100012cdc
lea rdx, [0x1006f5050]
mov rcx, rbx
call fcn.100011a60
mov rsi, rax
test rax, rax
je 0x100012ca8
mov rax, qword [0x1006f50f0]
mov qword [rsi + 0x18], rax
cmp qword [0x1006f50f0], 0
je 0x100012c98
mov rax, qword [0x1006f50f0]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x1006f50f0], rax
nop
sub word [0x1006f5170], 1
cmp word [0x1006f5170], 0
sete bl
lea rcx, [0x1006f5140]
call fcn.100012f70
test bl, bl
je 0x100012cdc
lea rcx, [0x1006f5140]
call fcn.100012f10
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100015550
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 0x10001568e
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.10000c7b0
mov r8, qword [rdi]
test r8, r8
jne 0x1000155df
lea r8, [0x1006f4460]
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
mov edx, ebx
call sub.kernel32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x10001564b
call sub.kernel32.dll_GetLastError
mov ecx, eax
call fcn.1000037a0
lea rcx, [rbp - 0x18]
call fcn.10000b0b0
and esi, 0xff
lea edx, [esi + 0x41]
sub edx, 1
and edx, 0xffff
lea rcx, [rbp - 0x20]
call fcn.10000b5d0
mov rdx, qword [rbp - 0x20]
lea r8, [0x1002b3644]
lea rcx, [rbp - 0x18]
call fcn.10000b470
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.10000bec0
jmp 0x1000156e0
mov eax, ebx
sub rax, 1
mov edx, r12d
cmp rax, rdx
je 0x100015664
mov edx, r12d
mov rcx, rdi
call fcn.10000c7b0
cmp byte [0x10028cb40], 0
jne 0x1000156e0
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000ce20
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000c020
nop dword [rax]
jmp 0x1000156e0
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.10000c7b0
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1000156b6
lea rdx, [0x1006f4460]
mov ecx, ebx
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x10028cb40], 0
jne 0x1000156e0
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000ce20
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000c020
nop
nop
mov rcx, rbp
call fcn.100015520
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 0x100015b10
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 [0x1006f43b0], 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.100015cf0
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x1006f43b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100002f40
call sub.kernel32.dll_GetCommandLineA
mov qword [0x10028c950], rax
mov r14, rax
jmp 0x100015c97
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x100015b98
cmp byte [r14], 0
je 0x100015ca1
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100015c00
mov al, byte [r14]
cmp al, 1
jb 0x100015bf8
sub al, 0x20
jbe 0x100015bd4
sub al, 2
je 0x100015be0
jmp 0x100015bf8
test dil, dil
je 0x100015c06
add ebx, 1
jmp 0x100015bfc
cmp byte [r14 + 1], 0x22
je 0x100015bf0
test dil, dil
sete dil
jmp 0x100015bfc
add r14, 1
jmp 0x100015bfc
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015bc0
test esi, esi
je 0x100015c94
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100015cf0
xor dil, dil
mov r14, r12
mov rdx, qword [0x1006f43b0]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x100015c88
mov al, byte [r14]
cmp al, 1
jb 0x100015c78
sub al, 0x20
jbe 0x100015c4c
sub al, 2
je 0x100015c60
jmp 0x100015c78
test dil, dil
je 0x100015c8e
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x100015c84
cmp byte [r14 + 1], 0x22
je 0x100015c70
test dil, dil
sete dil
jmp 0x100015c84
add r14, 1
jmp 0x100015c84
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015c38
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x100015b9c
mov dword [0x1006f43a0], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x1006f43b0]
call fcn.100012980
mov rax, qword [0x1006f43b0]
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 0x100031600
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 0x1000316b2
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x1000316cf
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 0x1000316cf
sub dx, 0x20
je 0x1000316a8
sub dx, 0x80
je 0x1000316a8
sub dx, 0x1f62
jb 0x1000316cf
sub dx, 1
jbe 0x1000316a8
sub dx, 6
je 0x1000316a8
sub dx, 0x26
jne 0x1000316cf
nop
jmp 0x1000316a8
cmp eax, dword [rbp - 0x2c]
jg 0x100031650
nop dword [rax]
jmp 0x1000316cf
cmp dword [rbp - 0x28], 2
jne 0x1000316c2
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x1000316cf
movzx ecx, byte [rbp - 0x18]
call fcn.10000c320
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x10003174c
sub ax, 0x21
je 0x100031760
sub ax, 0x17
je 0x10003176c
sub ax, 0x222
je 0x100031778
sub ax, 0x392
je 0x100031780
sub ax, 1
je 0x100031788
sub ax, 0x1996
je 0x100031790
sub ax, 1
je 0x100031798
sub ax, 6
je 0x1000317a0
sub ax, 0xb
je 0x1000317b0
sub ax, 0x1b
je 0x1000317a8
sub ax, 0x367
je 0x1000317b8
jmp 0x1000317c0
movzx ecx, word [rbp - 0x30]
call fcn.10000c3d0
mov byte [rbp - 0x1c], al
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x2e
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x27
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x2c
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x27
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x2d
jmp 0x1000317c8
mov byte [rbp - 0x1c], 0x27
jmp 0x1000317c8
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 0x100048ac0
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 0x100048ae0
mov dword [rbx + 0x10], 0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100065930
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, [0x100595b80]
lea rcx, [rbp - 0x278]
call fcn.10000ffc0
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x10006597f
lea rcx, [0x1006f4460]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000659c2
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x10006599d
clc
jmp 0x1000659a4
bt dword [0x100594d18], eax
jb 0x1000659ba
mov rcx, rbp
call fcn.100065a70
test al, al
je 0x1000659ba
mov dil, 1
jmp 0x100065a40
xor dil, dil
jmp 0x100065a40
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x100290720]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x100065a40
and esi, 0x400
je 0x100065a40
lea rbx, [rbp - 0x278]
lea rdx, [0x100595b80]
mov rcx, rbx
call fcn.1000100a0
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.100065560
test eax, eax
je 0x100065a1c
sub eax, 1
je 0x100065a34
jmp 0x100065a3c
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.100065930
mov dil, al
jmp 0x100065a40
mov dil, 1
jmp 0x100065a40
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.100065900
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 0x100065d00
Capabilities:
Get file attributes

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

Function at 0x100065e10
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 0x100065e91
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000c7b0
cmp ebx, 1
jle 0x100065e80
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.10000bd60
jmp 0x100065e9c
mov rcx, rsi
mov rdx, r13
call fcn.100009590
nop
mov rcx, rbp
call fcn.100065df0
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 0x100066360
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, [0x1006f5fc0]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100009590
mov eax, ebx
lea rdx, [0x1006f6000]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x100066380
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 0x100066434
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.10000a0b0
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.100058910
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100066434
lea rcx, [0x100066200]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x1000662b0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100066340
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100066af0
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.100057d00
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.100009590
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.10000af20
mov rcx, rbx
xor edx, edx
call fcn.100009590
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x100066c35
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.10000a000
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x100066b9c
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.10000af20
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000a730
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.10000a5c0
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.100057d00
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.10000a2e0
test rax, rax
jne 0x100066c28
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x100066c0d
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.10000a5c0
jmp 0x100066c3e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x100066b80
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.100066ab0
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 0x100066cb0
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.10000c020
call sub.kernel32.dll_GetEnvironmentStringsW
mov rdi, rax
mov r12, rdi
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.1000618b0
jmp 0x100066db1
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.10000bf10
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000cc10
mov esi, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 8]
mov r8d, 1
lea rcx, [rbp - 0x20]
call fcn.10000c990
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.1000618b0
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.10000c760
test rax, rax
jne 0x100066d9c
mov r9, qword [rbp - 8]
test r9, r9
je 0x100066d80
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.10000c990
jmp 0x100066dbe
mov rcx, r12
call fcn.1000042c0
shl rax, 1
add rax, r12
add rax, 2
mov r12, rax
cmp word [r12], 0
jne 0x100066d18
mov rcx, rdi
call sub.kernel32.dll_FreeEnvironmentStringsW
nop
mov rcx, rbp
call fcn.100066c70
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 0x100066e30
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x1006f6040], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x1006f5e80], eax
mov eax, dword [rsp + 0x24]
mov dword [0x1006f5e90], eax
mov eax, dword [rsp + 0x28]
mov dword [0x1006f5ea0], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x1006f5eb0], eax
lea rdx, [0x1006f5ec1]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.100002f40
lea rcx, [rsp + 0x34]
call fcn.100004290
mov byte [0x1006f5ec0], al
lea rcx, [0x100594e48]
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x1006f6050], rax
test rax, rax
je 0x100066ed8
mov rcx, qword [0x1006f6050]
lea rdx, [0x100594e58]
call sub.kernel32.dll_GetProcAddress
mov qword [0x1006f6040], rax
nop
cmp dword [0x1006f5e90], 6
jae 0x100066eec
mov dword [0x10028df30], 0
nop
cmp dword [0x1006f5e90], 6
jb 0x100066f08
cmp dword [0x1006f5ea0], 1
jb 0x100066f08
mov dword [0x10028df40], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x1000b02a0
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 0x1000b02d4
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x1000b02d6
shr ecx, 1
cmp r8d, 7
jl 0x1000b02b8
mov edx, eax
lea r9, [0x1006f6720]
mov dword [r9 + rdx*4], ecx
cmp eax, 0xff
jl 0x1000b02a8
ret
Function at 0x1000b0300
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, ecx
lea ecx, [r8d - 1]
test ecx, ecx
jl 0x1000b0350
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, [0x1006f6720]
xor r11d, dword [rbx + r9*4]
mov eax, r11d
add rdx, 1
cmp ecx, r8d
jg 0x1000b0318
nop dword [rax]
pop rbx
ret

Function at 0x1000b2040
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 0x1000b208f
mov rax, rbx
cmp dword [rax + 0x84], 0
jne 0x1000b208f
cmp dword [rax + 0x8c], 0
jne 0x1000b208f
mov esi, r14d
jmp 0x1000b2168
cmp esi, 0xffffffff
jne 0x1000b209f
sub esi, 1
jmp 0x1000b2168
mov ecx, dword [rbx + 0x84]
mov eax, r14d
lea rdx, [rax - 0x106]
add rax, rdx
cmp rcx, rax
jl 0x1000b2168
mov rdx, qword [rbx + 0x40]
mov eax, r14d
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x40]
mov r8d, r14d
call fcn.100002f40
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 0x1000b2118
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000b211f
mov word [r12], 0
sub edi, 1
jne 0x1000b20f8
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 0x1000b2158
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000b215f
mov word [r12], 0
sub edi, 1
jne 0x1000b2138
add esi, r14d
nop
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x1000b2208
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.1000b1c10
mov edi, eax
add dword [rbx + 0x8c], edi
cmp dword [rbx + 0x8c], 3
jb 0x1000b21ec
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 0x1000b2208
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1000b2058
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x1000d57e0
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 0x1000d581b
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 0x1000d5800
ret