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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000c14e
mov word [rbp + 0x50], 0x4e6a
mov word [rbp + 0x58], 0x4e6a
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000bfd4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000bfc0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000c005
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000bff0
cmp rdi, rbx
jne 0x14000c122
mov r13, rsi
mov word [rbp - 0x50], 0x4e6a
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000c046
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000c032
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000c148
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x4e000b
call fcn.1400028d0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000c0b8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x4e0010
call fcn.1400028d0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000c0b8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x4e000b
mov dword [rbp - 0x42], 0x4e002b
call fcn.1400028d0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400028d0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x4e000b
call fcn.1400028d0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000c115
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x4e0010
call fcn.1400028d0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000c115
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x4e000b
mov dword [rbp - 0x32], 0x4e002b
call fcn.1400028d0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400028d0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000c122
inc r14
jmp 0x14000c020
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000c14e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000bf90
mov rax, qword [rbp - 8]
jmp 0x14000c150
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400111c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x260039
mov dword [rbp - 0x1c], 0x24000f
mov dword [rbp - 0x18], 0x47000d
mov dword [rbp - 0x14], 0x570079
mov dword [rbp - 0x10], 0x2a0011
mov dword [rbp - 0xc], 0x710029
call fcn.140002f20
mov rcx, rax
call rbx
mov rbx, qword [0x1400111c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400111a0], rax
mov dword [rbp - 0x20], 0x27003d
mov dword [rbp - 0x1c], 0x210004
mov dword [rbp - 0x18], 0x11000f
mov dword [rbp - 0x14], 0x57003f
mov dword [rbp - 0x10], 0x2a0011
mov dword [rbp - 0xc], 0x710029
call fcn.140002f20
mov rcx, rax
call rbx
movdqa xmm0, xmmword [str.___a_]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400111b0], rax
mov word [rbp - 0x10], 0x2124
mov byte [rbp - 0xe], 0x65
call fcn.140004f40
mov rcx, qword [0x1400111a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140011130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x240f2639
mov dword [rbp - 0x1c], 0x1c33310d
mov dword [rbp - 0x18], 0x14313316
mov word [rbp - 0x14], 0x6231
call fcn.140001180
mov rcx, qword [0x1400111a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140011130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x2d1e2023
mov dword [rbp - 0x1c], 0xd2e1a13
mov dword [rbp - 0x18], 0x1f20363a
mov word [rbp - 0x14], 0x6227
call fcn.140001180
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f7c0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110e8], rax
mov byte [rbp - 0x10], 0x52
call fcn.140001590
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f720]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110f0], rax
mov dword [rbp - 0x10], 0x42001a36
call fcn.140002ad0
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f690]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110e0], rax
mov byte [rbp - 0x10], 0x52
call fcn.140001590
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f770]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110d8], rax
mov dword [rbp - 0x10], 0x30b193b
mov byte [rbp - 0xc], 0x65
call fcn.140003870
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f710]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x373c
mov byte [rbp - 0xe], 0x65
call fcn.140004f40
mov rcx, qword [0x1400111b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp rax
Function at 0x14000d3a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a712
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000b890
test al, al
jne 0x14000a724
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a6e0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x45
mov dword [rbp - 0x20], 0xb0021
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x60038
mov dword [rbp - 0x18], 0x380024
mov dword [rbp - 0x14], 0x380009
mov dword [rbp - 0x10], 0x30026
call fcn.140005b80
mov rcx, rax
call 0x14000a6b0
mov qword [0x1400111b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x75
mov dword [rbp - 0x20], 0xb0021
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x60038
mov dword [rbp - 0x18], 0x380024
mov dword [rbp - 0x14], 0x4b0078
call fcn.140002670
mov rcx, rax
call 0x14000a6b0
lea rcx, [rbp - 0x20]
mov qword [0x1400111a8], rax
mov dword [rbp - 0x20], 0x3a0004
mov dword [rbp - 0x1c], 0x24000e
mov dword [rbp - 0x18], 0x74000d
call fcn.1400059c0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000a6b0
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400054d0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400054e0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x1400054e0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x140005520]
mov rdx, rax
mov rax, qword [0x140005510]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x140009024], 1
mov rax, qword [0x1400054e0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x140005500]
mov rdx, rax
mov rax, qword [0x1400054f0]
mov rcx, rax
call sym._initterm
mov rax, qword [0x1400054e0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400054d0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140005420]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140005420]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400054c0]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x140009004]
lea rdx, [0x140009008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x140005450]
mov rax, qword [rax]
mov rdx, qword [0x140009010]
mov qword [rax], rdx
mov rcx, qword [0x140009010]
mov rdx, qword [0x140009008]
mov eax, dword [0x140009004]
mov r8, rcx
mov ecx, eax
call dbg.main
mov dword [0x14000901c], eax
mov eax, dword [0x140009020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000901c]
mov ecx, eax
call sym.exit
mov eax, dword [0x140009024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000901c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005480]
mov dword [rax], 1
mov rax, qword [0x140005490]
mov dword [rax], 1
mov rax, qword [0x1400054a0]
mov dword [rax], 1
mov rax, qword [0x140005440]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001bb3
Capabilities:
Read file on windows

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x90], ecx
mov qword [rbp + 0x98], rdx
call sym.__main
lea rax, str.C:Windows_notepad.exe
mov qword [rbp + 0x70], rax
cmp dword [rbp + 0x90], 1
jg 0x140001c0f
lea rax, [0x140005067]
cmp qword [rbp + 0x70], rax
jne 0x140001c0f
lea rax, str.RunPE64.exe_program.exe
mov rcx, rax
call sym.puts
mov eax, 1
jmp 0x140001de5
mov qword [rbp + 0x68], 0
cmp dword [rbp + 0x90], 1
jg 0x140001c39
mov rax, qword [rbp + 0x70]
lea rdx, [0x140005082]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x78], rax
jmp 0x140001c5a
mov rax, qword [rbp + 0x98]
add rax, 8
mov rax, qword [rax]
lea rdx, [0x140005082]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
jne 0x140001c6b
mov eax, 1
jmp 0x140001de5
mov rax, qword [rbp + 0x78]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sym.fseek
mov rax, qword [rbp + 0x78]
mov rcx, rax
call sym.ftell
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jg 0x140001ca1
mov eax, 1
jmp 0x140001de5
mov eax, dword [rbp + 0x64]
cdqe
mov rcx, rax
call sym.malloc
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140001cc3
mov eax, 1
jmp 0x140001de5
mov rax, qword [rbp + 0x78]
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.fseek
mov eax, dword [rbp + 0x64]
movsxd rdx, eax
mov rcx, qword [rbp + 0x78]
mov rax, qword [rbp + 0x68]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov qword [rbp + 0x58], rax
mov eax, dword [rbp + 0x64]
cdqe
cmp qword [rbp + 0x58], rax
je 0x140001d14
mov eax, 1
jmp 0x140001de5
mov rax, qword [rbp + 0x78]
mov rcx, rax
call sym.fclose
mov dword [rbp + 0x54], 0
lea rax, [rbp + 0x30]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp - 0x40]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov word [rbp - 0x42], 0
lea r8, [rbp - 0x42]
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], 2
mov r9, r8
mov r8, rcx
mov rcx, rax
call dbg.runPE64
test eax, eax
jne 0x140001dcf
mov rax, qword [rbp + 0x30]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x30]
lea rdx, [rbp + 0x54]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call rax
mov rax, qword [rbp + 0x38]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
cmp qword [rbp + 0x68], 0
je 0x140001de2
mov rax, qword [rbp + 0x68]
mov rcx, rax
call sym.free
mov eax, dword [rbp + 0x54]
add rsp, 0x100
pop rbp
ret
Function at 0x140002120
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002df2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x140002e8a
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x140002e6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002e62
cmp qword [rbp - 0x10], 0
je 0x140002e62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002e28
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002e8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140002f90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002fb8
mov eax, 0
jmp 0x140003006
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002fe1
mov eax, 0
jmp 0x140003006
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003001
mov eax, 0
jmp 0x140003006
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140001180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 3]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x3091b51f5e1a4ef
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 5]
mov rax, rdi
mov rcx, r8
mul r8
mov rax, r8
add r11d, 5
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 5
jb 0x1400011d0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400012f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x72]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x3091b51f5e1a4ef
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
mov rax, r8
add r11d, 2
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0x7a
jb 0x140001340
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400013d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x3091b51f5e1a4ef
lea r9, [rax + 1]
nop word [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [r9 + rbx - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
mov byte [r9], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
mov rax, rcx
lea r9, [r9 + 8]
sub rax, rdx
add r11d, 8
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [r9 + rbx - 2]
mov byte [r9 - 2], al
cmp r11d, 8
jb 0x140001420
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001670
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f140]
mov r10, rax
sub rbx, rax
movabs rdi, 0x3091b51f5e1a4ef
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
mov rax, r8
add r11d, 2
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xfd
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 2
jb 0x1400016c0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret