joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140b100b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b10237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b100e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b100c7
add dl, dl
jne 0x140b100ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b1014e
xor eax, eax
add dl, dl
jne 0x140b100fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b10205
add dl, dl
jne 0x140b1010e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b1011b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b10128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b10135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b10142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b100d6
mov eax, 1
add dl, dl
jne 0x140b1015e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b1016b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b10153
sub eax, ebx
mov ebx, 1
jne 0x140b101a4
mov ecx, 1
add dl, dl
jne 0x140b10186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b10193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b1017b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b100d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b101c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b101cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b101b5
cmp eax, 0x7d00
jae 0x140b101f3
cmp eax, 0x500
jb 0x140b101ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b100d6
cmp eax, 0x7f
ja 0x140b101f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b100d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b1022a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b100d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4ccec0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4cdfa0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cd8c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cd95a
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cd93e
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 0x2fc4cd932
cmp qword [rbp - 0x10], 0
je 0x2fc4cd932
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 0x2fc4cd8f8
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cd95b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cda60
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 0x2fc4cda88
mov eax, 0
jmp 0x2fc4cdad6
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 0x2fc4cdab1
mov eax, 0
jmp 0x2fc4cdad6
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 0x2fc4cdad1
mov eax, 0
jmp 0x2fc4cdad6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cdadc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cdb5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cdb51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cdb51
mov rax, qword [rbp - 8]
jmp 0x2fc4cdb6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cdb24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002cd0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180043008]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rcx
mov ecx, dword [0x1800441d4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
lea rdi, [0x180044e70]
mov eax, dword [rbx]
cmp dword [0x180044df8], eax
jle 0x180002d86
lea rcx, [0x180044df8]
call fcn.18001b8f8
cmp dword [0x180044df8], 0xffffffff
jne 0x180002d86
movdqa xmm0, xmmword [0x180039a30]
movdqa xmmword [0x180044e60], xmm0
mov byte [0x180044e50], 0
lea rdx, [0x180038944]
mov rcx, rdi
call fcn.18000a7d0
nop
lea rcx, [0x18002fd20]
call fcn.18001bf2c
nop
lea rcx, [0x180044df8]
call fcn.18001b898
mov eax, dword [rbx]
cmp dword [0x180044da8], eax
jle 0x180002ecf
lea rcx, [0x180044da8]
call fcn.18001b8f8
cmp dword [0x180044da8], 0xffffffff
jne 0x180002ecf
xor ebp, ebp
mov qword [rsp + 0x68], rbp
lea r8, [rsp + 0x68]
lea rdx, [0x180044e50]
lea ecx, [rbp + 6]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.18001df10
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movdqa xmm0, xmmword [0x180039a30]
movdqa xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], bpl
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.18000a7d0
nop
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov rax, qword [0x180044e88]
mov rdx, qword [rsp + 0x50]
cmp rdx, rax
ja 0x180002e61
cmp rax, 8
cmovae rdi, qword [0x180044e70]
mov qword [0x180044e80], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.18001d0f0
mov word [rbx + rdi], bp
jmp 0x180002e6a
mov rcx, rdi
call fcn.18000b1e0
nop
lea rcx, [rsp + 0x40]
call fcn.18000a8e0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180002ec3
inc rdx
mov rax, qword [rsp + 0x20]
mov rcx, rax
cmp rdx, 0x1000
jb 0x180002eba
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x180002f0a
mov rdx, r8
test cl, 0x1f
jne 0x180002f0a
mov rax, qword [rax - 8]
cmp rax, rcx
jae 0x180002f0a
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x180002f0a
mov rcx, rax
call fcn.18001bf44
nop
lea rcx, [0x180044da8]
call fcn.18001b898
lea rdx, [0x180044e50]
mov rcx, rsi
call fcn.180001900
mov rax, rsi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18001b6d0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.18001ffac
nop
Function at 0x18000cc30
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x48
mov rax, qword [0x180043008]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r15d, r15d
lea rsi, [rdx + 0x20]
cmp qword [rsi + 0x18], 8
mov rbx, rcx
mov dword [rsp + 0x28], r15d
mov rcx, rsi
jb 0x18000cc65
mov rcx, qword [rsi]
lea rdx, [rsp + 0x28]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test eax, eax
jne 0x18000cc7e
mov qword [rbx], r15
jmp 0x18000cd5d
mov qword [rsp + 0x80], rdi
mov rcx, rbp
mov qword [rsp + 0x40], r14
call fcn.18001bf4c
mov rdi, rax
test rax, rax
je 0x18000ccaa
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.18001df10
jmp 0x18000ccad
mov rdi, r15
cmp qword [rsi + 0x18], 8
mov r14, qword [rsp + 0x40]
jb 0x18000ccbc
mov rsi, qword [rsi]
mov edx, dword [rsp + 0x28]
mov r9, rdi
mov r8d, ebp
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x18000ccd8
mov qword [rbx], r15
jmp 0x18000cd48
lea r9, [rsp + 0x2c]
mov dword [rsp + 0x2c], r15d
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], r15
lea rdx, [0x180038dd4]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x18000cd05
mov qword [rbx], r15
jmp 0x18000cd48
cmp dword [rsp + 0x2c], r15d
jne 0x18000cd11
mov qword [rbx], r15
jmp 0x18000cd48
mov r8, qword [rsp + 0x20]
cmp dword [r8], 0xfeef04bd
je 0x18000cd24
mov qword [rbx], r15
jmp 0x18000cd48
movzx eax, word [r8 + 0xa]
movzx ecx, word [r8 + 8]
movzx edx, word [r8 + 0xe]
movzx r8d, word [r8 + 0xc]
mov word [rbx + 6], r8w
mov word [rbx], ax
mov word [rbx + 2], cx
mov word [rbx + 4], dx
test rdi, rdi
je 0x18000cd55
mov rcx, rdi
call fcn.18001bf44
mov rdi, qword [rsp + 0x80]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18001b6d0
add rsp, 0x48
pop r15
pop rsi
pop rbp
pop rbx
ret

Function at 0x18001d9fc
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, str.FlsAlloc
xor ecx, ecx
lea r8, [0x1800306f0]
lea rdx, str.FlsAlloc
call fcn.18001d824
mov rbx, rax
test rax, rax
je 0x18001da3c
mov rcx, rax
call fcn.18001c6fc
mov rcx, rdi
call rbx
jmp 0x18001da42
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18001daa4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, str.FlsGetValue
mov ecx, 2
lea r8, [0x180030718]
lea rdx, str.FlsGetValue
call fcn.18001d824
mov rdi, rax
test rax, rax
je 0x18001dae5
mov rcx, rax
call fcn.18001c6fc
mov ecx, ebx
call rdi
jmp 0x18001daed
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18001daf8
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, str.FlsSetValue
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180030730]
call fcn.18001d824
mov rsi, rax
test rax, rax
je 0x18001db44
mov rcx, rax
call fcn.18001c6fc
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x18001db4f
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x2fc53f710
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc5407f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc540112
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc562108]
test eax, eax
je 0x2fc5401aa
lea rax, [0x2fc5620e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc562110]
mov qword [rbp - 8], rax
jmp 0x2fc54018e
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 0x2fc540182
cmp qword [rbp - 0x10], 0
je 0x2fc540182
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 0x2fc540148
lea rax, [0x2fc5620e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5401ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5402b0
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 0x2fc5402d8
mov eax, 0
jmp 0x2fc540326
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 0x2fc540301
mov eax, 0
jmp 0x2fc540326
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 0x2fc540321
mov eax, 0
jmp 0x2fc540326
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc54032c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc5403aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5403a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc5403a1
mov rax, qword [rbp - 8]
jmp 0x2fc5403bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc540374
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001300
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rax, qword gs:[0x60]
xor r14d, r14d
mov r12, rdx
mov r13, qword [rax + 0x18]
add r13, 0x10
mov rdi, qword [r13]
cmp rdi, r13
je 0x14000144e
mov edx, 0x20b
movabs rcx, 0xcbf29ce484222325
mov r8d, 0x5a4d
cmp qword [rdi + 0x60], 0
je 0x140001442
mov r11, qword [rdi + 0x30]
test r11, r11
je 0x140001442
movsxd rax, dword [r11 + 0x3c]
mov esi, dword [rax + r11 + 0x88]
add rsi, r11
cmp word [r11], r8w
jne 0x140001442
cmp word [rax + r11 + 0x18], dx
jne 0x14000139d
cmp dword [rax + r11 + 0x8c], 0
jbe 0x140001442
mov ebx, dword [rsi + 0x18]
xor r10d, r10d
test ebx, ebx
je 0x140001433
mov r15d, dword [rsi + 0x20]
nop
lea rax, [r15 + r10*4]
mov r8, rcx
mov r9d, dword [rax + r11]
mov rax, 0xffffffffffffffff
add r9, r11
inc rax
cmp byte [r9 + rax], 0
jne 0x1400013c5
xor edx, edx
test rax, rax
je 0x140001401
movabs rbx, 0x100000001b3
movsx rcx, byte [r9 + rdx]
inc rdx
xor r8, rcx
imul r8, rbx
cmp rdx, rax
jb 0x1400013e0
mov ebx, dword [rsi + 0x18]
movabs rcx, 0xcbf29ce484222325
cmp r12, r8
je 0x140001410
inc r10d
cmp r10d, ebx
jb 0x1400013b0
jmp 0x140001428
mov ecx, dword [rsi + 0x24]
add rcx, r11
movzx edx, word [rcx + r10*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r11
mov r14d, dword [rcx + rdx*4]
add r14, r11
mov r8d, 0x5a4d
mov edx, 0x20b
test r14, r14
jne 0x14000146d
movabs rcx, 0xcbf29ce484222325
mov rdi, qword [rdi]
cmp rdi, r13
jne 0x140001355
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov rax, r14
jmp 0x140001450
Function at 0x140005a20
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 0x140005a81
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 0x140005a40
mov ecx, dword [r9]
jmp 0x140005b6b
cmp ecx, 0x4e0
jb 0x140005b6b
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 0x140005aa0
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 0x140005af0
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 0x140006540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14d, ecx
mov dword [rbp - 0x29], 0x5153509c
mov dword [rbp - 0x25], 0x41504152
mov dword [rbp - 0x21], 0x41524151
mov dword [rbp - 0x1d], 0xec834853
mov word [rbp - 0x19], 0x4828
mov byte [rbp - 0x17], 0xb9
mov dword [rbp - 0xe], 0x1c2c748
mov dword [rbp - 0xa], 0x4d000000
mov dword [rbp - 6], 0xb848c031
mov dword [rbp + 6], 0x8348d0ff
mov dword [rbp + 0xa], 0x5b4128c4
mov dword [rbp + 0xe], 0x59415a41
mov dword [rbp + 0x12], 0x595a5841
mov dword [rbp + 0x16], 0xc39d585b
mov qword [rbp - 0x16], r9
mov qword [rbp - 2], r8
mov qword [rbp - 0x39], 0x44
mov qword [rbp - 0x49], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov dword [rbp - 0x61], 0x48ca8949
mov word [rbp - 0x5d], 0xc0c7
mov word [rbp - 0x57], 0x50f
mov byte [rbp - 0x55], 0xc3
movabs rsi, 0x4fe232be2dca3638
mov rbx, qword [0x14002fde0]
test rbx, rbx
jne 0x140006643
cmp qword [0x14002fde8], rbx
jne 0x140006643
mov rdx, rsi
call fcn.140001300
mov rbx, rax
mov qword [0x14002fde0], rax
movabs rdx, 0xa95b7a6b57337d87
call fcn.140001300
mov qword [0x14002fde8], rax
mov rdx, rsi
call fcn.140001300
mov ecx, dword [rax + 4]
mov dword [rbp - 0x79], ecx
mov dword [rbp - 0x5b], ecx
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.1400038f0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp - 0x39]
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [rbp - 0x69]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
mov rsi, qword [0x14002fde8]
mov rax, qword [rbp - 0x71]
test rax, rax
je 0x1400066db
mov qword [rbp - 0x41], 0
mov qword [rbp - 0x51], rax
mov r9d, 0x8000
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x51]
mov rcx, 0xffffffffffffffff
call rsi
cmp eax, 0xc0000045
jne 0x1400066db
mov r9d, 0x8000
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x51]
mov rcx, 0xffffffffffffffff
call rsi
nop
test bl, bl
je 0x140006716
mov rbx, qword [rbp - 0x49]
test rbx, rbx
je 0x140006716
mov qword [rsp + 0x20], 0
mov r9d, 0x43
lea r8, [rbp - 0x29]
mov rdx, rbx
mov rcx, rdi
call fcn.14000674b
mov r8, rbx
mov rdx, rdi
mov ecx, r14d
call fcn.140006060
jmp 0x140006718
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400069f0
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140006740
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3f
syscall
ret

Function at 0x14000674b
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x1400076ac
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14000fc18
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x14000fcff
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x14000fd33
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000fd33
call fcn.140011ff0
xor ebx, ebx
test eax, eax
jne 0x14000fd21
cmp byte [rbp - 0x48], bl
je 0x14000fd1a
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x14000fd33
cmp byte [rbp - 0x48], bl
je 0x14000fd31
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.14000fa9c
mov esi, eax
test eax, eax
je 0x14000fd6f
call fcn.140011d08
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x14000fdc8
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.14000fa9c
mov edi, eax
test eax, eax
je 0x14000fdab
call fcn.140011d08
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x14000fdba
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.140014fbc
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x14000fdc8
mov rcx, qword [rbp - 0x50]
call fcn.140011da0
cmp byte [rbp - 8], bl
je 0x14000fdd6
mov rcx, qword [rbp - 0x20]
call fcn.140011da0
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140010348
Capabilities:
Parse pe header

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