joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019489f
Capabilities:
Clear file content

Disassembly:
jmp 0x1404ba8b0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x98
mov r8, qword [rsp + 0xa8]
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.14019141a
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x1404ba8e9
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x1404ba907
call fcn.140194467
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x68]
call fcn.140193940
mov eax, dword [rsp + 0x40]
jmp 0x1404bab23
cmp qword [rsp + 0x78], 0
jle 0x1404baa68
mov dword [rsp + 0x20], 0x4a
lea r9, str.minkernelcrtsucrt_src_appcrtlowiochsize.cpp
mov r8d, 2
mov edx, 1
mov ecx, 0x1000
call fcn.14019af01
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140195434
lea rcx, [rsp + 0x38]
call fcn.140194a43
movzx eax, al
test eax, eax
jne 0x1404ba988
call fcn.140194467
mov dword [rax], 0xc
call fcn.140194467
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x38]
call fcn.1401926cb
lea rcx, [rsp + 0x68]
call fcn.140193940
mov eax, dword [rsp + 0x44]
jmp 0x1404bab23
mov edx, 0x8000
mov ecx, dword [rsp + 0xa0]
call fcn.1401978a1
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x78], 0x1000
jl 0x1404ba9b2
mov dword [rsp + 0x30], 0x1000
jmp 0x1404ba9ba
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x38]
call fcn.1401967a8
mov r8d, dword [rsp + 0x48]
mov rdx, rax
mov ecx, dword [rsp + 0xa0]
call fcn.140198acb
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x1404baa28
call fcn.140196dcf
cmp dword [rax], 5
jne 0x1404baa00
call fcn.140194467
mov dword [rax], 0xd
call fcn.140194467
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x38]
call fcn.1401926cb
lea rcx, [rsp + 0x68]
call fcn.140193940
mov eax, dword [rsp + 0x4c]
jmp 0x1404bab23
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jg 0x1404ba99d
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0xa0]
call fcn.1401978a1
lea rcx, [rsp + 0x38]
call fcn.1401926cb
jmp 0x1404bab0d
cmp qword [rsp + 0x78], 0
jge 0x1404bab0d
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
call fcn.14019281a
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x1404baab9
call fcn.140194467
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x68]
call fcn.140193940
mov eax, dword [rsp + 0x54]
jmp 0x1404bab23
mov ecx, dword [rsp + 0xa0]
call fcn.14019a803
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1404bab0d
call fcn.140194467
mov dword [rax], 0xd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
call fcn.140196dcf
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
call fcn.140194467
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x68]
call fcn.140193940
mov eax, dword [rsp + 0x5c]
jmp 0x1404bab23
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x68]
call fcn.140193940
mov eax, dword [rsp + 0x60]
add rsp, 0x98
ret
Function at 0x1401951a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14041d7a0
mov rax, rcx
neg rcx
test rax, 7
je 0x14041d7bd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14041d818
test al, 7
jne 0x14041d7b0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14041d7d1
mov rdx, qword [rax - 8]
test dl, dl
je 0x14041d842
test dh, dh
je 0x14041d83c
shr rdx, 0x10
test dl, dl
je 0x14041d836
test dh, dh
je 0x14041d830
shr rdx, 0x10
test dl, dl
je 0x14041d82a
test dh, dh
je 0x14041d824
shr edx, 0x10
test dl, dl
je 0x14041d81e
test dh, dh
jne 0x14041d7d1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140195209
Capabilities:
Query environment variable

Disassembly:
jmp 0x1404a22dc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1404a2379
mov rbp, rax
cmp word [rax], si
je 0x1404a2325
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1404a230c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1404a2308
sub rbp, rbx
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
add rbp, 2
mov r9d, 0x40
sar rbp, 1
add rbp, rbp
mov rcx, rbp
lea edx, [r9 - 0x3e]
call fcn.140195817
mov rdi, rax
test rax, rax
je 0x1404a2364
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.1401956d7
mov rsi, rdi
mov edx, 2
xor ecx, ecx
call fcn.1401929e1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140195ac9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1403d6fc0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1403d6940
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403d6fff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14060d020]
jmp 0x1403d7009
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140195f2e
Capabilities:
Query environment variable

Disassembly:
jmp 0x1404a2180
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1404a2268
mov rsi, rax
cmp word [rax], r14w
je 0x1404a21d3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1404a21bb
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1404a21b7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.140197e69
movsxd rbp, eax
test eax, eax
je 0x1404a2268
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.140195817
mov rdi, rax
test rax, rax
je 0x1404a2256
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140197e69
test eax, eax
je 0x1404a2256
mov rsi, rdi
mov rdi, r14
jmp 0x1404a2259
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.1401929e1
jmp 0x1404a226b
mov rsi, r14
test rbx, rbx
je 0x1404a2279
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140195f51
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1403d6ef0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1403d68c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403d6f31
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14060d020]
jmp 0x1403d6f37
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1401960a0
Capabilities:
Get geographical location

Disassembly:
jmp 0x140476c50
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140475bd0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140476ca3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x14060d020]
jmp 0x140476cc5
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140194908
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret
Function at 0x1401960cd
Capabilities:
Terminate process

Disassembly:
jmp 0x1403b2470
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140196208
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14035c160
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14060b446]
call fcn.14019a24f
mov rcx, qword [rbp + 0x180]
call fcn.1401951a0
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x14035c1db
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x14035c283
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.14019469c
test eax, eax
jne 0x14035c27e
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.1401951a0
cmp qword [rbp + 8], rax
jne 0x14035c27e
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x14035c248
xor eax, eax
jmp 0x14035c285
cmp qword [rbp + 0x190], 0
je 0x14035c265
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x14035c285
jmp 0x14035c1d3
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x1401966f4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1404af3a0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1405d17d8]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1404af3c6
jmp 0x1404af443
mov rcx, qword [rbp + 0x30]
call fcn.1401951a0
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1404af3df
jmp 0x1404af443
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1404af3fc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140192a63
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140193517
test eax, eax
jne 0x1404af443
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14019569b
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1401970ef
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140216a00
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x14060b107]
call fcn.14019a24f
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1404dae80]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140216b45
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x140216a99
mov dword [rbp + 0x160], 1
jmp 0x140216aa3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x140216b40
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x140216b1a
cmp qword [rbp + 0x198], 2
jb 0x140216b1a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140216b1a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140216b1a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140216a64
jmp 0x140216bdf
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x140216bdf
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x140216bb6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140216bb6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140216bb6
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140216b45
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1401974c3
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403b48d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1403b48f0
xor al, al
jmp 0x1403b4971
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403b4903
xor al, al
jmp 0x1403b4971
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1403b492d
xor al, al
jmp 0x1403b4971
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1403b4941
xor al, al
jmp 0x1403b4971
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1403b4953
xor al, al
jmp 0x1403b4971
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1403b496f
xor al, al
jmp 0x1403b4971
mov al, 1
add rsp, 0x38
ret
Function at 0x140198256
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1403625a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x540
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x568]
mov rax, qword [0x1405d17d8]
xor rax, rbp
mov qword [rbp + 0x510], rax
mov dword [rbp + 0x4b4], 0
lea rcx, [0x14060b4eb]
call fcn.14019a24f
mov edx, 0x20
lea rcx, [rbp + 8]
call fcn.14019b118
lea rcx, [rbp + 8]
call fcn.140194a07
nop
xor edx, edx
mov ecx, 2
call fcn.14019555b
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x1403626d3
lea rcx, [rbp + 0x334]
call fcn.140199f9d
mov qword [rbp + 0x508], rax
mov dword [rbp + 0x4f4], 0
lea rax, [rbp + 0x4f8]
mov r8, rax
lea rdx, [rbp + 0x4f4]
lea rcx, [rbp + 0x358]
call fcn.14019622b
lea rcx, [rbp + 0x388]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x460]
lea rcx, [rbp + 0x388]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rbp + 0x508]
lea rdx, [rbp + 0x460]
mov rcx, qword [rbp + 0x540]
call fcn.140194462
mov eax, dword [rbp + 0x4b4]
or eax, 1
mov dword [rbp + 0x4b4], eax
lea rcx, [rbp + 8]
call fcn.14019b023
mov rax, qword [rbp + 0x540]
jmp 0x140362828
mov r8d, 0x130
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.140197d60
mov dword [rbp + 0x70], 0x130
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call fcn.1401987ce
test eax, eax
jne 0x1403627ae
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x3b4]
call fcn.140199f9d
mov qword [rbp + 0x508], rax
mov dword [rbp + 0x4d4], 0
lea rax, [rbp + 0x4d8]
mov r8, rax
lea rdx, [rbp + 0x4d4]
lea rcx, [rbp + 0x3d8]
call fcn.14019622b
lea rcx, [rbp + 0x408]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x490]
lea rcx, [rbp + 0x408]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rbp + 0x508]
lea rdx, [rbp + 0x490]
mov rcx, qword [rbp + 0x540]
call fcn.140194462
mov eax, dword [rbp + 0x4b4]
or eax, 1
mov dword [rbp + 0x4b4], eax
lea rcx, [rbp + 8]
call fcn.14019b023
mov rax, qword [rbp + 0x540]
jmp 0x140362828
mov rdx, qword [rbp + 0x548]
lea rcx, [rbp + 0x9c]
call fcn.14019b1ae
test eax, eax
jne 0x1403627de
mov eax, dword [rbp + 0x78]
mov dword [rbp + 0x434], eax
lea rdx, [rbp + 0x434]
lea rcx, [rbp + 8]
call fcn.140196203
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call fcn.14019a2ea
test eax, eax
jne 0x1403627ae
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x540]
call fcn.140194165
mov eax, dword [rbp + 0x4b4]
or eax, 1
mov dword [rbp + 0x4b4], eax
lea rcx, [rbp + 8]
call fcn.14019b023
mov rax, qword [rbp + 0x540]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140544300]
call fcn.140198896
mov rax, rdi
mov rcx, qword [rbp + 0x510]
xor rcx, rbp
call fcn.14019569b
lea rsp, [rbp + 0x520]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401982f6
Capabilities:
Terminate process

Disassembly:
jmp 0x140414900
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14041492e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140199769
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1401984ea
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140476a40
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140475a50
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140476a75
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14060d020]
jmp 0x140476a7f
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x1401989e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
jmp 0x140360e70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xb6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x1405d17d8]
xor rax, rbp
mov qword [rbp + 0x440], rax
lea rcx, [0x14060b4eb]
call fcn.14019a24f
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14036104a
xor eax, eax
cmp eax, 1
je 0x14036102c
movzx eax, word [0x1404d9030]
mov word [rbp + 0x30], ax
lea rax, [rbp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 0x1f4
rep stosb byte [rdi], al
mov r9d, 0xfb
lea r8, [rbp + 0x30]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x140360f31
jmp 0x14036102c
mov rcx, qword [rbp + 0x478]
call fcn.14019191a
mov qword [rbp + 0x438], rax
lea rcx, [rbp + 0x30]
call fcn.14019191a
mov rcx, qword [rbp + 0x438]
lea rax, [rcx + rax + 2]
mov qword [rbp + 0x248], rax
mov eax, 2
mul qword [rbp + 0x248]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14019500b
mov qword [rbp + 0x408], rax
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x268], rax
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x268]
call fcn.14019405c
lea rdx, [0x14053f2f4]
mov rcx, qword [rbp + 0x268]
call fcn.14019438b
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x268]
call fcn.14019438b
mov rdx, qword [rbp + 0x268]
mov rcx, qword [rbp + 0x470]
call fcn.1401989e0
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x428], rax
mov rcx, qword [rbp + 0x428]
call fcn.140195641
cmp qword [rbp + 0x428], 0
jne 0x14036100e
mov qword [rbp + 0x438], 0
jmp 0x140361027
mov qword [rbp + 0x268], 0x8123
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x438], rax
jmp 0x140360eec
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x30]
lea rdx, [0x140544690]
call fcn.140198896
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.14019569b
lea rsp, [rbp + 0x458]
pop rdi
pop rbp
ret

Function at 0x140198e9a
Capabilities:
Create thread

Disassembly:
jmp 0x1401c79e0
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14060b0da]
call fcn.14019a24f
mov byte [0x1405d4781], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140193904]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1405d6798], rax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14019901b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140476aa0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140475a90
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140476adf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14060d020]
jmp 0x140476aee
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x140199115
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403572c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14060b371]
call fcn.14019a24f
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403572fc
xor eax, eax
jmp 0x140357329
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x140357325
xor eax, eax
jmp 0x140357329
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret