joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, 0x84
add byte [rax], al
add byte [0xc5259940], dh
add byte [rax], al
add byte [rcx], bh

Function at 0x1400114e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, 0x93
add byte [rax], al
add byte [rcx], bh
mov byte [rsp + 0x94], 0x43
mov byte [rsp + 0x95], 0x33
mov byte [rsp + 0x96], 0x30
mov byte [rsp + 0x97], 0x43
mov byte [rsp + 0x98], 0x38
mov byte [rsp + 0x99], 0x37
mov byte [rsp + 0x9a], 0x33
mov byte [rsp + 0x9b], 0x35
mov byte [rsp + 0x9c], 0x34
mov byte [rsp + 0x9d], 0x39
mov byte [rsp + 0x9e], 0x33
mov byte [rsp + 0x9f], 0x46
mov byte [rsp + 0xa0], 0x35
mov byte [rsp + 0xa1], 0x33
mov byte [rsp + 0xa2], 0x38
mov byte [rsp + 0xa3], 0x2e
mov byte [rsp + 0xa4], 0x62
mov byte [rsp + 0xa5], 0x69
mov byte [rsp + 0xa6], 0x6e
mov byte [rsp + 0xa7], 0
mov byte [rsp + 0x40], 0x52
mov byte [rsp + 0x41], 0x4f
mov byte [rsp + 0x42], 0x4d
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x40]
call qword [rsp + 0xe8]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0xf0]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je fcn.140011744
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xbc], 4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xbc]
add byte [rbp + rcx*4 - 0x7c], cl
and al, 0xb8
add byte [rax], al
add byte [rdx + 0x20000005], bh

Function at 0x1400114f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, 0x94
add byte [rax], al
add byte [rbx - 0x3a], al
test byte [rdx*4 + 0x33000000], ah
Function at 0x140011794
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov byte [rsp + 0x30], 0x4d
mov byte [rsp + 0x31], 0x65
mov byte [rsp + 0x32], 0x73
mov byte [rsp + 0x33], 0x73
mov byte [rsp + 0x34], 0x61
mov byte [rsp + 0x35], 0x67
mov byte [rsp + 0x36], 0x65
mov byte [rsp + 0x37], 0x42
mov byte [rsp + 0x38], 0x6f
mov byte [rsp + 0x39], 0x78
mov byte [rsp + 0x3a], 0x41
mov byte [rsp + 0x3b], 0
mov byte [rsp + 0x60], 0x49
mov byte [rsp + 0x61], 0x6e
mov byte [rsp + 0x62], 0x74
mov byte [rsp + 0x63], 0x65
mov byte [rsp + 0x64], 0x72
mov byte [rsp + 0x65], 0x6e
mov byte [rsp + 0x66], 0x65
mov byte [rsp + 0x67], 0x74
mov byte [rsp + 0x68], 0x4f
mov byte [rsp + 0x69], 0x70
mov byte [rsp + 0x6a], 0x65
mov byte [rsp + 0x6b], 0x6e
mov byte [rsp + 0x6c], 0x41
mov byte [rsp + 0x6d], 0
mov byte [rsp + 0x90], 0x49
mov byte [rsp + 0x91], 0x6e
mov byte [rsp + 0x92], 0x74
mov byte [rsp + 0x93], 0x65
mov byte [rsp + 0x94], 0x72
mov byte [rsp + 0x95], 0x6e
mov byte [rsp + 0x96], 0x65
mov byte [rsp + 0x97], 0x74
mov byte [rsp + 0x98], 0x4f
mov byte [rsp + 0x99], 0x70
mov byte [rsp + 0x9a], 0x65
mov byte [rsp + 0x9b], 0x6e
mov byte [rsp + 0x9c], 0x55
mov byte [rsp + 0x9d], 0x72
mov byte [rsp + 0x9e], 0x6c
mov byte [rsp + 0x9f], 0x41
mov byte [rsp + 0xa0], 0
mov byte [rsp + 0x80], 0x48
mov byte [rsp + 0x81], 0x74
mov byte [rsp + 0x82], 0x74
mov byte [rsp + 0x83], 0x70
mov byte [rsp + 0x84], 0x51
mov byte [rsp + 0x85], 0x75
mov byte [rsp + 0x86], 0x65
mov byte [rsp + 0x87], 0x72
add byte [rdx - 0x3a], dh
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rcx - 0x3a], bh
test byte [rcx + rcx*4], ah
add byte [rax], al
add byte [rcx - 0x3a], cl
test byte [rdx + rcx*4], ah
add byte [rax], al
add byte [rsi - 0x3a], ch
test byte [rbx + rcx*4], ah
add byte [rax], al
add byte [rsi - 0x3a], ah
test byte [rsp + rcx*4], ah
add byte [rax], al
add byte [rdi - 0x3a], ch
test byte [rcx*4 + 0x57000000], ah

Function at 0x1400118f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [rcx - 0x3a], bh
test byte [rcx + rcx*4], ah
add byte [rax], al
add byte [rcx - 0x3a], cl
test byte [rdx + rcx*4], ah
add byte [rax], al
add byte [rsi - 0x3a], ch
test byte [rbx + rcx*4], ah
add byte [rax], al
add byte [rsi - 0x3a], ah
test byte [rsp + rcx*4], ah
add byte [rax], al
add byte [rdi - 0x3a], ch
test byte [rcx*4 + 0x57000000], ah
mov byte [rsp + 0x8e], 0
mov byte [rsp + 0xa8], 0x49
mov byte [rsp + 0xa9], 0x6e
mov byte [rsp + 0xaa], 0x74
mov byte [rsp + 0xab], 0x65
mov byte [rsp + 0xac], 0x72
mov byte [rsp + 0xad], 0x6e
mov byte [rsp + 0xae], 0x65
mov byte [rsp + 0xaf], 0x74
mov byte [rsp + 0xb0], 0x52
mov byte [rsp + 0xb1], 0x65
mov byte [rsp + 0xb2], 0x61
mov byte [rsp + 0xb3], 0x64
mov byte [rsp + 0xb4], 0x46
mov byte [rsp + 0xb5], 0x69
mov byte [rsp + 0xb6], 0x6c
mov byte [rsp + 0xb7], 0x65
invalid
test byte [rax + rdi*4], ah
add byte [rax], al
Function at 0x1400118fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [rcx - 0x3a], bh
test byte [rcx + rcx*4], ah
add byte [rax], al
add byte [rcx - 0x3a], cl
test byte [rdx + rcx*4], ah
add byte [rax], al
add byte [rsi - 0x3a], ch
test byte [rbx + rcx*4], ah
add byte [rax], al
add byte [rsi - 0x3a], ah
test byte [rsp + rcx*4], ah
add byte [rax], al
add byte [rdi - 0x3a], ch
test byte [rcx*4 + 0x57000000], ah
mov byte [rsp + 0x8e], 0
mov byte [rsp + 0xa8], 0x49
mov byte [rsp + 0xa9], 0x6e
mov byte [rsp + 0xaa], 0x74
mov byte [rsp + 0xab], 0x65
mov byte [rsp + 0xac], 0x72
mov byte [rsp + 0xad], 0x6e
mov byte [rsp + 0xae], 0x65
mov byte [rsp + 0xaf], 0x74
mov byte [rsp + 0xb0], 0x52
mov byte [rsp + 0xb1], 0x65
mov byte [rsp + 0xb2], 0x61
mov byte [rsp + 0xb3], 0x64
mov byte [rsp + 0xb4], 0x46
mov byte [rsp + 0xb5], 0x69
mov byte [rsp + 0xb6], 0x6c
mov byte [rsp + 0xb7], 0x65
invalid
test byte [rax + rdi*4], ah
add byte [rax], al

Function at 0x1400119cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
insb byte [rdi], dx
mov byte [rsp + 0x57], 0x41
mov byte [rsp + 0x58], 0x6c
mov byte [rsp + 0x59], 0x6c
mov byte [rsp + 0x5a], 0x6f
mov byte [rsp + 0x5b], 0x63
mov byte [rsp + 0x5c], 0
and al, 0x5c
add dh, al
and al, 0x40
mov byte [rsp + 0x41], 0x6f
outsd dx, dword [rsi]
mov byte [rsp + 0x42], 0x61
invalid
invalid

Function at 0x1400119f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
insb byte [rdi], dx
mov byte [rsp + 0x57], 0x41
mov byte [rsp + 0x58], 0x6c
mov byte [rsp + 0x59], 0x6c
mov byte [rsp + 0x5a], 0x6f
mov byte [rsp + 0x5b], 0x63
mov byte [rsp + 0x5c], 0
and al, 0x5c
add dh, al
and al, 0x40
mov byte [rsp + 0x41], 0x6f
outsd dx, dword [rsi]
mov byte [rsp + 0x42], 0x61
invalid
invalid

Function at 0x140011a04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [rsp + 0x45], 0x69
mov byte [rsp + 0x46], 0x62
mov byte [rsp + 0x47], 0x72
mov byte [rsp + 0x48], 0x61
mov byte [rsp + 0x49], 0x72
mov byte [rsp + 0x4a], 0x79
mov byte [rsp + 0x4b], 0x41
mov byte [rsp + 0x4c], 0
mov byte [rsp + 0x70], 0x47
mov byte [rsp + 0x71], 0x65
mov byte [rsp + 0x72], 0x74
mov byte [rsp + 0x73], 0x50
mov byte [rsp + 0x74], 0x72
mov byte [rsp + 0x75], 0x6f
mov byte [rsp + 0x76], 0x63
mov byte [rsp + 0x77], 0x41
mov byte [rsp + 0x78], 0x64
mov byte [rsp + 0x79], 0x64
mov byte [rsp + 0x7a], 0x72
mov byte [rsp + 0x7b], 0x65
mov byte [rsp + 0x7c], 0x73
mov byte [rsp + 0x7d], 0x73
mov byte [rsp + 0x7e], 0
mov byte [rsp + 0x20], 0x75
invalid
and al, 0x21
Function at 0x140011a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [rsp + 0x45], 0x69
mov byte [rsp + 0x46], 0x62
mov byte [rsp + 0x47], 0x72
mov byte [rsp + 0x48], 0x61
mov byte [rsp + 0x49], 0x72
mov byte [rsp + 0x4a], 0x79
mov byte [rsp + 0x4b], 0x41
mov byte [rsp + 0x4c], 0
mov byte [rsp + 0x70], 0x47
mov byte [rsp + 0x71], 0x65
mov byte [rsp + 0x72], 0x74
mov byte [rsp + 0x73], 0x50
mov byte [rsp + 0x74], 0x72
mov byte [rsp + 0x75], 0x6f
mov byte [rsp + 0x76], 0x63
mov byte [rsp + 0x77], 0x41
mov byte [rsp + 0x78], 0x64
mov byte [rsp + 0x79], 0x64
mov byte [rsp + 0x7a], 0x72
mov byte [rsp + 0x7b], 0x65
mov byte [rsp + 0x7c], 0x73
mov byte [rsp + 0x7d], 0x73
mov byte [rsp + 0x7e], 0
mov byte [rsp + 0x20], 0x75
invalid
and al, 0x21

Function at 0x140011a80
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address

Disassembly:
jne 0x140011ab9
ja 0x140011a95
jnp 0x140011acd
jae 0x140011a48
and al, 0x22
mov byte gs:[rsp + 0x23], 0x72
and ah, byte [rbp - 0x3a]
and al, 0x23
jb 0x140011a52
and al, 0x24
xor eax, esi
and al, 0x25
xor al, dh
and al, 0x26
add dh, al
and al, 0x28
ja 0x140011a66
and al, 0x29
imul eax, esi, 0x6e2a2444
and al, 0x2e
je 0x140011a84
and al, 0x2f
add al, ch
add al, 0
add byte [rax - 0x77], cl
test byte [rax + rcx*8], ah
add byte [rax], al
add byte [rax - 0x73], cl
push rsp
and al, 0x70
add byte [rax], al
Function at 0x140011dc4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
and al, 0x30
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
enter 0xffffffffffff8b48, 0xffffffffffffffc1
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x140011e79
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140011eff
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.140011d34
test eax, eax
jne 0x140011efa
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
jmp 0x140011f01
jmp 0x140011e6f
xor eax, eax
add rsp, 0x78
ret

Function at 0x140011f14
Capabilities:
Access peb ldr_data

Disassembly:
xor r8, r8
xor rax, rax
xor r10, r10
add r10, 0x60
mov rax, qword gs:[r10]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
ret
Function at 0x1400237c0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14002361f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002361f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002361f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002361f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002361f
cmp dword [rcx + 0x84], 0xe
jbe 0x14002361f
cmp dword [rcx + 0xf8], 0
je 0x14002361f
mov ecx, ebx
call fcn.1400236dc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400234ac
nop
cmp dword [rbp + 0x20], 0
je 0x14002366d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140023678
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400235b0
Function at 0x140029644
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14004bf70]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400296a2
cmp word [rdx], r12w
jne 0x1400296a2
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400296a8
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140029803
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400297de
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400296e1
mov rcx, r9
jmp 0x140029704
cmp r9, rdx
jae 0x14002971b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400296c5
jmp 0x140029803
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400297d8
cmp dword [rsp + 0x80], edi
je 0x1400297d8
mov rdx, r14
lea r11, [0x14004bf70]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400297b1
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140029784
mov word [rbx], r12w
jmp 0x1400297ff
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14002978d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400297ff
cmp word [rsp + 0x70], r12w
jne 0x1400297be
cmp rbx, rsi
je 0x14002977e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14002a4e4
cmp word [rsp + 0x70], r12w
je 0x140029803
mov word [rbx], r13w
jmp 0x1400297ff
lea r11, [0x14004bf70]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400297fb
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140029803
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002cb28
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002cbaf
mov rsi, rbx
cmp word [rax], bp
je 0x14002cb6e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002cb58
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002cb54
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140025908
mov rdi, rax
test rax, rax
je 0x14002cb9c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140012f60
mov rbp, rdi
xor ecx, ecx
call fcn.1400258cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140031a7c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002a4e4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002a4e4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140031bcc
cmp rax, 0xffffffffffffffff
je 0x140031bcc
xor edi, edi
test rbp, rbp
jle 0x140031b77
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140029280
mov rbx, rax
test rax, rax
jne 0x140031b04
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140031b6d
mov edx, 0x8000
mov ecx, r14d
call fcn.14002460c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140028d38
cmp eax, 0xffffffff
je 0x140031b4d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140031b14
mov edx, r15d
mov ecx, r14d
call fcn.14002460c
jmp 0x140031b6d
cmp byte [rsi + 0x38], dil
je 0x140031b64
cmp dword [rsi + 0x34], 5
jne 0x140031b64
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140031b6d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400258cc
jmp 0x140031be0
jns 0x140031be0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002a4e4
cmp rax, 0xffffffffffffffff
jne 0x140031b98
cmp byte [rsi + 0x30], dil
je 0x140031be0
mov edi, dword [rsi + 0x2c]
jmp 0x140031be0
mov ecx, r14d
call fcn.14002d668
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140031be0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140031be0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140031bd9
mov eax, dword [rsi + 0x2c]
jmp 0x140031bde
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002a4e4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400154dc
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 0x14001555a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015551
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 0x140015551
mov rax, qword [rbp - 8]
jmp 0x14001556f
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 0x140015524
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400019f0
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x1423e37fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1423e380d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1423e37f5
lea eax, [rcx + 1]
jmp 0x1423e381b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1423e382e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1423e3814
sub eax, 3
jb 0x1423e384e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1423e389d
sar eax, 1
movsxd rbp, eax
jb 0x1423e3884
jmp 0x1423e385c
add ebx, ebx
jne 0x1423e385a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1423e3884
inc ecx
add ebx, ebx
jne 0x1423e386a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1423e3884
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1423e387d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1423e386c
add ecx, 2
jmp 0x1423e3889
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1423e37b2
jmp 0x1423e37fd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x23c7000]
mov eax, dword [rdi]
or eax, eax
je 0x1423e3909
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x24f0aac]
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 0x1423e38ad
jns 0x1423e38e2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1423e38ec
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 0x1423e3903
mov qword [rbx], rax
add rbx, 8
jmp 0x1423e38cd
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 0x1423e394d
cmp al, 0xef
ja 0x1423e3935
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1423e3915
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1423e3924
mov eax, dword [rdi]
add rdi, 4
jmp 0x1423e3924
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 + 0x27f]
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.1423e39cc], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1423e39cc
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1423e39bc
sub rsp, 0xffffffffffffff80
jmp 0x140dd2f38
Function at 0x14000b800
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fd18]
test rcx, rcx
je 0x14000b83b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b82e
mov rcx, qword [0x14002fd18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fd18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fd28], 0
je 0x14000b92e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029a08]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140040550]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b90f
test al, 0x10
je 0x14000b90f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b8b5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret