joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18018e340
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18018e8d0
mov qword [rsp + 0x28], 0
cmp qword [0x1802d99c8], 0
jne 0x18018e388
cmp qword [0x1802d99c0], 0
je 0x18018e388
mov rax, qword [0x1802d99c0]
mov qword [0x1802d99c8], rax
cmp qword [0x1802d99c8], 0
je 0x18018e42e
mov rax, qword [0x1802d99c8]
cmp qword [rax + 0x10], 0
je 0x18018e42e
mov rax, qword [0x1802d99c8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18018e42e
mov rax, qword [0x1802d99c8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18018e42e
mov rax, qword [0x1802d99c8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18018e3f4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18018e3fb
xor eax, eax
jmp 0x18018e5a9
mov rax, qword [0x1802d99c8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180196810
mov rax, qword [rsp + 0x28]
jmp 0x18018e5a9
mov rax, qword [0x1802d99c0]
mov qword [0x1802d99c8], rax
jmp 0x18018e450
mov rax, qword [0x1802d99c8]
mov rax, qword [rax + 8]
mov qword [0x1802d99c8], rax
cmp qword [0x1802d99c8], 0
je 0x18018e49d
cmp qword [0x1802d99c8], 0
je 0x18018e49b
mov rax, qword [0x1802d99c8]
cmp qword [rax + 0x10], 0
je 0x18018e49b
mov rax, qword [0x1802d99c8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18018e49b
mov rax, qword [0x1802d99c8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18018e49b
jmp 0x18018e3cc
jmp 0x18018e43e
mov rcx, qword [rsp + 0x60]
call fcn.180190750
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18018e5b0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18018e5a7
mov rax, qword [rsp + 0x48]
mov qword [0x1802d99c8], rax
mov rax, qword [0x1802d99c8]
mov dword [rax], 0x52727464
mov rax, qword [0x1802d99c8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802d99c8]
mov rcx, qword [0x1802d99c0]
mov qword [rax + 8], rcx
mov rax, qword [0x1802d99c8]
mov qword [0x1802d99c0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802d99c8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18018e558
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18018e592
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18018e54e
mov rax, qword [0x1802d99c8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18018e3cc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1801b0468
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1801b0488
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18019eb40
or eax, 0xffffffff
jmp 0x1801b048a
xor eax, eax
add rsp, 0x28
ret
Function at 0x100e959d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100e959dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100e959ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100e959d5
lea eax, [rcx + 1]
jmp 0x100e959fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100e95a0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100e959f4
sub eax, 3
jb 0x100e95a2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100e95a7d
sar eax, 1
movsxd rbp, eax
jb 0x100e95a64
jmp 0x100e95a3c
add ebx, ebx
jne 0x100e95a3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100e95a64
inc ecx
add ebx, ebx
jne 0x100e95a4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100e95a64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100e95a5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100e95a4c
add ecx, 2
jmp 0x100e95a69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100e95992
jmp 0x100e959dd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe91000]
mov eax, dword [rdi]
or eax, eax
je 0x100e95ad9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xea77a0]
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 0x100e95a89
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 0x100e95ad3
mov qword [rbx], rax
add rbx, 8
jmp 0x100e95aa9
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.100e95b5c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100e95b5c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100e95b4c
sub rsp, 0xffffffffffffff80
jmp 0x1000031c0
Function at 0x140093300
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14009330d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14009331d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140093305
lea eax, [rcx + 1]
jmp 0x14009332b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14009333e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140093324
sub eax, 3
jb 0x14009335e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400933ad
sar eax, 1
movsxd rbp, eax
jb 0x140093394
jmp 0x14009336c
add ebx, ebx
jne 0x14009336a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140093394
inc ecx
add ebx, ebx
jne 0x14009337a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140093394
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14009338d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14009337c
add ecx, 2
jmp 0x140093399
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400932c2
jmp 0x14009330d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x14800
mov dl, 0x2e
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400933f9
cmp rsi, rcx
jae 0x140093401
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400933e0
cmp al, 0x8f
ja 0x1400933e0
cmp byte [rsi - 2], 0xf
je 0x1400933e6
sub al, 0xe8
cmp al, 1
ja 0x1400933ca
cmp rsi, rcx
jae 0x140093401
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400933d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140093401
lodsb al, byte [rsi]
jmp 0x1400933e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x91000]
mov eax, dword [rdi]
or eax, eax
je 0x14009346a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x931dc]
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 0x14009340e
jns 0x140093443
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14009344d
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 0x140093464
mov qword [rbx], rax
add rbx, 8
jmp 0x14009342e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400934a4
cmp al, 0xef
ja 0x140093496
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140093476
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140093485
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 + 0x22f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400934f8
sub rsp, 0xffffffffffffff80
jmp 0x140014b40
Function at 0x140001010
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push rbx
sub rsp, 0x8f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
lea r8, str.F1_24.exe
lea rdx, str.__s_
lea rcx, [rsp + 0xe0]
call fcn.140001170
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor ebx, ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rcx, str.F1_24.exe
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400010fd
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000114b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1300
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, qword [rsp + 0x50]
lea r8, str.Error
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.1400011e0
add rsp, 0x8f0
pop rbx
ret

Function at 0x140001aa0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r12, r9
mov r13, r8
xor edi, edi
mov esi, 0x57e009f2
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test edi, edi
je 0x14001d532
psrldq xmm0, 8
mov r9d, 0xd8e71012
movzx ecx, cx
movq r8, xmm0
shr rcx, 1
lea r10, [r8 + rcx*2]
jmp 0x14001d524
movsx edx, byte [r8]
mov ecx, edx
imul ecx, edx
xor edx, r9d
add ecx, 0x31
xor ecx, 0x4764996c
mov r9d, ecx
imul r9d, edx
add r8, 2
cmp r8, r10
jne 0x14001d504
cmp r9d, edi
jne 0x14001d633
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov rcx, qword [rcx + r9 + 0x88]
mov r11d, ecx
add r11, r9
shr rcx, 0x20
cmp r11, r9
je 0x14001d633
mov ebx, dword [r11 + 0x18]
test ebx, ebx
je 0x14001d633
mov r15d, dword [r11 + 0x20]
dec ebx
mov ebp, 0xd8e71012
lea rdx, [r15 + rbx*4]
mov r10d, dword [rdx + r9]
add r10, r9
jmp 0x14001d596
movsx r8d, dl
mov edx, r8d
imul edx, r8d
xor r8d, ebp
add edx, 0x31
xor edx, 0x4764996c
mov ebp, edx
imul ebp, r8d
mov dl, byte [r10]
inc r10
test dl, dl
jne 0x14001d579
cmp ebp, esi
je 0x14001d5ad
test ebx, ebx
jne 0x14001d565
jmp 0x14001d633
mov edx, dword [r11 + 0x24]
add rdx, r9
movzx r8d, word [rdx + rbx*2]
mov edx, dword [r11 + 0x1c]
add rdx, r9
mov r10d, dword [rdx + r8*4]
add r10, r9
cmp r10, r11
jbe 0x14001d63b
lea rax, [rcx + r11]
cmp r10, rax
jae 0x14001d63b
mov edi, 0xd8e71012
mov esi, edi
jmp 0x14001d5f8
movsx ecx, al
mov eax, ecx
imul eax, ecx
xor ecx, edi
add eax, 0x31
xor eax, 0x4764996c
mov edi, eax
imul edi, ecx
inc r10
mov al, byte [r10]
cmp al, 0x2e
jne 0x14001d5de
jmp 0x14001d618
movsx ecx, al
mov eax, ecx
imul eax, ecx
xor ecx, esi
add eax, 0x31
xor eax, 0x4764996c
mov esi, eax
imul esi, ecx
inc r10
mov al, byte [r10]
test al, al
jne 0x14001d601
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x14001d4d8
mov rcx, qword [rsp + 0x60]
mov r9, r12
mov rdx, qword [rsp + 0x68]
mov r8, r13
mov rcx, qword [rcx + 0x10]
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp r10
Function at 0x14006c33c
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r14, qword [0x140336080]
lea r10, [0x140336060]
mov r12, r9
movabs rcx, 0x85548bda7d903fd4
movabs rax, 0xf474000000000000
mov r13, r8
imul r14, rax
movabs r8, 0xaaaaaaaaaaaaaaab
movabs rax, 0x6d7f000000000000
xor r14, rax
mov rax, r8
mov r9, r14
mov rdi, r14
imul r9, rcx
and rdi, rcx
mov rbx, r14
mul r9
movabs rcx, 0xb9de928bceb5a372
shr rdx, 2
lea rax, [rdx + rdx*2]
add rax, rax
sub r9, rax
movabs rax, 0xc4ffc5118a994adc
imul rdi, qword [r10 + r9*8]
movabs r9, 0x7aab7425826fc02c
imul rdi, rax
movabs rax, 0x739d278a7784ed08
xor rdi, rax
movabs rax, 0xffffff57c7061c53
imul rbx, rax
shr rdi, 3
sub rbx, 0x1cc71f04
mov rax, rdi
imul rax, qword [0x140336070]
xor rbx, qword [0x140336060]
imul rax, rcx
xor rbx, rdi
lea rcx, [r14 + r9]
not rax
xor rcx, 0xfffffffff03ba87f
and rbx, rax
mov rax, r8
mul rcx
ror rbx, 0x17
shr rdx, 2
shr rbx, 8
lea rax, [rdx + rdx*2]
add rax, rax
sub rcx, rax
movabs rax, 0x2f968aaf906cb068
mov r11, qword [r10 + rcx*8]
movabs rcx, 0x53ffe102ea1bd1d0
imul r11, rax
mov rax, rdi
imul rax, rcx
sub r11, r9
xor r11, rax
mov rax, r8
shr r11, 0x1f
not r11
lea rcx, [r11 + r9]
mul rcx
shr rdx, 2
lea rax, [rdx + rdx*2]
add rax, rax
sub rcx, rax
movzx eax, r11b
movzx ecx, byte [r10 + rcx*8]
imul ecx, eax
movzx ecx, cl
xor ecx, 0x63
and ecx, 0x8000003f
jge 0x14006c4ba
dec ecx
or ecx, 0xffffffc0
inc ecx
mov rdx, r11
movabs rax, 0xa4660e92131f8789
xor rdx, r14
mov r10, r11
ror rdx, cl
imul r10, rbx
not rdx
not rbx
imul rdx, rdi
imul rbx, r11
imul rsi, rdx, 0xffffffffe338e0fc
lea r8, [rsi + r9]
sub r10, r8
lea r9, [0x140336060]
xor r10, rax
mov cl, r8b
xor cl, 0xfc
movabs rax, 0x112af944c43854b0
imul rdx, rax
and cl, 0xf
movabs rax, 0x184ce3531995f870
add rdx, rax
rol r10, cl
xor r10, rdx
mov rcx, r8
sub rcx, qword [0x140336078]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rdi
xor r10, rcx
mov cl, dil
shr rdx, 2
and cl, 0x3f
xor r10, rdi
xor r10, r14
lea rax, [rdx + rdx*2]
mov rdx, rdi
add rax, rax
sub rdx, rax
mov rax, r10
imul rax, qword [0x140336080]
mov r9, qword [r9 + rdx*8]
and r9, rax
movabs rax, 0x7cd8a7de755b499e
imul rbx, rax
xor r9, rdi
ror r9, cl
imul r9, r8
mov r8, qword [0x140336068]
mov rax, r9
imul rax, r14
xor rbx, rax
mov al, bl
not al
movzx ecx, al
movzx eax, r8b
xor ecx, eax
and ecx, 0x8000003f
jge 0x14006c5b2
dec ecx
or ecx, 0xffffffc0
inc ecx
imul rdx, qword [0x140336060], 0xffffffffe338e0fc
movabs rax, 0x85548bda7d903fd4
xor r9, rbx
imul r9, qword [0x140336070]
sub rdx, r8
ror rdx, cl
lea rcx, [rsi + rdx]
imul rcx, rax
movabs rax, 0x184ce3531995f870
add rcx, rax
movabs rax, 0x85548bda7d903fd3
sub rax, rsi
imul rcx, rax
movabs rax, 0xf5ed7e8782a3098f
imul rcx, r10
xor r11, rax
not r11
xor rcx, r11
sub rcx, r9
call fcn.14002ea98
mov rdx, qword [rsp + 0x58]
mov r9, r12
mov rcx, qword [rsp + 0x50]
mov r8, r13
mov qword [0x14033ff50], rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
jmp 0x14005b394
Function at 0x1400709b0
Capabilities:
Read file on windows

Disassembly:
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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400709de
xor eax, eax
jmp 0x140070ac4
cmp qword [rcx + 0x68], 0
je 0x1400709ef
call fcn.140070ae0
jmp 0x140070ac4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140070a06
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140070a08
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140070a3a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1402b7190
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140070abe
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140070a71
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140070a9a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140298ea0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140070abe
cmp rsi, rbx
ja 0x140070a78
test rsi, rsi
je 0x140070abe
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140298ea0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14017a2f4
Capabilities:
Encode data using xor

Disassembly:
movabs rax, 0x5555555555555555
mov qword [rcx + 8], rdx
mov qword [rcx + 0x1388], rax
lea r9, [rcx + 0x10]
mov r8d, 1
mov r10d, 0x138
mov rax, rdx
shr rax, 0x3e
xor rax, rdx
movabs rdx, 0x5851f42d4c957f2d
imul rdx, rax
add rdx, r8
inc r8
mov qword [r9], rdx
lea r9, [r9 + 8]
cmp r8, r10
jb 0x14017a319
mov dword [rcx], r10d
mov rax, rcx
ret
Function at 0x14017c00c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, 0x138
mov rbx, rcx
cmp dword [rcx], r8d
jne 0x14017c06b
lea r9, [rcx + 0x10]
mov rdx, qword [r9]
xor rdx, qword [r9 - 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r9]
lea r9, [r9 + 8]
mov al, dl
and al, 1
neg al
movabs rax, 0xb5026f5aa96619e9
sbb rcx, rcx
shr rdx, 1
and rcx, rax
xor rcx, qword [r9 + 0x4d0]
xor rcx, rdx
mov qword [r9 + 0x9b0], rcx
sub r8, 1
jne 0x14017c024
jmp 0x14017c078
cmp dword [rcx], 0x270
jb 0x14017c078
call fcn.14017ceec
mov eax, dword [rbx]
mov rdx, qword [rbx + rax*8 + 8]
inc eax
mov dword [rbx], eax
mov rcx, rdx
mov rax, qword [rbx + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 0x20
pop rbx
ret

Function at 0x14017ceec
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea r10, [rcx + 0x9c8]
mov r9, rcx
mov rax, qword [r10]
mov r11d, 0x9c
mov rbx, 0xffffffff80000000
movabs rdi, 0xb5026f5aa96619e9
mov r8, r10
add r10, 8
mov rdx, qword [r10]
xor rdx, rax
and rdx, rbx
xor rdx, qword [r10]
mov al, dl
and al, 1
neg al
mov rax, qword [r10]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub r11, 1
jne 0x14017cf1a
lea r10, [r9 + 0xea8]
mov r11d, 0x9b
mov rax, qword [r10]
mov r8, r10
add r10, 8
mov rdx, qword [r10]
xor rdx, rax
and rdx, rbx
xor rdx, qword [r10]
mov al, dl
and al, 1
neg al
mov rax, qword [r10]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r8 - 0xea0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub r11, 1
jne 0x14017cf66
mov rdx, qword [r9 + 8]
xor rdx, qword [r9 + 0x1380]
and rdx, rbx
mov rbx, qword [rsp + 8]
xor rdx, qword [r9 + 8]
mov al, dl
and al, 1
neg al
sbb rcx, rcx
and dword [r9], 0
and rcx, rdi
shr rdx, 1
xor rcx, qword [r9 + 0x4e0]
mov rdi, qword [rsp + 0x10]
xor rcx, rdx
mov qword [r9 + 0x9c0], rcx
ret
Function at 0x14028ec70
Capabilities:
Execute syscall

Disassembly:
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], rbx
mov rbx, rax
pop qword [rax]
mov eax, dword [rax + 0x10]
mov r10, rcx
syscall
mov rcx, rbx
push qword [rcx]
mov rbx, qword [rcx + 8]
ret

Function at 0x14028fab0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14028faea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14028faef
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14028fb38
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1403125b0]
cmp byte [rcx + rax], 0
je 0x14028fb38
dec r8
sub rdx, 1
jne 0x14028fb1e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1402900fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14028fbc8
mov ebx, eax
test eax, eax
jne 0x14029012c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140290188
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14029017f
test al, 0x10
je 0x14029017f
bt eax, 0xa
jae 0x140290178
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1402901a0
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140290174
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140290198
test edi, edi
jne 0x14029017f
and dword [rsp + 0x3c], 0
jmp 0x140290184
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1402a350c
int3

Function at 0x140291690
Capabilities:
Parse pe header

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

Function at 0x1402980b8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1402980d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14029e340
or eax, 0xffffffff
jmp 0x1402980da
xor eax, eax
add rsp, 0x28
ret

Function at 0x1402a3ddc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402a3bd8