joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022b63
Capabilities:
Hash data using sha1 via x86 extensions

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqa xmm9, xmmword [rcx]
movdqa xmm8, xmmword [rcx + 0x10]
movdqa xmm6, xmmword [0x140050ff0]
movdqu xmm5, xmmword [rdx]
movdqu xmm4, xmmword [rdx + 0x10]
movdqu xmm3, xmmword [rdx + 0x20]
movdqu xmm2, xmmword [rdx + 0x30]
pshufb xmm5, xmm6
movdqa xmm7, xmm8
paddd xmm7, xmm5
movdqa xmm1, xmm9
sha1rnds4 xmm1, xmm7, 0
pshufb xmm4, xmm6
movdqa xmm7, xmm9
sha1nexte xmm7, xmm4
movaps xmm0, xmm1
sha1rnds4 xmm0, xmm7, 0
sha1msg1 xmm5, xmm4
pshufb xmm3, xmm6
sha1nexte xmm1, xmm3
movaps xmm7, xmm0
sha1rnds4 xmm7, xmm1, 0
sha1msg1 xmm4, xmm3
pshufb xmm2, xmm6
sha1nexte xmm0, xmm2
pxor xmm5, xmm3
sha1msg2 xmm5, xmm2
movaps xmm1, xmm7
sha1rnds4 xmm1, xmm0, 0
sha1msg1 xmm3, xmm2
sha1nexte xmm7, xmm5
pxor xmm4, xmm2
sha1msg2 xmm4, xmm5
movaps xmm0, xmm1
sha1rnds4 xmm0, xmm7, 0
sha1msg1 xmm2, xmm5
xorps xmm3, xmm5
sha1nexte xmm1, xmm4
sha1msg2 xmm3, xmm4
movaps xmm6, xmm0
sha1rnds4 xmm6, xmm1, 1
sha1msg1 xmm5, xmm4
xorps xmm2, xmm4
sha1nexte xmm0, xmm3
sha1msg2 xmm2, xmm3
movaps xmm1, xmm6
sha1rnds4 xmm1, xmm0, 1
sha1msg1 xmm4, xmm3
xorps xmm5, xmm3
sha1nexte xmm6, xmm2
sha1msg2 xmm5, xmm2
movaps xmm0, xmm1
sha1rnds4 xmm0, xmm6, 1
sha1msg1 xmm3, xmm2
xorps xmm4, xmm2
sha1nexte xmm1, xmm5
sha1msg2 xmm4, xmm5
movaps xmm6, xmm0
sha1rnds4 xmm6, xmm1, 1
sha1msg1 xmm2, xmm5
xorps xmm3, xmm5
sha1nexte xmm0, xmm4
sha1msg2 xmm3, xmm4
movaps xmm1, xmm6
sha1rnds4 xmm1, xmm0, 1
sha1msg1 xmm5, xmm4
xorps xmm2, xmm4
sha1nexte xmm6, xmm3
sha1msg2 xmm2, xmm3
movaps xmm0, xmm1
sha1rnds4 xmm0, xmm6, 2
sha1msg1 xmm4, xmm3
xorps xmm5, xmm3
sha1nexte xmm1, xmm2
sha1msg2 xmm5, xmm2
movaps xmm6, xmm0
sha1rnds4 xmm6, xmm1, 2
sha1msg1 xmm3, xmm2
xorps xmm4, xmm2
sha1nexte xmm0, xmm5
sha1msg2 xmm4, xmm5
movaps xmm1, xmm6
sha1rnds4 xmm1, xmm0, 2
sha1msg1 xmm2, xmm5
xorps xmm3, xmm5
sha1nexte xmm6, xmm4
sha1msg2 xmm3, xmm4
movaps xmm0, xmm1
sha1rnds4 xmm0, xmm6, 2
sha1msg1 xmm5, xmm4
xorps xmm2, xmm4
sha1nexte xmm1, xmm3
sha1msg2 xmm2, xmm3
movaps xmm6, xmm0
sha1rnds4 xmm6, xmm1, 2
sha1msg1 xmm4, xmm3
xorps xmm5, xmm3
sha1nexte xmm0, xmm2
sha1msg2 xmm5, xmm2
movaps xmm1, xmm6
sha1rnds4 xmm1, xmm0, 3
sha1msg1 xmm3, xmm2
xorps xmm4, xmm2
sha1nexte xmm6, xmm5
sha1msg2 xmm4, xmm5
movaps xmm0, xmm1
sha1rnds4 xmm0, xmm6, 3
sha1msg1 xmm2, xmm5
xorps xmm3, xmm5
sha1nexte xmm1, xmm4
sha1msg2 xmm3, xmm4
movaps xmm5, xmm0
sha1rnds4 xmm5, xmm1, 3
xorps xmm2, xmm4
sha1nexte xmm0, xmm3
sha1msg2 xmm2, xmm3
movaps xmm1, xmm5
sha1rnds4 xmm1, xmm0, 3
sha1nexte xmm5, xmm2
movaps xmm0, xmm1
sha1rnds4 xmm0, xmm5, 3
paddd xmm0, xmm9
movdqa xmmword [rcx], xmm0
sha1nexte xmm1, xmm8
movaps xmmword [rcx + 0x10], xmm1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140024b2b
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
movsx esi, byte [rcx + rax]
lea edi, [rsi - 0x41]
cmp dil, 0x19
ja 0x140024b55
add esi, 0xffffffbf
jmp 0x140024b9a
lea edi, [rsi - 0x61]
cmp dil, 0x19
ja 0x140024b63
add esi, 0xffffffb9
jmp 0x140024b9a
lea edi, [rsi - 0x30]
cmp dil, 9
ja 0x140024b71
add esi, 4
jmp 0x140024b9a
cmp sil, 0x2b
je 0x140024b8e
cmp sil, 0x3d
je 0x140024b95
cmp sil, 0x2f
jne 0x140024c23
mov esi, 0x3f
jmp 0x140024b9a
mov esi, 0x3e
jmp 0x140024b9a
mov esi, 0xffffffff
mov dword [rsp + rax*4 + 0x20], esi
inc rax
cmp rax, 4
jne 0x140024b43
mov esi, dword [rsp + 0x20]
xor edi, edi
cmp esi, 0xffffffff
je 0x140024c25
mov ecx, dword [rsp + 0x24]
cmp ecx, 0xffffffff
je 0x140024c25
mov r8d, dword [rsp + 0x28]
mov eax, dword [rsp + 0x2c]
cmp r8d, 0xffffffff
je 0x140024c12
mov edi, 2
shl esi, 0x12
shl ecx, 0xc
or esi, ecx
mov r9d, r8d
shl r9d, 6
shr esi, 0x10
mov byte [rdx], sil
cmp eax, 0xffffffff
jne 0x140024bef
cmp r8d, 0xffffffff
je 0x140024bfd
mov ebx, r9d
and ebx, 0xf00
or ebx, ecx
mov byte [rdx + 1], bh
cmp eax, 0xffffffff
je 0x140024c25
and eax, 0x3f
or eax, r9d
mov byte [rdx + 2], al
mov edi, 3
jmp 0x140024c25
cmp eax, 0xffffffff
jne 0x140024c25
mov edi, 1
mov eax, 0xffffffff
jmp 0x140024bcf
xor edi, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002b230
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x140024c3c
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140024c6e
xor r10d, r10d
xor r9d, r9d
mov al, byte [rdx + r10]
xor al, byte [rcx + r10]
movzx eax, al
or r9d, eax
inc r10
cmp r8, r10
jne 0x140024c47
mov eax, 0x100
sub eax, r9d
cmp eax, 0xff
seta al
ret
mov al, 1
ret
Function at 0x140025b5a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp byte [0x14006e1e0], 0
je 0x140025b70
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [0x14006e1e0], 1
lea rcx, str.hhctrl.ocx
call fcn.140026000
mov rsi, rax
test rax, rax
je 0x140025bff
lea rdx, str.HtmlHelpA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006e1e8], rax
test rax, rax
je 0x140025c0a
cmp byte [0x14006e209], 0
jne 0x140025c1a
mov byte [0x14006e209], 1
call fcn.140025b14
test eax, eax
je 0x140025c1a
mov rdx, qword [0x14006e1d8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x14006e20c], eax
test eax, eax
je 0x140025c1a
mov rdx, qword [0x14006e1d8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140025c1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x14006e200], rax
jmp 0x140025c21
mov qword [0x14006e1e8], 0
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14006e200]
test rax, rax
jne 0x140025b69
mov sil, 1
lea rax, str.SoftwareSimonTathamPuTTY64CHMPath
lea rdi, str.SoftwareSimonTathamPuTTYCHMPath
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
xor r8d, r8d
call fcn.140026260
test rax, rax
jne 0x140025c63
test sil, 1
je 0x140025b69
xor esi, esi
mov rax, rdi
jmp 0x140025c3b
mov qword [0x14006e1f0], rax
mov byte [0x14006e1f8], 0
jmp 0x140025b69

Function at 0x140025c76
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14006e1f0]
test rcx, rcx
je 0x140025cb8
cmp byte [0x14006e1f8], 1
jne 0x140025cba
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x14006e1e8]
mov rcx, qword [0x14006e1f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x14006e1f0]
jmp 0x140025cba
xor ecx, ecx
call fcn.14000742e
mov qword [0x14006e1f0], 0
mov byte [0x14006e1f8], 0
add rsp, 0x28
ret
Function at 0x140025ce8
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov r15, rdx
mov r13, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdx, qword [0x14006e1f0]
test rdx, rdx
jne 0x140025dca
cmp qword [0x14006e200], 0
je 0x140025dca
cmp byte [0x14006e210], 0
jne 0x140025db9
mov byte [0x14006e210], 1
lea rdx, [rsp + 0x50]
mov ecx, 0x106
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140025db9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
lea rcx, str._sputty__lu__llu.chm
lea rdx, [rsp + 0x50]
mov r8d, eax
xor r9d, r9d
call fcn.140024570
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140025e3d
mov rsi, rax
jmp 0x140025ec4
xor ebx, ebx
mov rcx, rbx
call fcn.14000742e
mov rdx, qword [0x14006e1f0]
test rdx, rdx
je 0x140025e18
test r15, r15
je 0x140025e02
lea rcx, str._s::__s.html_main
mov r8, r15
call fcn.140024570
mov rsi, rax
mov rcx, r13
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [0x14006e1e8]
mov rcx, rsi
call fcn.14000742e
jmp 0x140025e11
mov rcx, r13
xor r8d, r8d
xor r9d, r9d
call qword [0x14006e1e8]
mov byte [0x14006e208], 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14002b230
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x40], r13
mov edi, 1
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
lea r13, [rsp + 0x50]
mov r12, qword [sym.imp.KERNEL32.dll_CreateFileA]
call r14
cmp eax, 0x50
jne 0x140025f5a
mov rcx, rbx
call fcn.14000742e
lea rcx, str._sputty__lu__llu.chm
mov rdx, r13
mov r8d, ebp
mov r9, rdi
call fcn.140024570
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call r12
inc rdi
cmp rax, 0xffffffffffffffff
je 0x140025e5a
mov rsi, rax
mov r13, qword [rsp + 0x40]
mov r8d, dword [0x14006e20c]
test r8d, r8d
je 0x140025f1f
mov rbp, qword [0x14006e200]
xor edi, edi
lea r14, [rsp + 0x4c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
sub r8d, edi
mov dword [rsp + 0x4c], 0
mov edx, edi
add rdx, rbp
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r9, r14
call r12
test eax, eax
je 0x140025f31
mov eax, dword [rsp + 0x4c]
add edi, eax
inc edi
mov r8d, dword [0x14006e20c]
cmp r8d, edi
ja 0x140025ee5
mov qword [0x14006e1f0], rbx
mov byte [0x14006e1f8], 1
xor ebx, ebx
jmp 0x140025f3a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
call fcn.14000742e
cmp rsi, 0xffffffffffffffff
je 0x140025dc3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140025dc3
mov r13, qword [rsp + 0x40]
jmp 0x140025dbb
Function at 0x140025f64
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
cmp byte [0x14006e208], 1
jne 0x140025f84
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x14006e1e8]
mov rcx, qword [0x14006e1f0]
test rcx, rcx
je case.default.0x140025f9d
cmp byte [0x14006e1f8], 1
jne case.default.0x140025f9d
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
add rsp, 0x28
ret
pop rbp
invalid
sub byte [r10 + rsi - 0x776335d3], cl
invalid

Function at 0x140026000
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [0x14006e258], 0
jne 0x14002607d
mov edx, dword [0x14006e260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r9d, eax
cmp qword [0x14006e260], r9
ja 0x14002607d
lea rdi, [0x14006e260]
mov rbx, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov rcx, qword [0x14006e258]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r8d, 1
mov rdx, rdi
call fcn.140007438
mov qword [0x14006e258], rax
mov edx, dword [0x14006e260]
mov rcx, rax
call rbx
mov r9d, eax
cmp qword [0x14006e260], r9
jbe 0x14002603c
mov rcx, qword [0x14006e258]
lea rdx, [0x14005f47d]
mov r8, rsi
xor r9d, r9d
call fcn.140024613
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
mov rcx, rsi
call fcn.14000742e
mov rax, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x140026260
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, r8
mov rsi, rdx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rcx
test rdx, rdx
je 0x1400262a8
lea r8, [rsp + 0x48]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1400262a3
xor ebx, ebx
xor edi, edi
jmp 0x140026353
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor edi, edi
lea r9, [rsp + 0x44]
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140026341
cmp dword [rsp + 0x44], 1
mov ebx, 0
jne 0x140026343
mov ecx, dword [rsp + 0x40]
inc ecx
xor edi, edi
mov edx, 1
xor r8d, r8d
call fcn.1400073b4
mov rbx, rax
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x3c]
mov dword [rdx], eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x44]
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140026343
cmp dword [rsp + 0x44], 1
jne 0x140026343
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rsp + 0x40]
jbe 0x14002633a
xor edi, edi
jmp 0x140026343
mov byte [rbx + rax], 0
mov rdi, rbx
xor ebx, ebx
test rsi, rsi
je 0x140026353
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.14000742e
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002b230
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400264d4
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2a8
mov r14, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov edx, 0x107
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov rcx, rdi
call fcn.14003c0a0
mov word [rsp + rax + 0x50], 0x2a5c
mov byte [rsp + rax + 0x52], 0
lea rdx, [rsp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140026565
mov rdi, rax
lea rbx, [rsp + 0x160]
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov rcx, rbx
mov edx, 0x140
call r14
mov rcx, rdi
mov rdx, rbx
call rsi
test eax, eax
jne 0x140026545
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x2c]
mov dword [rcx], eax
mov edx, 4
call r14
lea rcx, [rsp + 0x30]
mov edx, 0x20
call fcn.140026390
test al, al
je 0x1400265aa
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov edx, 0x20
call r14
mov edx, 0x20
mov rcx, rdi
call fcn.140026378
mov rcx, r14
call fcn.14002a694
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14002b230
nop
add rsp, 0x2a8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400265d0
Capabilities:
Get memory capacity

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rsi, [rsp + 0x78]
mov qword [rsi], rax
mov ecx, 9
mov rdx, rsi
mov r8d, 8
call fcn.14001f39c
call qword [sym.imp.USER32.dll_GetCapture]
mov qword [rsi], rax
mov ecx, 0xa
mov rdx, rsi
mov r8d, 8
call fcn.14001f39c
call qword [sym.imp.USER32.dll_GetClipboardOwner]
mov qword [rsi], rax
mov ecx, 0xb
mov rdx, rsi
mov r8d, 8
call fcn.14001f39c
mov ecx, 0x1cbf
call qword [sym.imp.USER32.dll_GetQueueStatus]
lea rdx, [rsp + 0x74]
mov dword [rdx], eax
mov ecx, 0xc
mov r8d, 4
call fcn.14001f39c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 0xd
mov rdx, rsi
mov r8d, 8
call fcn.14001f39c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, 6
mov rdx, rsi
mov r8d, 0x38
call fcn.14001f39c
lea rsi, [rsp + 0x98]
lea r14, [rsp + 0x90]
lea rdi, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x20], rsi
lea rbx, [rsp + 0x80]
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov ecx, 0xe
mov rdx, rbx
mov r8d, 0x20
call fcn.14001f39c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ecx, 0xf
mov rdx, rbx
mov r8d, 0x20
call fcn.14001f39c
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14002b230
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400293b4
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r8, str.Please_wait_while_a_key_is_generated...
mov edx, 0x69
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, 0xffff0000
mov qword [rsp + 0x20], rax
mov rbx, qword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov rcx, rdi
mov edx, 0x6a
mov r8d, 0x401
xor r9d, r9d
call rbx
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0x6a
mov r8d, 0x402
xor r9d, r9d
call rbx
mov ecx, 1
mov edx, 0x38
xor r8d, r8d
call fcn.1400073b4
mov rbx, rax
mov rcx, rdi
mov edx, 0x6a
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov eax, dword [rsi + 0x14]
mov dword [rbx + 0x14], eax
mov eax, dword [rsi + 0x1c]
mov dword [rbx + 0x18], eax
mov rax, qword [rsi + 0x20]
mov qword [rbx + 0x20], rax
mov al, byte [rsi + 0x28]
mov byte [rbx + 0x28], al
lea rax, [rsi + 0x50]
mov qword [rbx + 0x30], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x140029b74]
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400294ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsi + 1], 1
jmp 0x1400294d3
lea rdx, str.Out_of_thread_resources
lea r8, str.Key_generation_error
mov rcx, rdi
mov r9d, 0x10
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbx
call fcn.14000742e
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002b230
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002a07c
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp byte [0x14006e2e0], 1
jne 0x14002a094
mov al, byte [0x14006e2e1]
jmp 0x14002a20e
mov byte [0x14006e2e0], 1
lea rcx, str.advapi32.dll
call fcn.140026000
mov qword [0x14006e2e8], rax
test rax, rax
je 0x14002a206
lea rdx, str.GetSecurityInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006e2f0], rax
test rax, rax
je 0x14002a206
mov rcx, qword [0x14006e2e8]
test rcx, rcx
je 0x14002a1c7
lea rdx, str.SetSecurityInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006e2f8], rax
test rax, rax
je 0x14002a206
mov rcx, qword [0x14006e2e8]
test rcx, rcx
je 0x14002a1d4
lea rdx, str.OpenProcessToken
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006e300], rax
test rax, rax
je 0x14002a206
mov rcx, qword [0x14006e2e8]
test rcx, rcx
je 0x14002a1e1
lea rdx, str.GetTokenInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006e308], rax
test rax, rax
je 0x14002a206
mov rcx, qword [0x14006e2e8]
test rcx, rcx
je 0x14002a1ee
lea rdx, str.InitializeSecurityDescriptor
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006e310], rax
test rax, rax
je 0x14002a206
mov rcx, qword [0x14006e2e8]
test rcx, rcx
je 0x14002a1fb
lea rdx, str.SetSecurityDescriptorOwner
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006e318], rax
test rax, rax
je 0x14002a206
mov rcx, qword [0x14006e2e8]
test rcx, rcx
je 0x14002a213
lea rdx, str.SetEntriesInAclA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14002a215
mov qword [0x14006e2f8], 0
jmp 0x14002a206
mov qword [0x14006e300], 0
jmp 0x14002a206
mov qword [0x14006e308], 0
jmp 0x14002a206
mov qword [0x14006e310], 0
jmp 0x14002a206
mov qword [0x14006e318], 0
xor eax, eax
mov byte [0x14006e2e1], al
add rsp, 0x28
ret
xor eax, eax
mov qword [0x14006e320], rax
test rax, rax
setne al
jmp 0x14002a208

Function at 0x14002a694
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x440
mov rsi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x438], rax
mov ecx, 1
call fcn.14002a75e
cmp rax, 0xffffffffffffffff
je 0x14002a73e
mov rdi, rax
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rax
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002a735
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x14002a735
lea rbx, [rsp + 0x30]
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call rsi
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x400
mov r9, r14
call r15
test eax, eax
je 0x14002a735
mov edx, dword [rsp + 0x2c]
test edx, edx
jne 0x14002a709
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x438]
xor rcx, rsp
call fcn.14002b230
nop
add rsp, 0x440
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002aa30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov esi, edx
mov rdi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 2
call fcn.14002a75e
cmp rax, 0xffffffffffffffff
je 0x14002aa84
mov rbx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov rcx, rax
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002b230
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002aa9a
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, r8
mov rdi, rcx
test edx, edx
je 0x14002aaf9
xor eax, eax
xor ecx, ecx
cmp edx, 2
setne al
sete cl
lea r8d, [rax + rax*2]
mov eax, 0x40000000
mov edx, 0x80000000
cmove edx, eax
mov eax, ecx
shl eax, 7
xor ecx, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x30], 0
mov rcx, rdi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
setne al
jmp 0x14002ab39
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14002ab30
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14002ab30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140026119
lea rcx, str.Unable_to_delete__s:__s
mov rdx, rdi
mov r8, rax
call fcn.1400267e8
mov qword [rsi], 0xffffffffffffffff
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14002abc4
Capabilities:
Get common file path
Set current directory

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov ebx, r9d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
test r8b, r8b
je 0x14002ac0c
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec eax
cmp eax, 0x103
setb bpl
jmp 0x14002ac0e
xor ebp, ebp
mov dword [rdi], 0x88
xor eax, eax
test rsi, rsi
je 0x14002ac22
cmp byte [rsi], 0
cmovne rax, rsi
mov qword [rdi + 0x50], rax
mov rcx, rdi
test bl, bl
je 0x14002ac35
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
jmp 0x14002ac3b
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov edi, eax
test rsi, rsi
je 0x14002ac5c
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec eax
cmp eax, 0x103
jb 0x14002ac5c
mov byte [rsi], 0
test bpl, bpl
je 0x14002ac6c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test edi, edi
setne bl
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14002b230
mov eax, ebx
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400361e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140036320
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 0x140036387
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140036387
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140036387
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140036387
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140036387
cmp dword [rcx + 0x84], 0xe
jbe 0x140036387
cmp dword [rcx + 0xf8], 0
je 0x140036387
mov ecx, ebx
call fcn.14003626c
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.1400364b4
cmp dword [rbp + 0x20], 0
je 0x1400363d4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400362c8
int3