joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800016a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4e52454b
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
mov byte [rbp - 4], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x690cb858
call fcn.180001220
mov r15, 0xffffffffffffffff
mov dword [rsp + 0x20], 4
mov rcx, r15
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x3e80
call rax
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4c44544e
mov dword [rbp - 0xc], 0x4c442e4c
mov word [rbp - 8], 0x4c
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x21b24443
call fcn.180001220
xor ebx, ebx
mov dword [rbp - 0x10], 0x4e52454b
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x30], rbx
mov byte [rbp - 4], bl
mov r14, rax
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x690cb858
call fcn.180001220
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x19600
mov rcx, r15
call rax
mov rsi, rax
test rax, rax
je 0x180001951
mov rdi, rax
lea r12, [0x180000000]
nop word [rax + rax]
mov rcx, qword [rbx + r12 + 0x46000]
lea rdx, [rbp + 0x30]
mov r8, rdi
call r14
test eax, eax
jne 0x180001951
add rdi, 0x10
add rbx, 8
cmp rbx, 0xcb00
jb 0x1800017b0
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4e52454b
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
mov byte [rbp - 4], al
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x690cb858
call fcn.180001220
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x19600
mov rcx, r15
call rax
mov r10d, 1
mov r11d, 2
sub r10, rax
sub r11, rax
sub rsi, rax
mov r8, rax
sub r15, rax
lea r9, [rax + 1]
movabs rbx, 0x624dd2f1a9fbe77
lea rcx, [r9 + r15]
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xd
imul rax, rax, 0x3e80
sub rcx, rax
movzx eax, byte [rcx + r12 + 0x41700]
mov rcx, r9
xor al, byte [r9 + rsi - 1]
sub rcx, r8
mov byte [r9 - 1], al
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xd
imul rax, rax, 0x3e80
sub rcx, rax
movzx eax, byte [rcx + r12 + 0x41700]
lea rcx, [r9 + r10]
xor al, byte [r9 + rsi]
mov byte [r9], al
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xd
imul rax, rax, 0x3e80
sub rcx, rax
movzx eax, byte [rcx + r12 + 0x41700]
lea rcx, [r9 + r11]
xor al, byte [rsi + r9 + 1]
mov byte [r9 + 1], al
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xd
imul rax, rax, 0x3e80
sub rcx, rax
movzx ecx, byte [rcx + r12 + 0x41700]
xor cl, byte [rsi + r9 + 2]
mov byte [r9 + 2], cl
add r9, 4
lea rcx, [r9 + r15]
cmp rcx, 0x19600
jb 0x180001850
mov edx, 0x19600
mov rcx, r8
call fcn.180001490
mov eax, 1
jmp 0x180001953
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x180001980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x32334c45
mov dword [rbp - 0x18], 0x4c4c442e
mov byte [rbp - 0x14], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xa3b48383
call fcn.180001220
call rax
mov rbx, rax
movzx eax, word [rax]
test ax, ax
je 0x180001af7
mov qword [rsp + 0x50], rdi
cmp ax, 0x20
jne 0x180001ae1
add rbx, 2
cmp word [rbx], 0x53
jne 0x180001ae1
cmp word [rbx + 2], 0x65
jne 0x180001ae1
cmp word [rbx + 4], 0x63
jne 0x180001ae1
cmp word [rbx + 6], 0x75
jne 0x180001ae1
cmp word [rbx + 8], 0x72
jne 0x180001ae1
cmp word [rbx + 0xa], 0x65
jne 0x180001ae1
cmp word [rbx + 0xc], 0x31
jne 0x180001ae1
cmp word [rbx + 0xe], 0x32
jne 0x180001ae1
cmp word [rbx + 0x10], 0x33
jne 0x180001ae1
cmp word [rbx + 0x12], 0x39
jne 0x180001ae1
cmp word [rbx + 0x14], 0x39
jne 0x180001ae1
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x32334c45
mov dword [rbp - 0x18], 0x4c4c442e
mov byte [rbp - 0x14], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x938e71ca
call fcn.180001220
lea r9, str.rpoc
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
mov rdi, rax
call fcn.1800016a0
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4e52454b
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
mov byte [rbp - 4], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xfc080cd4
call fcn.180001220
mov edx, 0xffffffff
mov rcx, rdi
call rax
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x1800019d5
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x140001080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
jmp 0x140001126
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp qword [rsp + 0x30], rax
jae 0x1400011ae
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rcx*2]
mov rcx, qword [rsp]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
lea rcx, [0x140014290]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140001199
inc rax
test dl, dl
jne 0x140001186
xor eax, eax
jmp 0x14000119e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1400011a9
mov rax, qword [rsp + 0x38]
jmp 0x1400011ae
jmp 0x140001119
add rsp, 0x58
ret
Function at 0x140002633
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001a050]
jne 0x140001a1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001a16
repz ret
ror rcx, 0x10
jmp 0x14000258c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001b0c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14001b1b8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002611
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14001b0c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140002633
mov rax, qword [rsp + 0x88]
mov qword [0x14001b1b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001b158], rax
mov rax, qword [0x14001b1b8]
mov qword [0x14001b030], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001b140], rax
mov dword [0x14001b020], 0xc0000409
mov dword [0x14001b024], 1
mov rax, qword [0x14001a050]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001a058]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001b0b8], eax
mov ecx, 1
call fcn.140004fa4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400144b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001b0b8], 0
jne 0x1400026ba
mov ecx, 1
call fcn.140004fa4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140002b04
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140002974
Function at 0x140005d04
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001a050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140003adc
xor ebx, ebx
cmp qword [0x14001c0c8], rbx
mov rdi, rax
jne 0x140005e17
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005eee
lea rdx, [0x140015150]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005eee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14001c0c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14001c0d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14001c0d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14001c0e8], rax
test rax, rax
je 0x140005e0e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14001c0e0], rax
jmp 0x140005e1e
mov rax, qword [0x14001c0e0]
jmp 0x140005e25
mov rax, qword [0x14001c0e0]
mov r11, qword [0x14001c0e8]
cmp rax, rdi
je 0x140005e8c
cmp r11, rdi
je 0x140005e8c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14001c0e8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005e8c
test rax, rax
je 0x140005e8c
call rsi
test rax, rax
je 0x140005e86
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140005e86
test byte [rsp + 0x40], 1
jne 0x140005e8c
bts ebp, 0x15
jmp 0x140005ecc
mov rcx, qword [0x14001c0d0]
cmp rcx, rdi
je 0x140005ecc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005ecc
call rax
mov rbx, rax
test rax, rax
je 0x140005ecc
mov rcx, qword [0x14001c0d8]
cmp rcx, rdi
je 0x140005ecc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005ecc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14001c0c8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005eee
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005ef0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001a00
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x42d0c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x42d0cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x42d0dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x42d0c5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x42d0f5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x42d0e2
sub eax, 3
jb 0x42d10f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x42d146
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x42d136
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x42d134
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x42d123
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.0042d082
jmp 0x42d0cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b200
mov dl, 8
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x42d196
cmp rsi, rcx
jae 0x42d19e
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x42d17d
cmp al, 0x8f
ja 0x42d17d
cmp byte [rsi - 2], 0xf
je 0x42d183
sub al, 0xe8
cmp al, 1
ja 0x42d167
cmp rsi, rcx
jae 0x42d19e
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x42d16d
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x42d19e
lodsb al, byte [rsi]
jmp 0x42d17d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2a000]
mov eax, dword [rdi]
or eax, eax
je 0x42d1fb
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2d000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x42d1ab
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x42d1f5
mov qword [rbx], rax
add rbx, 8
jmp 0x42d1cb
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0042d27e], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0042d27e
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x42d26e
sub rsp, 0xffffffffffffff80
jmp 0x401500
Function at 0x140001eb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13b0
call fcn.140007f90
sub rsp, rax
mov ebx, ecx
call fcn.14000724c
mov edx, eax
mov dword [rsp + 0x24], eax
mov eax, 1
mov dword [rsp + 0x13a4], 0xffffffff
nop dword [rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x24], edx
inc rax
cmp rax, 0x270
jb 0x140001ee0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.1400065b0
mov ecx, eax
imul rax, rcx, 0x1f5
cmp eax, 6
ja 0x140001f38
nop
lea rcx, [rsp + 0x20]
call fcn.1400065b0
mov ecx, eax
imul rax, rcx, 0x1f5
cmp eax, 7
jb 0x140001f20
shr rax, 0x20
lea ecx, [rbx + 0x1388]
add ecx, eax
cmp ecx, 0x7f148
jne 0x140001ec1
mov eax, ecx
add rsp, 0x13b0
pop rbx
ret
Function at 0x140003260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003291
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000330b
mov rdi, r14
mov rcx, rbx
call fcn.1400044d0
test rax, rax
jle 0x1400032e3
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400032fb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003303
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400032a5
sub r14, rdi
jmp 0x1400033f1
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003322
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003324
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003356
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400033ee
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003391
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400033ce
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400033ee
cmp rbp, rax
ja 0x1400033a0
test rbp, rbp
je 0x1400033ee
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400065b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140006611
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400065d0
mov ecx, dword [r9]
jmp 0x1400066fb
cmp ecx, 0x4e0
jb 0x1400066fb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140006630
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140006680
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140008410
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000845a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000845a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000845a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000845a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000845a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000845c
xor al, al
add rsp, 0x28
ret
Function at 0x1400087f0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140009190
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140009190
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140009190
mov ecx, dword [0x140015300]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14000a620
call fcn.140009190
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x14000bcd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140014080]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000bd0c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1400082b8
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000bdc8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000be2e
test ebx, ebx
jne 0x14000be2e
lea ecx, [rax + 2]
call fcn.1400082b8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140007d20
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret