joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019750
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x120
mov rax, qword [0x1400454c0]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor ebx, ebx
lea rdx, [rsp + 0x20]
lea ecx, [rbx + 0x1e]
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp di, ax
jne 0x1400197f4
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, ebx
nop dword [rax + rax]
cmp ax, word [rsp + rcx*8 + 0x20]
jne 0x1400197ac
mov rbx, qword [rsp + rcx*8 + 0x20]
cmp ax, word [rsp + rcx*8 + 0x28]
jne 0x1400197b8
mov rbx, qword [rsp + rcx*8 + 0x28]
cmp ax, word [rsp + rcx*8 + 0x30]
jne 0x1400197c4
mov rbx, qword [rsp + rcx*8 + 0x30]
cmp ax, word [rsp + rcx*8 + 0x38]
jne 0x1400197d0
mov rbx, qword [rsp + rcx*8 + 0x38]
cmp ax, word [rsp + rcx*8 + 0x40]
jne 0x1400197dc
mov rbx, qword [rsp + rcx*8 + 0x40]
cmp ax, word [rsp + rcx*8 + 0x48]
jne 0x1400197e8
mov rbx, qword [rsp + rcx*8 + 0x48]
add rcx, 6
cmp rcx, 0x1e
jl 0x1400197a0
jmp 0x140019849
mov rax, rbx
cmp di, word [rsp + rax*8 + 0x20]
jne 0x140019803
mov rbx, qword [rsp + rax*8 + 0x20]
cmp di, word [rsp + rax*8 + 0x28]
jne 0x14001980f
mov rbx, qword [rsp + rax*8 + 0x28]
cmp di, word [rsp + rax*8 + 0x30]
jne 0x14001981b
mov rbx, qword [rsp + rax*8 + 0x30]
cmp di, word [rsp + rax*8 + 0x38]
jne 0x140019827
mov rbx, qword [rsp + rax*8 + 0x38]
cmp di, word [rsp + rax*8 + 0x40]
jne 0x140019833
mov rbx, qword [rsp + rax*8 + 0x40]
cmp di, word [rsp + rax*8 + 0x48]
jne 0x14001983f
mov rbx, qword [rsp + rax*8 + 0x48]
add rax, 6
cmp rax, 0x1e
jl 0x1400197f7
mov rax, rbx
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140022700
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rdi
ret
Function at 0x140019bb0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1400454c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
or esi, 0xffffffff
mov r14, r8
mov rbp, rdx
test rdx, rdx
je 0x140019cc6
mov qword [r11 + 8], rbx
mov qword [r11 - 0x20], rdi
lea edx, [rsi + 2]
mov rcx, rbp
mov qword [r11 - 0x28], r15
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
xor ebx, ebx
lea rdi, [0x140043ba0]
lea r15, [0x140043ba4]
nop word [rax + rax]
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.140022810
movsxd rax, ebx
mov rcx, r14
imul rdx, rax, 0x2c
add rdx, r15
call fcn.140023394
test eax, eax
je 0x140019cac
mov ecx, dword [rdi]
mov eax, ecx
dec eax
je 0x140019c55
dec eax
je 0x140019c4e
cmp eax, 2
jne 0x140019c5a
lea ecx, [rax + 0xe]
jmp 0x140019c5a
mov ecx, 0x11
jmp 0x140019c5a
mov ecx, 0x12
mov r8, rbp
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ecx, eax
lea eax, [rbx - 0xf]
shl ecx, 0x10
or ecx, 1
cmp eax, 3
ja 0x140019c79
bts ecx, 0x18
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140023394
test eax, eax
je 0x140019cac
inc ebx
add rdi, 0x2c
cmp ebx, 0x42
jl 0x140019c10
jmp 0x140019cae
mov esi, ebx
mov rdi, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x270]
mov r15, qword [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, esi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140022700
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x14001eb50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov r12, r9
mov r13, r8
mov rbx, rdx
mov r14, rcx
call fcn.14001e950
xor edi, edi
lea r8d, [rdi + 5]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14001ec69
mov r8d, 0xf0
mov rdx, rbx
mov rcx, r14
mov qword [rsp + 0x68], r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15d, edi
test rax, rax
je 0x14001ebc7
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x60], rbp
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001ec4b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14001ec4b
mov rdx, r15
mov rcx, rax
call fcn.140020360
mov r9, r12
mov r8, r13
mov rsi, rax
mov rax, qword [rsp + 0x80]
mov rcx, r14
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rdi, rax
test rax, rax
jne 0x14001ec2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x14001ec53
test rsi, rsi
je 0x14001ec53
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14001ec53
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r15, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
test ebx, ebx
je 0x14001ec69
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140020700
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400454c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x140020744
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140022700
add rsp, 0x40
pop rbx
ret
lea rax, [rsp + 0x30]
lea r8, [0x14001fb30]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140020785
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140022700
add rsp, 0x40
pop rbx
ret
Function at 0x1400208f0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp byte [0x140048029], 0
mov esi, edx
mov rbx, rcx
je 0x140020916
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor ecx, ecx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x14002095c
cmp eax, 0x80010106
jne 0x1400209bc
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140020960
mov eax, edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov byte [rbx + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
call fcn.14001fb80
cmp al, 1
jne 0x1400209ac
mov edx, esi
mov rcx, rbx
call fcn.1400200e0
mov edi, eax
test eax, eax
jne 0x14002099e
mov rcx, rbx
call fcn.1400202f0
mov rcx, rbx
call fcn.14001ff50
mov edi, eax
jmp 0x1400209b0
js 0x1400209b0
mov rcx, rbx
call fcn.14001ff50
mov edi, eax
jmp 0x1400209b0
mov edi, dword [rsp + 0x40]
cmp byte [rbx + 0x62], 0
je 0x1400209bc
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret

Function at 0x140020b00
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
lea r8, str.HKAB32DBA6DDE1
xor ecx, ecx
lea edx, [rbx + 1]
mov esi, r9d
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140020b51
xor ecx, ecx
call fcn.14001f9e0
test al, al
je 0x140020b51
lea rcx, [0x140048250]
mov edx, esi
call fcn.1400208f0
mov ebx, eax
test rdi, rdi
je 0x140020b5f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140023f94
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140023dfc
Function at 0x140001450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rsp + 0x70]
lea r11d, [rdx - 0x710]
mov ebp, dword [rsp + 0x60]
lea r9d, [rdx - 0x952]
mov r8d, ecx
add ebp, 0x179b
xor r8d, 0x3078
lea esi, [rbx + 0x3b9]
xor ebx, 0x970
lea eax, [rbx - 0xcd2]
cmp r11d, eax
je 0x1400015f1
lea eax, [r9 + 0x242]
cmp r8d, eax
jge 0x14000164e
mov r8, qword [rsp + 0x68]
cmp dword [r8 + 0x90], 0x9218
je 0x1400014d5
lea rax, [0x14002bee0]
mov qword [r8 + 0xb0], rax
xor r9d, r9d
mov rax, qword [section..data]
mov rcx, qword [rax + 0xb0]
mov eax, 0x14350e
sub eax, dword [r8 + 0x34]
sub eax, dword [r8 + 0x110]
mov edx, dword [r9 + rcx]
add r9, 4
add dword [r8 + 0x54], eax
movsxd rcx, dword [0x14002b080]
movzx eax, byte [r8 + 0x60]
movzx edx, dl
imul edx, eax
mov rax, qword [0x14002b0c8]
mov byte [rcx + rax], dl
mov ecx, 0xffe8c0a1
inc dword [0x14002b080]
mov eax, dword [0x14002b0bc]
add eax, 0xfff257cc
xor dword [r8 + 0x90], eax
mov rax, qword [section..data]
sub ecx, dword [rax + 0x54]
sub ecx, dword [r8 + 0x44]
add dword [r8 + 0xac], ecx
mov rax, qword [section..data]
mov ecx, dword [rax]
mov eax, dword [0x14002b0f0]
add eax, 0xffffffec
add ecx, eax
mov eax, 0x728baf23
add dword [r8 + 0x68], ecx
mov ecx, 0xd8d41
sub eax, dword [r8 + 0x114]
sub eax, dword [0x14002b020]
add dword [r8], eax
mov eax, 1
sub eax, dword [r8 + 0xe0]
sub eax, dword [r8 + 0x14]
add dword [r8 + 0x110], eax
sub ecx, dword [r8 + 0xf8]
mov rax, qword [section..data]
add dword [rax], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14]
add dword [r8 + 0x128], ecx
mov rax, qword [section..data]
mov ecx, dword [r8 + 0x128]
xor ecx, dword [rax + 0xe0]
xor ecx, 0x1b0e94
mov dword [rax + 0xe0], ecx
cmp r9, 0xd0b0
jl 0x1400014d8
mov dword [r8 + 0x60], 0xb6db6db7
jmp 0x14000164e
mov eax, dword [0x14002b0f8]
mov rdi, qword [rsp + 0x68]
imul eax, r8d
imul ecx, eax, 0x2a4a
cmp dword [rdi + 0x114], ecx
je 0x14000164e
mov r10d, dword [0x14002b024]
mov eax, ebx
mov edx, dword [0x14002b084]
or r10d, r11d
sub r11d, dword [rdi + 0x64]
sub eax, r8d
sub edx, dword [rdi + 0x90]
and r10d, ebp
add r9d, 0x16ec
mov dword [rsp + 0x28], r10d
xor r9d, esi
mov dword [rsp + 0x20], eax
mov r8, rdi
mov ecx, r11d
call fcn.140012e38
mov rbp, qword [rsp + 0x48]
lea eax, [rbx - 0xb63]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140003ae0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

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
mov eax, dword [0x140048d14]
mov r13d, 1
sub eax, r13d
movsxd rbx, edx
mov dword [0x140048d14], eax
xor edx, edx
movsxd r8, eax
mov r10, rcx
mov rax, qword [0x140048d08]
movzx r9d, word [rax + r8*2]
mov rax, qword [rcx + rbx*8]
movzx r8d, word [0x140048d00]
mov rcx, qword [0x140048cf8]
div r9
mov edx, 0x100b
mov r9d, ebx
mov rsi, rax
shl r9d, 2
movzx eax, word [0x140048cb0]
sub edx, r8d
add ax, r13w
movsxd r14, edx
movzx r15d, ax
movsxd rdx, r9d
movsxd rbp, dword [rcx + rdx*4]
mov rcx, qword [0x140048d58]
movzx edx, word [rcx + r8*2]
add dword [0x140048cf4], r13d
or rbp, rdx
mov word [0x140048cb0], ax
movzx eax, word [0x140048cdc]
mov r12d, eax
add ax, r13w
mov word [0x140048cdc], ax
lea eax, [r9 + 2]
movzx edi, byte [r15 + rsi + 6]
movsxd rcx, eax
cmp rdi, qword [r10 + rcx*8]
jbe 0x140003c5c
mov rax, rbx
lea r9, [r10 + 0x10]
shl rax, 5
lea r8, [r10 + 0x30]
add r9, rax
lea r8, [r8 + rbx*8]
mov ecx, dword [0x140048cb4]
lea r9, [r9 - 0x20]
mov eax, dword [0x140048d10]
sub ecx, r13d
add eax, ecx
mov dword [0x140048cb4], ecx
cdqe
mov dword [0x140048ce8], edi
or qword [r8 + 0xf8], rax
mov eax, 0x1b2
movsxd rcx, dword [0x140048cb4]
add eax, edi
movzx edx, word [r12 + rcx*8]
mov ecx, dword [0x140048d14]
xor dx, ax
sub dx, word [r14 + rsi*8 + 8]
mov eax, 0xa80a80a9
sub dx, word [0x140048cdc]
mov word [0x140048cdc], dx
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xc3
sub ecx, eax
sub ecx, ebx
sub ebx, r13d
lea eax, [rdi + rcx]
add edi, r13d
cdqe
add qword [r8], rax
lea r8, [r8 - 8]
movsxd rax, edi
cmp rax, qword [r9]
ja 0x140003bc7
movsxd rax, dword [rbp + 0x2c08]
xor edx, edx
or qword [r10 + rsi*8], rax
lea eax, [rbx + 2]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
movsxd rcx, eax
mov eax, 0xe29
sub eax, ebx
movsxd r9, ebx
cdqe
or qword [r10 + rcx*8], rax
movsxd rax, dword [0x140048ce8]
movzx ecx, word [0x140048d04]
div rsi
xor edx, edx
mov r8, rax
sub r8d, dword [0x140048d30]
add r8d, ebx
mov rbx, qword [rsp + 0x28]
mov dword [0x140048d30], r8d
movzx eax, byte [r9 + r15]
div ecx
movsxd rcx, r8d
xor edx, edx
mov word [0x140048d04], ax
mov rax, r9
sub rcx, qword [r14 + r9*8]
mov qword [r14 + r9*8], rcx
div qword [r14 + rsi*8 + 0x40]
movzx ecx, word [0x140048cdc]
movsxd r8, dword [0x140048cb4]
xor rax, 0x89b
mov rsi, qword [rsp + 0x38]
imul rax, rcx
or qword [r10 + r8*8], rax
mov eax, 0xffff
add word [0x140048cdc], ax
movzx eax, word [0x140048d00]
mov eax, dword [r10 + rax*8]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140003d1c
Capabilities:
Create pipe
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rsp + 0xa0]
lea r12d, [rdx + 0x259]
mov esi, ecx
lea r13d, [rdx + 0x35f]
add edx, 0x952
lea ebp, [r8 - 0x192c]
add r9d, 0x850
mov dword [rsp + 0x90], edx
mov eax, dword [rdi + 0x64]
lea r8d, [rcx - 0x185b]
xor esi, 0x3211
mov dword [rsp + 0x88], r8d
cmp dword [rdi + 0x68], eax
ja 0x140003d8d
mov eax, 0x16d813
sub eax, dword [rdi + 0x78]
add dword [rdi + 0x70], eax
jmp 0x140003da3
mov rcx, qword [section..data]
mov eax, dword [rcx + 0xec]
add eax, dword [rcx + 0x14]
add eax, dword [rdi + 0x34]
add dword [rcx + 0x78], eax
mov rax, qword [rdi + 0xc0]
mov qword [rdi + 0xb8], rax
cmp r9d, edx
jl 0x140003ee0
lea eax, [r13 - 0xbaf]
cmp r12d, eax
jl 0x140003dd1
sub esi, 0xbfa
jmp 0x140003ee0
sub r9d, dword [rdi + 0x100]
cmp dword [0x14002b0f0], r9d
jne 0x140003ee0
mov rcx, qword [section..data]
mov dword [rsp + 0x80], ebp
mov eax, dword [rcx + 0x68]
sub eax, dword [rdi + 0x114]
imul eax, dword [rdi + 0x128]
cmp ebp, eax
jbe 0x140003ee0
movsxd r14, ebp
mov r15d, r8d
or r14, 0x3bbe
xor r15d, 0x16ec
mov ecx, dword [rcx + 0x74]
mov eax, r8d
xor rcx, rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r10, qword [section..data]
mov edx, r12d
and edx, dword [rdi + 0xa4]
mov ecx, r13d
mov ebx, dword [rdi + 0x6c]
mov r9d, dword [rdi + 0xcc]
sub ebx, 0x185b
mov r11d, dword [r10 + 0xa8]
add r9d, esi
sub r11d, dword [rsp + 0x90]
add r9d, ebp
mov r8d, dword [0x14002b05c]
sub ecx, dword [0x14002b074]
xor r8d, 0x23be
mov eax, dword [r10 + 0x104]
add r11d, dword [rdi + 0x68]
or rcx, rax
imul edx, dword [rsp + 0x88]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edx, dword [rsp + 0x80]
mov rcx, qword [section..data]
inc edx
mov r8d, dword [rsp + 0x88]
mov dword [rsp + 0x80], edx
mov eax, dword [rcx + 0x68]
sub eax, dword [rdi + 0x114]
imul eax, dword [rdi + 0x128]
cmp edx, eax
ja 0x140003e1f
lea eax, [rsi + 0xe87]
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400044f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, dword [rsp + 0x98]
lea ebp, [r9 + 0x850]
mov eax, dword [rsp + 0xa0]
lea r15d, [rcx - 0x23be]
mov rdi, qword [rsp + 0x90]
add edx, 0x1b0
mov ebx, r14d
mov dword [rsp + 0x98], edx
mov esi, eax
mov r8d, r14d
lea r13d, [rax - 0x192c]
xor ebx, 0x3c39
lea eax, [rdx - 0x179b]
xor esi, 0x192c
xor r8d, 0x367a
xor r14d, 0x1da
cmp r13d, eax
jge 0x14000472f
lea eax, [rbp + 0x242]
cmp r14d, eax
jge 0x14000472f
mov eax, r8d
xor eax, 0x3ca6
cmp ebp, eax
jge 0x1400046a5
mov r8d, edx
lea r10, [0x14002b010]
mov qword [r11 - 0x38], r10
lea eax, [r13 + 0x23d5]
mov ecx, r15d
lea edx, [rbx + 0x4cd]
xor ecx, 0x1caf
mov r9d, r14d
mov dword [rsp + 0x28], ecx
xor r9d, 0x3f1c
mov ecx, ebx
mov dword [rsp + 0x20], eax
xor r8d, 0x37ab
call fcn.140001b60
mov edx, dword [rsp + 0x98]
lea r9d, [rbx - 0x5c3]
mov ebp, eax
lea ecx, [r14 + 0xd3b]
mov eax, dword [rdi + 4]
add edx, 0xffffeaa5
sub dword [rdi + 0x80], eax
mov r8, rdi
mov eax, esi
xor eax, 0x24db
mov dword [rsp + 0x20], eax
call fcn.140012bc4
mov ecx, dword [0x14002b124]
mov r12d, eax
cmp dword [rdi + 0x128], ecx
je 0x14000463b
mov rcx, qword [section..data]
mov edx, 0x13d19e
sub edx, dword [rcx + 0x110]
sub edx, dword [rdi + 0x74]
add dword [rdi + 0x38], edx
mov eax, r15d
lea r9d, [r15 + 0x185b]
mov edx, esi
mov ecx, r13d
xor eax, 0x23d5
xor ebp, 0x3366
xor edx, 0x2a4a
mov dword [rsp + 0x28], ebp
xor ecx, 0x24db
mov dword [rsp + 0x20], eax
mov r8, rdi
call fcn.140012e38
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x90]
cmp dword [rdi + 0x114], eax
jb 0x14000469a
mov eax, dword [rcx + 0x114]
xor eax, dword [0x14002b12c]
sub eax, 0x125542
mov dword [rcx + 0x70], eax
xor ebx, 0x3f11
jmp 0x140004732
mov eax, dword [0x14002b01c]
mov r12d, ebx
imul eax, ebp
cmp ebx, eax
jb 0x14000472f
mov r14d, ebp
mov r15d, ebp
or r14d, r8d
sub r15d, ebx
mov rax, qword [section..data]
mov ecx, esi
or ecx, dword [rdi + 0x11c]
mov edx, r14d
sub ecx, dword [rdi + 0x14]
mov r9, rdi
xor edx, dword [rdi + 0xec]
mov r8d, dword [rax + 0xc8]
and r8d, ebx
mov dword [rsp + 0x20], r8d
mov r8d, r15d
call fcn.1400073c8
mov rcx, qword [section..data]
mov r13d, eax
mov edx, dword [rcx]
and edx, dword [0x14002b044]
mov dword [rdi + 0x128], edx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x14002b01c]
inc r12d
imul ecx, ebp
cmp r12d, ecx
jae 0x1400046c1
mov r12d, dword [rsp + 0x98]
jmp 0x140004732
mov r12d, edx
mov r9d, esi
mov qword [rsp + 0x20], rdi
xor esi, 0x192c
lea edx, [rbx - 0x242]
mov r8d, esi
lea ecx, [r12 - 0x147c]
xor r9d, 0x2637
call fcn.140003d1c
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
lea eax, [r13 + 0x1caf]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140010fc8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov edi, dword [rsp + 0x80]
lea esi, [r8 + 0x38f]
lea r14d, [rdx + 0x84]
mov rbx, r9
lea eax, [r14 - 0x13e2]
lea r15d, [r8 + 0x30]
lea r8d, [rdi + 0xdf1]
cmp esi, eax
jle 0x1400110a2
xor r8d, 0x30d7
cmp dword [0x14002b054], 0xdd60
jb 0x140011041
mov ecx, dword [r9 + 0xec]
mov rax, qword [section..data]
add ecx, 0x221d1
mov dword [rax + 0x11c], ecx
jmp 0x140011056
mov eax, dword [r9 + 0x10]
xor eax, dword [0x14002b0f4]
xor eax, 0x72850c7a
mov dword [0x14002b0f4], eax
mov rdx, qword [section..data]
mov eax, dword [rdx + 0x74]
cmp dword [r9 + 0xd8], eax
jne 0x140011081
mov eax, dword [r9 + 0x78]
xor eax, dword [0x14002b0fc]
xor eax, dword [0x14002b120]
or dword [0x14002b0e8], eax
jmp 0x14001109a
mov eax, dword [0x14002b0e8]
add eax, 0xfffdd810
xor dword [r9 + 0xe4], eax
mov rdx, qword [section..data]
xor edi, 0x38cd
jmp 0x1400110a9
mov rdx, qword [section..data]
lea eax, [r8 + 0xc7e]
cmp edi, eax
jge 0x1400110dc
mov eax, dword [r9 + 0x128]
cmp dword [0x14002b124], eax
ja 0x1400111a3
mov eax, dword [r9 + 0x14]
add eax, 0xe2e05
xor dword [r9 + 0xe4], eax
jmp 0x1400111a3
mov eax, dword [r9 + 0x74]
mov ebp, esi
imul eax, r14d
sub eax, dword [rdx + 0x50]
cmp esi, eax
jbe 0x1400111a3
mov eax, dword [rdx + 0x11c]
or eax, dword [rbx]
cmp esi, eax
jbe 0x14001118e
mov edx, dword [0x14002b0b8]
mov ecx, dword [rbx]
and edx, esi
mov eax, esi
or rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov rax, qword [section..data]
mov edx, r15d
mov r10d, dword [rbx + 0xa8]
and edx, 0x1caf
imul r10d, dword [rbx + 0x30]
sub edx, 0x185b
mov ecx, dword [0x14002b0f8]
mov r8d, dword [rax + 0x34]
mov r9d, dword [rax + 0xfc]
mov eax, dword [rbx + 0x114]
sub r9d, 0x192c
xor ecx, dword [0x14002b084]
and r8d, dword [0x14002b0b4]
or ecx, r14d
sub r8d, dword [rbx + 0x10]
or r9d, dword [rbx + 0x64]
imul eax, edi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140001b60
mov rdx, qword [section..data]
mov r14d, eax
mov ecx, dword [rbx + 0x74]
add ebp, 3
imul ecx, r14d
sub ecx, dword [rdx + 0x50]
cmp ebp, ecx
ja 0x1400110f1
mov rbx, qword [rsp + 0x60]
lea eax, [rdi + 0x1273]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400111c4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r8d, dword [rsp + 0x78]
lea r14d, [rdx - 0x1e50]
mov edi, r8d
mov ebx, r8d
xor edi, 0x1caf
add r9d, 0xd9b
xor ebx, 0x3874
mov dword [rsp + 0x58], edi
lea eax, [r8 + 0x82c]
mov dword [rsp + 0x78], eax
lea eax, [rdx + 0x68b]
cmp ebx, eax
jg 0x140011325
cmp dword [0x14002b074], 0x1539e
mov r8, qword [rsp + 0x70]
jb 0x140011240
mov eax, dword [r8 + 0x10]
sub eax, 0x728b6c1e
mov dword [r8 + 0x48], eax
mov edx, dword [0x14002b06c]
mov r9d, 0x46b8fce1
mov rax, qword [section..data]
mov ecx, dword [rax + 0xec]
cmp dword [r8 + 0x54], ecx
cmovne edx, r9d
mov dword [0x14002b06c], edx
mov ecx, dword [r8 + 0xf8]
mov r9d, dword [r8 + 0x48]
add ecx, 0xffde3ea6
add ecx, dword [r8 + 0x64]
mov dword [r8 + 0xd4], ecx
jmp 0x1400112cc
mov eax, r9d
imul eax, r9d
add dword [rdx + 0xd4], eax
mov rdx, qword [section..data]
mov ecx, dword [r8 + 0x14]
inc ecx
mov eax, dword [rdx + 0xe0]
imul eax, ecx
mov dword [rdx + 0xe0], eax
mov rdx, qword [section..data]
mov eax, dword [0x14002b0e8]
add eax, 0xfff51983
mov ecx, dword [rdx + 0x74]
imul ecx, eax
inc r9d
mov dword [rdx + 0x74], ecx
mov rdx, qword [section..data]
cmp r9d, dword [rdx + 0x5c]
jbe 0x140011285
mov eax, dword [0x14002b024]
cmp dword [r8 + 0x68], eax
jne 0x140011303
mov ecx, dword [rdx + 0x74]
add ecx, dword [r8 + 0x14]
mov eax, dword [rdx + 0xd4]
xor ecx, 0xffffb833
imul eax, ecx
mov dword [rdx + 0xd4], eax
jmp 0x140011313
mov eax, dword [r8 + 0x114]
add eax, 0x959b
xor dword [r8 + 0x44], eax
mov eax, dword [r8 + 0xd4]
mov dword [0x14002b090], eax
jmp 0x1400113c5
mov rsi, qword [rsp + 0x70]
mov ebp, dword [0x14002b024]
mov eax, dword [rsi + 0x54]
or eax, r14d
xor eax, 0x1e50
cmp ebp, eax
jae 0x1400113c5
mov edi, dword [rsp + 0x78]
lea eax, [r8 - 0x1bde]
movsxd rcx, ebx
mov r12d, r9d
movsxd r15, eax
or r12d, 0x192c
and r15, rcx
movsxd r13, r9d
xor r13, rcx
mov r8, r15
mov edx, r12d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rax, qword [section..data]
inc ebp
mov ecx, dword [rax + 0xcc]
mov eax, dword [rsi + 0x11c]
imul eax, edi
imul ecx, ebx
sub dword [rsi + 0x44], eax
mov dword [rsi + 0x3c], ecx
mov rax, qword [section..data]
mov ecx, dword [rsi + 0x128]
or ecx, dword [rax]
or ecx, 0x23d5
sub dword [0x14002b12c], ecx
mov eax, dword [rsi + 0x54]
or eax, r14d
xor eax, 0x1e50
cmp ebp, eax
jb 0x140011367
mov edi, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
lea eax, [rdi + 0x192c]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret