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

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
sub rsp, 0x20
and dword [rcx + 4], 0
and dword [rcx], 0
mov eax, 0x8000
cmp r8d, eax
mov r12, rcx
mov rcx, qword [rcx + 0x10]
cmovb eax, r8d
mov ebp, r8d
mov rbx, r9
mov r8d, eax
mov rsi, rdx
call fcn.140020e30
xor dil, dil
cmp ebp, 1
jbe 0x14000ca07
lea rcx, [rsi + 1]
lea edx, [rbp - 1]
xor dil, byte [rcx]
inc rcx
sub rdx, 1
jne 0x14000c9fb
mov edx, 8
mov rcx, r12
call fcn.14000af64
and dword [rbx + 0x28], 0
cmp dil, byte [rsi]
jne 0x14000ca79
mov r8d, ebp
mov rdx, rsi
mov rcx, r12
call fcn.14000c864
mov edi, eax
test eax, eax
je 0x14000ca79
mov edx, 1
mov rcx, rbx
call fcn.14000c908
movsxd rcx, dword [rbx + 0x28]
mov rdx, rcx
inc ecx
mov dword [rbx + 0x28], ecx
imul rdx, rdx, 0x38
add rdx, qword [rbx]
lea rax, [rdx + 0xc]
mov dword [rdx], 0x28
mov dword [rax], edi
mov qword [rdx + 0x18], rax
lea rax, [rdx + 0x24]
mov qword [rdx + 0x30], rax
mov eax, 3
mov dword [rdx + 0x20], eax
mov dword [rdx + 8], eax
jmp 0x14000caf9
mov edx, 1
mov rcx, rbx
call fcn.14000c908
movsxd rax, dword [rbx + 0x28]
xor r8d, r8d
mov rcx, rax
inc eax
mov dword [rbx + 0x28], eax
imul rcx, rcx, 0x38
add rcx, qword [rbx]
lea rax, [rcx + 0xc]
mov dword [rcx], 0x16
mov qword [rcx + 0x18], rax
lea rax, [rcx + 0x24]
mov qword [rcx + 0x30], rax
mov eax, 3
mov dword [rcx + 0x20], eax
mov dword [rcx + 8], eax
cmp dword [rbx + 0x28], r8d
jle 0x14000caf9
xor ecx, ecx
mov rdx, qword [rbx]
cmp qword [rcx + rdx + 0x18], 0
jne 0x14000cada
lea rax, [rcx + rdx + 0xc]
mov qword [rcx + rdx + 0x18], rax
cmp qword [rcx + rdx + 0x30], 0
jne 0x14000caec
lea rax, [rcx + rdx + 0x24]
mov qword [rcx + rdx + 0x30], rax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx + 0x28]
jl 0x14000cac5
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14000e68c
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movdqu xmm2, xmmword [rcx + 8]
mov r10, rcx
lea r11, [rcx + 0x18]
test r8, r8
je 0x14000e709
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
dec ecx
movdqu xmm1, xmmword [r11 + rax*8]
pxor xmm1, xmm3
test ecx, ecx
jle 0x14000e6df
movsxd rax, ecx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec ecx
sub rax, 0x10
aesdec xmm1, xmm0
test ecx, ecx
jg 0x14000e6cc
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x14000e6f4
pxor xmm1, xmm2
mov rax, r9
add r9, 0x10
sub r8, 1
movdqa xmm2, xmm3
movdqu xmmword [rax], xmm1
jne 0x14000e69d
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x14000e710
Capabilities:
Encode data using xor

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, 0x40
mov ebp, dword [rcx + 4]
mov rsi, rcx
lea rcx, [rax - 0x38]
mov r8d, 0x20
sub ebp, 6
call fcn.140020e30
xor edi, edi
xor r9d, r9d
xor edx, edx
xor r8d, r8d
movsxd r10, ebp
lea r14d, [rdi + 4]
test ebp, ebp
jle 0x14000e7a1
xor r11d, r11d
cmp edi, dword [rsi + 4]
jg 0x14000e7a1
cmp rdx, r10
jge 0x14000e78c
lea rbx, [rsp + rdx*4 + 0x20]
cmp r8, r14
jge 0x14000e78f
mov eax, dword [rbx]
lea rcx, [r11 + r8]
inc rdx
add rbx, r14
inc r9d
inc r8
cmp rdx, r10
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14000e76c
cmp r8, r14
jne 0x14000e79c
inc edi
add r11, r14
xor r9d, r9d
xor r8d, r8d
cmp rdx, r10
jl 0x14000e75d
cmp edi, dword [rsi + 4]
movsxd rbx, edi
movsxd r11, r9d
jg 0x14000e903
lea r12, [0x140040be0]
lea r15, [0x140040d00]
movzx ecx, byte [rsp + r10*4 + 0x1d]
mov al, byte [rsp + 0x20]
xor al, byte [rcx + r15]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + r10*4 + 0x1e]
mov al, byte [rax + r15]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + r10*4 + 0x1f]
mov al, byte [rax + r15]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + r10*4 + 0x1c]
mov al, byte [rax + r15]
xor byte [rsp + 0x23], al
mov al, byte [r12]
inc r12
xor byte [rsp + 0x20], al
cmp ebp, 8
je 0x14000e839
cmp r10, 1
jle 0x14000e8b5
lea rdx, [rsp + 0x24]
lea r8, [r10 - 1]
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, r14
jl 0x14000e81f
add rdx, r14
sub r8, 1
jne 0x14000e81d
jmp 0x14000e8b5
lea rcx, [rsp + 0x24]
mov r8d, 3
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14000e847
sub r8, 1
jne 0x14000e844
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + r15]
xor byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x2d]
mov al, byte [rax + r15]
xor byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x2e]
mov al, byte [rax + r15]
xor byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x2f]
mov al, byte [rax + r15]
xor byte [rsp + 0x33], al
cmp r10, 5
jle 0x14000e8b5
lea rcx, [rsp + 0x34]
lea r8, [r10 - 5]
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14000e8a1
sub r8, 1
jne 0x14000e89e
xor edx, edx
test ebp, ebp
jle 0x14000e8fa
cmp edi, dword [rsi + 4]
jg 0x14000e903
cmp rdx, r10
jge 0x14000e8e8
lea r8, [rsp + rdx*4 + 0x20]
cmp r11, r14
jge 0x14000e8eb
mov eax, dword [r8]
lea rcx, [r11 + rbx*4]
inc rdx
add r8, r14
inc r11
cmp rdx, r10
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14000e8ca
cmp r11, r14
jne 0x14000e8f5
inc edi
inc rbx
xor r11d, r11d
cmp rdx, r10
jl 0x14000e8bb
cmp edi, dword [rsi + 4]
jle 0x14000e7be
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14000e924
Capabilities:
Encode data using xor

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 r13
sub rsp, 0x30
mov edi, 1
mov rbx, rcx
cmp dword [rcx + 4], edi
jle 0x14000e9ee
lea rsi, [rcx + 0x2a]
lea r13, [0x140000000]
xor r9d, r9d
lea r11, [rsp + r9 + 0x20]
mov r10, rsi
mov ebp, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r13 + 0x3dbe0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r13 + 0x3e3e0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r13 + 0x3e7e0]
lea rcx, [r9 + rax*4]
add r10, 4
xor r8b, byte [rcx + r13 + 0x3dfe0]
mov byte [r11], r8b
add r11, 4
sub rbp, 1
jne 0x14000e969
inc r9
cmp r9, 4
jl 0x14000e95c
movsxd rax, edi
lea r8d, [rbp + 0x10]
lea rdx, [rsp + 0x20]
add rax, rax
lea rcx, [rbx + rax*8 + 0x18]
call fcn.140020e30
inc edi
add rsi, 0x10
cmp edi, dword [rbx + 4]
jl 0x14000e959
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
ret
Function at 0x14000f59c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
mov rdi, rcx
cmp rax, rbx
mov r8, rbx
mov rcx, r9
cmovb r8, rax
mov rsi, r9
add r8, r8
call fcn.140020e30
mov r9b, byte [rdi + 0x101]
mov r8b, byte [rsp + 0x58]
lea rdx, [rbx + rbx]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000f430

Function at 0x14000f7c4
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x170
xor ebp, ebp
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp qword [0x1400380f8], rbp
jne 0x14000f82e
lea r9d, [rbp + 0x64]
lea r8, [rax - 0xd8]
lea edx, [rbp + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r11d, word [rsp + 0xa0]
lea rax, [0x140055764]
mov word [0x140055764], r11w
mov word [0x140055766], bp
mov qword [0x1400380f8], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140014154
lea r9, [0x1400380e0]
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
mov dword [rsp + 0x28], edi
mov word [rbx], bp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea r11, [rsp + 0x170]
mov word [rbx + rdi*2 - 2], bp
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000f8b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, [rsp + 0x48]
mov ebx, edx
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x40]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000fe74
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x820
mov rbx, rcx
mov rdx, rcx
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rbx
call fcn.1400141d4
mov rbx, rax
test rax, rax
je 0x14000fed0
movzx ecx, word [rax]
jmp 0x14000feb7
add rbx, 2
movzx ecx, word [rbx]
call fcn.1400140b4
test al, al
jne 0x14000feb0
lea rcx, str.sfxpar
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x820
pop rbx
ret
Function at 0x140010004
Capabilities:
Query environment variable

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
mov eax, 0x2020
call fcn.14002e7c0
sub rsp, rax
xor r12d, r12d
mov rsi, r8
mov rbx, rcx
cmp r9, r12
je 0x140010037
mov byte [r9], r12b
mov rcx, qword [rsp + 0x2050]
cmp rcx, r12
je 0x140010047
mov byte [rcx], r12b
cmp rbx, r12
je 0x1400100fe
movzx eax, word [rbx]
cmp ax, r12w
je 0x1400100fe
movsxd rbp, dword [rsp + 0x2058]
mov rdi, r12
mov r8d, r12d
add rbx, 2
cmp ax, 0x3d
jne 0x14001008d
cmp rsi, r12
je 0x140010099
cmp rdi, r12
jne 0x140010099
cmp r9, r12
je 0x140010088
mov byte [r9], 1
mov rdi, rdx
jmp 0x1400100a8
cmp ax, 0xd
je 0x1400100bb
cmp ax, 0xa
je 0x1400100bf
mov word [rdx], ax
lea eax, [rbp - 2]
add rdx, 2
cmp r8d, eax
jge 0x1400100b6
mov ax, word [rbx]
inc r8d
cmp ax, r12w
jne 0x14001006b
jmp 0x1400100bf
mov byte [rcx], 1
jmp 0x1400100bf
add rbx, 2
mov word [rdx], r12w
cmp rsi, r12
je 0x1400100f9
mov word [rsi], r12w
cmp rdi, r12
je 0x1400100f9
lea rdx, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsp + 0x20]
mov r8, rbp
mov rcx, rsi
call fcn.1400140d0
mov word [rdi], r12w
mov rax, rbx
jmp 0x140010100
xor eax, eax
lea r11, [rsp + 0x2020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x140010120
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1060
call fcn.14002e7c0
sub rsp, rax
lea rcx, [rsp + 0x60]
mov edx, 0x800
call fcn.14001fbf4
xor ebx, ebx
cmp byte [0x140049e79], bl
jne 0x1400101b9
lea rcx, [rsp + 0x60]
call fcn.14000bdd0
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.1400156f4
cmp eax, ebx
jne 0x1400101b9
lea rcx, [0x140030e60]
call fcn.14001fbdc
lea rcx, [rsp + 0x60]
call fcn.1400209c4
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
xor edx, edx
mov word [rsp + rax*2 + 0x62], bx
call fcn.140020a40
lea eax, [rbx + 0x14]
lea rcx, [rsp + 0x20]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x1060
pop rbx
ret

Function at 0x1400102e0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x140049e58], 0
mov edx, 1
mov rbx, rcx
mov byte [0x140049e47], 1
mov byte [0x140049e46], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.140006d64
cmp qword [0x140049e98], 0
jne 0x14001032b
cmp byte [0x140049e78], 0
je 0x140010334
cmp dword [0x140049e5c], 0
jne 0x140010349
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret
Function at 0x1400103a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.14002e7c0
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x140049ec8], dil
je 0x140010469
cmp word [0x140040e30], di
je 0x140010469
lea rdx, [rsp + 0x50]
lea rcx, [0x140040e30]
call fcn.140010350
lea r11, [rsp + 0x1068]
lea rax, [rsp + 0x1070]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, str.SoftwareWinRAR_SFX
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x140010469
mov rcx, rbx
call fcn.1400209c4
lea r9d, [rdi + 1]
lea rdx, [rsp + 0x50]
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1070]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret

Function at 0x14001047c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x2040
call fcn.14002e7c0
sub rsp, rax
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp byte [0x140049ec8], sil
je 0x140010564
lea rdx, [rsp + 0x1040]
call fcn.140010350
lea r11, [rsp + 0x30]
lea r9d, [rsi + 1]
lea rdx, str.SoftwareWinRAR_SFX
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x140010564
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x2060]
lea r9, [rsp + 0x2068]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x1040]
xor r8d, r8d
mov dword [rsp + 0x2060], 0x1000
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x140010559
mov edx, dword [rsp + 0x2060]
mov ecx, 0x7ff
mov r8, rdi
shr edx, 1
cmp edx, ecx
mov eax, edx
mov dword [rsp + 0x2060], edx
cmovb rcx, rax
lea rdx, [rsp + 0x40]
mov word [rsp + rcx*2 + 0x40], si
mov rcx, rbx
call fcn.1400140d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400138f4
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x140013b60
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x140013f00
Capabilities:
Hash data using sha256

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
sub rsp, 0x140
mov rsi, qword [rcx + 0x20]
mov edi, dword [rcx + 0x20]
lea rbp, [rcx + 0x30]
shl rsi, 3
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov r12, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x140013f51
and edi, 0x3f
jne 0x140013f4c
mov rcx, rbx
call fcn.140013ba0
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x140013f3f
movsxd rax, edi
lea edx, [rdi - 0x30]
lea rcx, [rax + rbx + 0x30]
mov rax, rsi
shl rsi, 8
shr rax, 0x38
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140013f63
mov rcx, rbx
call fcn.140013ba0
xor r11d, r11d
xor r8d, r8d
mov eax, r11d
mov ecx, 3
inc r11d
and eax, 3
sub ecx, eax
mov rax, r8
inc r8
shr rax, 2
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r12], dl
inc r12
cmp r11d, 0x20
jb 0x140013f87
and qword [rbx + 0x20], 0
lea rcx, [rsp + 0x20]
mov edx, 0x20
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.14000f584
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.14000f584
mov edx, 0x40
mov rcx, rbp
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
jmp fcn.14000f584

Function at 0x14001494c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
cmp dword [rcx], esi
jbe 0x1400149f7
lea rdi, [rcx + 8]
lea rax, [rsp + 0x40]
lea r8, [0x1400148cc]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x1400149cd
lea rdx, str.CreateThread_failed
lea rcx, [0x14003bb98]
call fcn.1400071d8
lea rcx, [0x14003bb98]
call fcn.140007034
lea edx, [rbp + 2]
lea rcx, [0x14003bb98]
call fcn.1400070b0
mov qword [rdi], rbp
inc dword [rbx + 0x108]
mov edx, dword [0x140057de4]
test edx, edx
je 0x1400149e9
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc esi
add rdi, 8
cmp esi, dword [rbx]
jb 0x140014971
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14001ee30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
jmp 0x14001eeaf
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x90]
mov r8, qword [rcx]
call qword [r8 + 0x1c0]
cmp dword [rsp + 0x90], 4
je 0x14001eebe
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001eeaf
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x2710
jbe 0x14001ee4a
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x20]
and qword [rsp + 0x20], 0
mov r11d, 3
mov dword [rsp + 0x38], 0x96
lea r9, [rsp + 0x30]
mov word [rsp + 0x30], r11w
mov rax, qword [rcx]
lea edx, [r11 + 0x3c]
lea r8d, [r11 - 1]
call qword [rax + 0x1b0]
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x14001f2d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
xor ebx, ebx
mov r12, r8
mov rdi, rdx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
mov rax, qword [rdi]
lea rdx, [rsp + 0x98]
mov rcx, rdi
call qword [rax + 0x90]
cmp eax, ebx
jl 0x14001f328
cmp qword [rsp + 0x98], rbx
jne 0x14001f37d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0x7d0
ja 0x14001f37d
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, ebx
je 0x14001f306
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14001f306
mov rax, qword [rdi]
lea rdx, [rsp + 0x98]
mov rcx, rdi
call qword [rax + 0x90]
cmp eax, ebx
mov edi, eax
jl 0x14001f412
mov rcx, qword [rsp + 0x98]
cmp rcx, rbx
je 0x14001f409
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
lea rdx, [0x140031ce8]
call qword [rax]
cmp eax, ebx
mov edi, eax
jl 0x14001f3f3
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp eax, ebx
mov edi, eax
jl 0x14001f3e5
mov rcx, qword [rsp + 0xa8]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x98]
cmp edi, ebx
jl 0x14001f412
cmp rcx, rbx
jne 0x14001f47f
cmp qword [rsi + 0x10], rbx
je 0x14001f47f
cmp qword [rsi + 0x30], rbx
jne 0x14001f47f
mov rdx, qword [rsi + 0x28]
cmp rdx, rbx
je 0x14001f47f
mov rcx, rsi
call fcn.14001f074
mov rbp, rax
cmp rax, rbx
je 0x14001f47f
mov rcx, qword [rsi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
lea edx, [r9 + 1]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0x10]
mov rdx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbp
call fcn.1400208b0
lea r11, [rsp + 0x70]
cmp edi, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
setge al
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x14001fbdc
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret

Function at 0x14001fbf4
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret
Function at 0x14002571c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140028a78
nop
cmp dword [0x140058158], 1
je 0x1400256c8
mov dword [0x140058154], 1
mov byte [0x140058150], r12b
test ebx, ebx
jne 0x1400256b4
mov rcx, qword [0x140059170]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400256a1
mov rcx, qword [0x140059168]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140025640
call fcn.1400223c8
cmp qword [rdi], rax
jne 0x140025640
jmp 0x140025626
cmp rdi, rsi
jb 0x1400256a1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400223c8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140059170]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140059168]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002567f
cmp r13, rax
je 0x14002569f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140025626
lea rdx, [0x1400307d8]
lea rcx, [0x1400307c0]
call fcn.140025470
lea rdx, [0x1400307e8]
lea rcx, [0x1400307e0]
call fcn.140025470
nop
test r12d, r12d
je 0x1400256d7
mov ecx, 8
call fcn.140028978
test r12d, r12d
jne 0x140025702
mov dword [0x140058158], 1
lea ecx, [r12 + 8]
call fcn.140028978
mov ecx, r15d
call fcn.140025404
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140025590

Function at 0x140025728
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140025590