joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400967b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0x128], rax
movsd xmm0, qword [0x14011a8d0]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x3c], 0x826
movsd xmm0, qword [0x140119a58]
movsd qword [rsp + 0x58], xmm0
lea rdx, [0x140101e58]
lea rcx, [rsp + 0x108]
call fcn.14009fd30
movsd xmm0, qword [0x140113ba8]
movsd qword [rsp + 0x60], xmm0
lea rdx, [0x140102038]
lea rcx, [rsp + 0xe8]
call fcn.14009fd30
xor eax, eax
cmp eax, 1
je 0x14009685d
mov dword [rsp + 0x24], 0x1f
jmp 0x140096852
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x14009685d
jmp 0x140096848
xor eax, eax
cmp eax, 1
je 0x140096883
mov dword [rsp + 0x28], 1
jmp 0x140096878
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jle 0x140096883
jmp 0x14009686e
lea rdx, [0x140102198]
lea rcx, [rsp + 0x88]
call fcn.14009fd30
mov qword [rsp + 0x40], rax
lea rdx, str.qtgwyaidjmiazzucfytjgjxplkydspblazb
lea rcx, [rsp + 0x68]
call fcn.14009fd30
mov rcx, qword [rsp + 0x40]
mov rdx, rcx
mov rcx, rax
call fcn.14009d4f0
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x68]
call fcn.1400a0ec0
lea rcx, [rsp + 0x88]
call fcn.1400a0ec0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140096900
mov dword [rsp + 0x2c], 0x59
jmp 0x1400968f5
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jle 0x140096900
jmp 0x1400968eb
xor eax, eax
cmp eax, 1
je 0x140096926
mov dword [rsp + 0x30], 0x39
jmp 0x14009691b
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x140096926
jmp 0x140096911
lea rdx, [0x1401023a8]
lea rcx, [rsp + 0xc8]
call fcn.14009fd30
mov qword [rsp + 0x48], rax
lea rdx, str.gkrxrmznhznifeszgxjsyimntfjhisvsrbqmeapabksksvjnuwwpzmvhndfaxz
lea rcx, [rsp + 0xa8]
call fcn.14009fd30
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
mov rcx, rax
call fcn.14009d4f0
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0xa8]
call fcn.1400a0ec0
lea rcx, [rsp + 0xc8]
call fcn.1400a0ec0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400969a9
mov dword [rsp + 0x34], 5
jmp 0x14009699e
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x1400969a9
jmp 0x140096994
mov dword [rsp + 0x38], 0x1b43
lea rcx, [rsp + 0xe8]
call fcn.1400a0ec0
lea rcx, [rsp + 0x108]
call fcn.1400a0ec0
mov rcx, qword [rsp + 0x148]
call fcn.1400a0ec0
mov rcx, qword [rsp + 0x160]
call fcn.1400a0ec0
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0x138
ret
Function at 0x140099c10
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.1400a8370
lea rcx, [rsp + 0x28]
call fcn.1400a5230
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140099c55
mov byte [rsp + 0x20], 1
jmp 0x140099c5a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x28]
call fcn.1400a0ef0
mov rcx, qword [rsp + 0x60]
call fcn.1400a0ec0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0x58
ret

Function at 0x140099ca0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.1400a8370
lea rcx, [rsp + 0x28]
call fcn.1400a5230
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400a0ef0
mov rcx, qword [rsp + 0x60]
call fcn.1400a0ec0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0x58
ret
Function at 0x140099e60
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
sub rsp, 0x5c0
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
xor r9d, r9d
mov r8d, 0x26
lea rdx, [rsp + 0x190]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140099f5f
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.1400a00a0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.140099d10
lea rcx, [rsp + 0x50]
call fcn.1400a0ef0
lea rdx, [rsp + 0x90]
lea rcx, [0x140135028]
call fcn.1400a1410
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1400a1c60
mov rcx, rax
call fcn.1400a1620
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14009fd30
lea r8, [rsp + 0x70]
lea rdx, [0x140135028]
lea rcx, [rsp + 0x110]
call fcn.14009d660
mov rdx, rax
lea rcx, [0x140134fe8]
call fcn.1400a13b0
lea rcx, [rsp + 0x110]
call fcn.1400a0ec0
lea rcx, [rsp + 0x70]
call fcn.1400a0ec0
lea rcx, [rsp + 0x90]
call fcn.1400a0ec0
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14011bac8]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140099fd9
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xb0]
call fcn.1400a00a0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x130]
call fcn.140099d10
mov rdx, rax
lea rcx, [0x140134f88]
call fcn.1400a13b0
lea rcx, [rsp + 0x130]
call fcn.1400a0ec0
lea rcx, [rsp + 0xb0]
call fcn.1400a0ef0
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x14009a050
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0xd0]
call fcn.1400a00a0
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x150]
call fcn.140099d10
mov rdx, rax
lea rcx, [0x140134f10]
call fcn.1400a13b0
lea rcx, [rsp + 0x150]
call fcn.1400a0ec0
lea rcx, [rsp + 0xd0]
call fcn.1400a0ef0
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x31]
call fcn.1400a1b10
mov rcx, rax
call fcn.1400a1600
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.14009fd30
lea r8, [rsp + 0xf0]
lea rdx, [0x140134f10]
lea rcx, [rsp + 0x170]
call fcn.14009d660
mov rdx, rax
lea rcx, [0x140134fa8]
call fcn.1400a13b0
lea rcx, [rsp + 0x170]
call fcn.1400a0ec0
lea rcx, [rsp + 0xf0]
call fcn.1400a0ec0
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0x5c0
pop rdi
ret
Function at 0x14009a730
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0x100]
lea rdx, [0x1400ca53c]
lea rcx, [rsp + 0xc0]
call fcn.14009d800
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400a13b0
lea rcx, [rsp + 0xc0]
call fcn.1400a0ec0
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.1400a8370
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rax, [0x1400d45e0]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xa0]
call fcn.1400a5230
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0xa0]
call fcn.1400a0ef0
mov rcx, qword [rsp + 0x100]
call fcn.1400a0ec0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0xf0
pop rdi
ret

Function at 0x14009aab0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1400a8370
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.1400a8370
lea rcx, [rsp + 0x30]
call fcn.1400a5230
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
call fcn.1400a5230
xor r8d, r8d
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14009ab2c
mov byte [rsp + 0x20], 1
jmp 0x14009ab31
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x30]
call fcn.1400a0ef0
lea rcx, [rsp + 0x50]
call fcn.1400a0ef0
mov rcx, qword [rsp + 0x90]
call fcn.1400a0ec0
mov rcx, qword [rsp + 0x98]
call fcn.1400a0ec0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0x88
ret
Function at 0x14009b2a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
movzx eax, word [rsp + 0x50]
mov r8d, 0xa
mov edx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14009b2e1
jmp 0x14009b328
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14009b300
jmp 0x14009b328
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140134ee0], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x140134ee8], eax
add rsp, 0x48
ret

Function at 0x14009b340
Capabilities:
Encrypt data using xtea

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 8], eax
mov dword [rsp + 0x10], 0x9e3779b9
mov eax, dword [rsp + 0x10]
imul eax, dword [rsp + 0x30]
mov dword [rsp], eax
mov dword [rsp + 0xc], 0
jmp 0x14009b3a4
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0xc], eax
jae 0x14009b43a
mov eax, dword [rsp + 4]
shl eax, 4
mov ecx, dword [rsp + 4]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 4]
mov ecx, dword [rsp]
shr ecx, 0xb
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
shl eax, 4
mov ecx, dword [rsp + 8]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 8]
mov ecx, dword [rsp]
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x14009b39a
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 8]
mov dword [rcx + rax], edx
add rsp, 0x28
ret
Function at 0x14009b490
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0x270], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x20], rax
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400a00a0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140099d10
lea rcx, [rsp + 0x48]
call fcn.1400a0ef0
cmp qword [rsp + 0x20], 0
je 0x14009b527
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x290]
call fcn.14009fc30
lea rcx, [rsp + 0x28]
call fcn.1400a0ec0
mov rax, qword [rsp + 0x290]
jmp 0x14009b559
lea rdx, [0x1400c877a]
mov rcx, qword [rsp + 0x290]
call fcn.14009fd30
lea rcx, [rsp + 0x28]
call fcn.1400a0ec0
mov rax, qword [rsp + 0x290]
jmp 0x14009b559
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0x288
ret

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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400a0340
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x1400a21d2
mov rcx, qword [rsp + 0x40]
call fcn.1400a43d0
jmp 0x1400a21e9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x1400a21e9
mov rcx, qword [rsp + 0x40]
call fcn.1400a4200
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400a3220
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140134098]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x1400a325d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400a3264
mov al, 1
jmp 0x1400a33ac
call fcn.1400a6670
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.1400a6670
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.1400a66b0
movzx eax, al
test eax, eax
je 0x1400a32b5
xor al, al
jmp 0x1400a33ac
mov qword [rsp + 0x58], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.1400a8a50
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400a331a
cmp dword [rsp + 0x30], 1
je 0x1400a3326
cmp dword [rsp + 0x30], 3
je 0x1400a339a
jmp 0x1400a33aa
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x1400a3371
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400b24f4
cmp qword [rsp + 0x40], rax
je 0x1400a3371
xor al, al
jmp 0x1400a33ac
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400a338b
mov dword [rsp + 0x34], 1
jmp 0x1400a3393
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400a33ac
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400a33ac
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400aad00
add rsp, 0x98
ret
Function at 0x1400a4200
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp + 0x18], 0
jmp 0x1400a4221
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0xe3
jae 0x1400a42a5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400a4270
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400a4278
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400a4214
jmp 0x1400a42b4
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0x26f
jae 0x1400a433b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
and eax, 1
test eax, eax
je 0x1400a4305
mov dword [rsp + 0xc], 0x9908b0df
jmp 0x1400a430d
mov dword [rsp + 0xc], 0
mov eax, dword [rsp + 8]
shr eax, 1
xor eax, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400a42a7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400a4382
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x1400a438a
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
add rsp, 0x28
ret
Function at 0x1400a43d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x1400a43f1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x1400a4475
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400a4440
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400a4448
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400a43e4
add rsp, 0x18
ret

Function at 0x1400b13b0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400b1243
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b1243
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b1243
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b1243
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b1243
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b1243
cmp dword [rcx + 0xf8], 0
je 0x1400b1243
mov ecx, ebx
call fcn.1400b12e4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400b10d4
cmp dword [rbp + 0x20], 0
je 0x1400b1290
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b1298
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b11dc

Function at 0x140484997
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], rdi
movzx edi, al
ror rax, 0x61
lea rdi, [0x140455410]
mov eax, 0x383e4b04
movzx eax, byte [rcx + rax*2 - 0x707c9608]
xor eax, r10d
push 0x62b4533c
and eax, 0xff
mov eax, dword [rdi + rax*4]
shr r10d, 8
xor r10d, eax
inc rcx
xor r10d, 0xa71e9e07
sar word [rsp + 6], 0x6a
dec r8
not byte [rsp]
lea rsp, [rsp + 8]
jne 0x1404849a9
push 0xffffffffa0332fa4
push 0xa86903e
mov rdi, qword [rsp + 0x10]
lea rsp, [rsp + 0x18]

Function at 0x14045aaa6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140480203
lea rsp, [rsp + 8]
call rax
mov rsp, qword [rbp + riz - 0x10]
mov r10d, 0xd7201929
movzx r8d, r10w
lea r8, [r10 + r10*2 + 0x26244109]
mov rbp, qword [rbp + riz - 8]
movzx r9d, r8b
mov qword [rbp + r9*4 - 0x210], rax
not r8w
mov r11, rbp
xchg r8b, r10b
push r9
jmp 0x1404534d2
Function at 0x467c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.00497180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x0049f5e0]
xor eax, eax
movdqa xmm12, xmmword [0x0049f5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x0049f610]
movdqa xmm6, xmmword [0x0049f630]
movdqa xmm13, xmmword [0x0049f670]
movdqa xmm14, xmmword [0x0049f680]
movdqa xmm15, xmmword [0x0049f690]
movdqa xmm7, xmmword [0x0049f6a0]
movdqa xmm10, xmmword [0x0049f6b0]
movdqa xmm11, xmmword [0x0049f6c0]
nop dword [rax + rax]