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

Disassembly:
call fcn.14090b1df
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 0x14090b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14090b06f
add dl, dl
jne 0x14090b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14090b0f6
xor eax, eax
add dl, dl
jne 0x14090b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14090b1ad
add dl, dl
jne 0x14090b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14090b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14090b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14090b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14090b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14090b07e
mov eax, 1
add dl, dl
jne 0x14090b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14090b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14090b0fb
sub eax, ebx
mov ebx, 1
jne 0x14090b14c
mov ecx, 1
add dl, dl
jne 0x14090b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14090b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14090b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14090b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14090b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14090b15d
cmp eax, 0x7d00
jae 0x14090b19b
cmp eax, 0x500
jb 0x14090b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090b07e
cmp eax, 0x7f
ja 0x14090b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14090b1d2
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 0x14090b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001a38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a82
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a84
xor al, al
add rsp, 0x28
ret
Function at 0x1fe541460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x28], edx
mov qword [rbp + 0x30], r8
cmp dword [rbp + 0x28], 1
jne 0x1fe541502
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f8
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, sym.inject.dll_buf
mov ecx, 0x1f8
mov r8, qword [rdx]
mov qword [rax], r8
mov r8d, ecx
add r8, rax
lea r9, [r8 + 8]
mov r8d, ecx
add r8, rdx
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rax + 8]
and r8, 0xfffffffffffffff8
sub rax, r8
sub rdx, rax
add ecx, eax
and ecx, 0xfffffff8
mov eax, ecx
shr eax, 3
mov eax, eax
mov rdi, r8
mov rsi, rdx
mov rcx, rax
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp - 8]
call rax
mov eax, 1
add rsp, 0x30
pop rsi
pop rdi
pop rbp
ret

Function at 0x1fe5416b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1fe541720
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1fe5480c4]
mov rbx, rcx
test esi, esi
jle 0x1fe541850
mov rax, qword [0x1fe5480c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1fe54176b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1fe5417f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1fe541750
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1fe541872
mov rax, qword [0x1fe5480c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1fe5480c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1fe541857
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1fe5417ee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1fe541800
add dword [0x1fe5480c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1fe5480c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1fe5417ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1fe541778
mov rax, qword [0x1fe5480c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1fe541bf0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1fe548100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1fe5480e0]
test rbx, rbx
je 0x1fe541c4c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1fe541c43
test rsi, rsi
je 0x1fe541c43
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1fe541c28
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1fe541e60
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1fe541e78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1fe541e80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1fe541e90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1fe541edd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1fe541ed4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1fe541edf
add rax, 0x28
cmp rax, r9
jne 0x1fe541ec0
xor eax, eax
ret

Function at 0x1fe541ee0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1fe541f70
mov rdx, qword [0x1fe544270]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1fe541f5e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1fe541f5e
cmp word [rax + 0x18], 0x20b
jne 0x1fe541f5e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1fe541f70
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1fe541f49
add rbx, 0x28
cmp rbx, rdi
je 0x1fe541f70
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1fe541f40
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1fe541f80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1fe544270]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1fe541fa0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1fe541fa8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1fe541fa0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1fe541ffd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1fe541ff4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1fe541fa0
add rax, 0x28
cmp rax, r9
jne 0x1fe541fe0
xor eax, eax
ret

Function at 0x1fe542000
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1fe544270]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1fe54201f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1fe542028
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1fe54201f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1fe542040
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1fe544270]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1fe542060
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1fe542068
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1fe542060
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1fe5420b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1fe5420a7
test rcx, rcx
je 0x1fe542060
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1fe542098
xor eax, eax
ret
Function at 0x1fe5420c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1fe544270]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1fe5420df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1fe5420e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1fe542100
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1fe544270]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1fe542120
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1fe542128
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1fe542120
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1fe542120
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1fe542174
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1fe542180
add rdx, 0x28
cmp r9, rdx
jne 0x1fe542160
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1fe542190
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1fe544270]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1fe5421b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1fe5421c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1fe5421b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1fe5421b2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1fe5421b2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1fe542215
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1fe542228
add rdx, 0x28
cmp rdx, r10
jne 0x1fe542200
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1fe542237
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1fe542247
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1fe54221e
test ecx, ecx
jg 0x1fe542230
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x18001f100
Capabilities:
Get memory capacity

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1800a4088]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r15, r8
mov rbp, rdx
mov r14, rcx
mov edi, 0x122
xor r12d, r12d
nop
mov eax, edi
sub eax, 0x8b
je 0x18001f186
sub eax, 0x1b
je 0x18001f266
cmp eax, 0x7c
jne 0x18001f251
mov dword [rsp + 0x30], 3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rbp
mov r8d, 0xb6
mov rdx, r14
mov rcx, r15
call fcn.180017fe0
jmp 0x18001f26b
mov dword [rsp + 0x70], 0x40
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x18001f261
mov rcx, qword [rsp + 0x78]
mov rax, rcx
sub rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x30], r12d
mov rsi, qword [r14]
mov rbx, rsi
mov rax, qword [rsi + 8]
cmp byte [rax + 0x19], 0
jne 0x18001f1e7
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18001f1d0
cmp rbx, rsi
je 0x18001f1e7
cmp dword [rbx + 0x20], 0
jbe 0x18001f23e
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r12
mov ecx, 0x38
call fcn.180053a94
lea r9, [rax + 0x20]
mov ecx, dword [rsp + 0x30]
mov dword [r9], ecx
xorps xmm0, xmm0
movups xmmword [r9 + 8], xmm0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.18004cdd0
mov rbx, qword [rsp + 0x40]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x28], xmm0
cmp qword [r14 + 8], 0
setne byte [rsp + 0x38]
add edi, 0x1b
cmp edi, 0x173
jae 0x18001f266
jmp 0x18001f140
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180053490
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800404f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
lea r14d, [rdx + 0x270]
mov edi, edx
mov rbp, rcx
cmp edx, r14d
jae 0x180040583
mov rbx, qword [rsp + 0x50]
mov esi, dword [rsp + 0x48]
nop dword [rax]
mov eax, edi
sub eax, 0x49
je 0x180040564
sub eax, 1
je 0x180040549
sub eax, 0x9b
je 0x18004059b
cmp eax, 1
jne 0x180040578
cmp esi, 0xb7
jne 0x180040578
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r8, qword [rbp + 0x140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x180040578
lea rdx, [rbp + 0x108]
mov ecx, 0xff
call fcn.18000cb10
mov rbx, rax
add edi, 0x9c
cmp edi, r14d
jb 0x180040520
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
test rbx, rbx
jne 0x1800405af
lea rcx, [0x18008f168]
call fcn.180069138
mov rbx, rax
mov rax, rbx
jmp 0x180040588
Function at 0x180041b50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
lea ebp, [r8 + 7]
mov rdi, r9
mov r14, rdx
mov r15, rcx
cmp r8d, ebp
jae case.0x180041ba0.8
lea ebx, [r8 - 0x69]
xor esi, esi
lea r12, [0x180000000]
nop dword [rax]
cmp ebx, 0x11
ja case.0x180041ba0.1
mov ecx, dword [r12 + rbx*4 + 0x41c8c]
add rcx, r12
jmp rcx
mov byte [r14], sil
jmp case.0x180041ba0.1
mov qword [rsp + 0x28], rsi
lea r8, [0x180004450]
mov r9, rdi
mov dword [rsp + 0x20], esi
xor edx, edx
mov qword [0x1800a6bf0], rdi
xor ecx, ecx
mov qword [rdi + 0x70], r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [0x1800a6bd0], rax
setne byte [rsp + 0x70]
jmp case.0x180041ba0.1
mov byte [r14], 1
jmp case.0x180041ba0.1
movzx ecx, byte [rdi]
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x180041c1b
lea eax, [rcx - 0x61]
cmp al, 5
jbe 0x180041c12
lea eax, [rcx - 0x41]
cmp al, 5
jbe 0x180041c09
inc ebx
lea eax, [rbx + 0x69]
cmp eax, ebp
jb 0x180041b90
jmp case.0x180041ba0.8
sub cl, 0x37
mov byte [rsp + 0x70], cl
jmp case.0x180041ba0.8
sub cl, 0x57
mov byte [rsp + 0x70], cl
jmp case.0x180041ba0.8
sub cl, 0x30
mov byte [rsp + 0x70], cl
jmp case.0x180041ba0.8
mov r10d, dword [r14]
mov r8d, esi
test r10d, r10d
jle 0x180041c67
mov r11d, dword [r15]
mov r9d, esi
movzx edx, byte [rdi]
cmp r11d, 1
jne 0x180041c51
or edx, esi
lea eax, [r10 - 1]
mov esi, edx
shl esi, 8
cmp r8d, eax
cmove esi, edx
jmp 0x180041c58
mov ecx, r9d
shl edx, cl
or esi, edx
inc r8d
add r9d, 8
inc rdi
cmp r8d, r10d
jl 0x180041c35
mov eax, esi
jmp 0x180041c74
mov byte [rsp + 0x70], sil
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180048100
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180048134
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180048120
ret
Function at 0x180057d04
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x180057b24
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180057b24
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180057b24
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180057b24
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180057b24
cmp dword [rcx + 0x84], 0xe
jbe 0x180057b24
cmp dword [rcx + 0xf8], esi
je 0x180057b24
mov ecx, r14d
call fcn.180057c6c
mov ecx, 2
call fcn.180063110
nop
cmp byte [0x1800a6070], 0
jne 0x180057bee
mov r15d, 1
mov eax, r15d
xchg dword [0x1800a6060], eax
test ebx, ebx
jne 0x180057b97
mov rdi, qword [0x1800a4088]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1800a6068]
cmp rcx, rax
je 0x180057b8e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x18007e5c8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1800a63e8]
jmp 0x180057ba3
cmp ebx, r15d
jne 0x180057ba9
lea rcx, [0x1800a6400]
call fcn.180068220
nop
test ebx, ebx
jne 0x180057bc0
lea rdx, [0x18007e698]
lea rcx, [0x18007e678]
call fcn.180068478
lea rdx, [0x18007e6a8]
lea rcx, [0x18007e6a0]
call fcn.180068478
movzx eax, byte [0x1800a6070]
test esi, esi
cmove eax, r15d
mov byte [0x1800a6070], al
jmp 0x180057bee
mov ecx, 2
call fcn.180063164
test esi, esi
jne 0x180057c05
mov ecx, r14d
call fcn.180057c20
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x180057ab4

Function at 0x18006db80
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18006dba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800619bc
or eax, 0xffffffff
jmp 0x18006dba2
xor eax, eax
add rsp, 0x28
ret
Function at 0x18007243c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1800722dc
call fcn.180061a2c
mov dword [rax], 0x16
call fcn.1800627bc
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800722c4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1800722c4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18007230e
lock or dword [rax + 0x14], 0x10
jmp 0x1800722c4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x18007232b
mov rcx, qword [rbp + 0x10]
call fcn.180074d68
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18006853c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800696e0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x180072382
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1800722c4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1800723ee
mov rcx, qword [rbp + 0x10]
call fcn.18006853c
cmp eax, 0xffffffff
je 0x1800723d5
mov rcx, qword [rbp + 0x10]
call fcn.18006853c
cmp eax, 0xfffffffe
je 0x1800723d5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18006853c
movsxd rdi, eax
lea rsi, [0x1800a65d0]
mov rcx, rbx
sar rdi, 6
call fcn.18006853c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1800723dc
lea rax, [0x1800a43c0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800723ee
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x180072424
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180072420
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180072420
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1800722c7
jmp 0x180072294
Function at 0x14000b6a0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx]
mov rbx, rcx
cmp rdx, 0xffffffffffffffff
je 0x14000b6cd
test rdx, rdx
je 0x14000b6cd
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
nop dword [rax + rax]
test eax, eax
je 0x14001ca60
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14000be94
mov ecx, 1
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]