joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1803c1fd4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.180395e7c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1803c205e
cmp byte [rbp - 0x21], r15b
je 0x1803c2059
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1803c2094
call fcn.1803b42e8
test eax, eax
jne 0x1803c2080
cmp byte [rbp - 0x21], r15b
je 0x1803c2078
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1803c2094
cmp byte [rbp - 0x21], r15b
je 0x1803c2091
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1803a4e8c
test eax, eax
jne 0x1803c2134
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180395e7c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1803c20d3
cmp byte [rbp - 0x21], r15b
je 0x1803c2108
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1803c2108
call fcn.1803b42e8
test eax, eax
jne 0x1803c20f4
cmp byte [rbp - 0x21], r15b
je 0x1803c20ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1803c2108
cmp byte [rbp - 0x21], r15b
je 0x1803c2105
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1803a4e8c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1803c2134
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1803c2137
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1803c2145
mov rcx, rdi
call fcn.1803b3edc
cmp byte [rbp + 0x3f], r15b
je 0x1803c2154
mov rcx, qword [rbp + 0x27]
call fcn.1803b3edc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1803c35d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1803c35f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1803c35f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400016ac
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
mov ebp, 1
call fcn.140016870
xor edx, edx
lea ecx, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor ebx, ebx
mov rsi, rax
mov edi, ebx
mov edx, edi
lea rcx, [0x1400205bc]
call fcn.14000104c
inc edi
cmp edi, 0x3e8
jle 0x1400016fe
cmp rsi, 0xffffffffffffffff
je 0x140001770
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001770
call fcn.140001118
mov ecx, eax
call fcn.140001118
jmp 0x140001746
inc ebp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001744
lea edi, [rax + 0xa]
call fcn.140001118
sub rdi, 1
jne 0x14000175b
cmp ebp, 0x5a
seta bl
mov eax, ebx
jmp 0x140001772
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001b60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002578
Capabilities:
Parse pe header

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

Function at 0x140005224
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 0x140005293
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005293
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005293
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005293
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005293
cmp dword [rcx + 0x84], 0xe
jbe 0x140005293
cmp dword [rcx + 0xf8], 0
je 0x140005293
mov ecx, ebx
call fcn.140005344
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.140005120
nop
cmp dword [rbp + 0x20], 0
je 0x1400052e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400052ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005224

Function at 0x140005428
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 0x140005293
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005293
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005293
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005293
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005293
cmp dword [rcx + 0x84], 0xe
jbe 0x140005293
cmp dword [rcx + 0xf8], 0
je 0x140005293
mov ecx, ebx
call fcn.140005344
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.140005120
nop
cmp dword [rbp + 0x20], 0
je 0x1400052e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400052ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005224
Function at 0x14000de04
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000de34
xor eax, eax
jmp 0x14000def7
mov rbp, rbx
cmp word [rax], si
je 0x14000de59
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000de40
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000de3c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000dd24
movsxd r14, eax
test eax, eax
jne 0x14000de97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000de2d
mov rcx, r14
call fcn.14000ac90
mov rdi, rax
test rax, rax
jne 0x14000deb0
xor ecx, ecx
call fcn.140009760
jmp 0x14000de8c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000dd24
test eax, eax
jne 0x14000dee1
mov rcx, rdi
call fcn.140009760
jmp 0x14000deeb
xor ecx, ecx
call fcn.140009760
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140012a7c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140012a92
mov al, 1
jmp 0x140012af2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140012aa3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140012af0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000e3c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012af0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140012af0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140012af0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140012af2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140013b68
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.14001483c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001483c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140013cb8
cmp rax, 0xffffffffffffffff
je 0x140013cb8
xor edi, edi
test rbp, rbp
jle 0x140013c63
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400096e8
mov rbx, rax
test rax, rax
jne 0x140013bf0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140013c59
mov edx, 0x8000
mov ecx, r14d
call fcn.1400082c8
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.140010a40
cmp eax, 0xffffffff
je 0x140013c39
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140013c00
mov edx, r15d
mov ecx, r14d
call fcn.1400082c8
jmp 0x140013c59
cmp byte [rsi + 0x38], dil
je 0x140013c50
cmp dword [rsi + 0x34], 5
jne 0x140013c50
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140013c59
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140009760
jmp 0x140013ccc
jns 0x140013ccc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001483c
cmp rax, 0xffffffffffffffff
jne 0x140013c84
cmp byte [rsi + 0x30], dil
je 0x140013ccc
mov edi, dword [rsi + 0x2c]
jmp 0x140013ccc
mov ecx, r14d
call fcn.14000e3c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140013ccc
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 0x140013ccc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140013cc5
mov eax, dword [rsi + 0x2c]
jmp 0x140013cca
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001483c
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 0x140013cfc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400247f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140013d53
cmp word [rdx], r13w
jne 0x140013d53
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140013d58
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140013e7d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140013e9e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140013d91
mov rdx, r9
mov word [rbx], cx
jmp 0x140013db8
cmp r9, r8
jae 0x140013dc8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140013d72
jmp 0x140013e7d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140013e72
cmp dword [rsp + 0x80], esi
je 0x140013e72
lea r8, [0x1400247f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140013e4a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140013e1a
mov word [rbx], r13w
jmp 0x140013e7a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140013e27
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140013e7a
cmp word [rsp + 0x70], r13w
jne 0x140013e57
cmp rbx, r14
je 0x140013e14
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001483c
cmp word [rsp + 0x70], r13w
je 0x140013e7d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400247f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140013e77
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140013e7d
Function at 0x140016340
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016368
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016368
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1401333d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg r9, r14
mov qword [rsp + 0x20], r14
xchg r14, r9
mov qword [rsp + 0x18], r8
jne 0x14013340b
je 0x14013340b
pushfq
and r9d, 0x7b2f0b58
cmp edi, 0x3e4eef6d
cmp rdi, rcx
rcl ebx, 0x95
cmp r15d, 0x80628d1b
int3
jmp 0x14013341b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rax, [0x140133670]
xchg rcx, rax
mov qword [rsp + 0x18], rcx
xchg rcx, rax
jmp 0x14013343d
mov dword [rsp + 8], 0
xchg rsi, rax
mov rsi, qword [rsp + 0x30]
xchg rsi, rax
xchg r12, rax
mov qword [rsp + 0x10], r12
jmp 0x14013345a
xchg r12, rax
jmp fcn.140133472

Function at 0x141141d12
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp rdi
rol eax, 3
cmp r14b, 0x30
bswap eax
jmp 0x141136d49
add eax, 0x609207c7
stc
cmc
rol eax, 3
cmp cx, 0x489b
clc
not eax
push r11
sal r11b, 0xa
shrd r11d, esi, 0x74
xor dword [rsp], eax
pop r11
movsxd rax, eax
add rdi, rax
jmp 0x1410a9ca6
push rdx
bts dx, r12w
push rdi
push r13
stc
push rcx
push r11
push rbp
ror r11b, 0x19
not r10w
push rbx
push r8
push r15
jmp 0x141151d71
and rsp, 0xfffffffffffffff0
rol dx, cl
mov r11, rbx
rdtsc
rcl ah, cl
movabs rdx, 0
setne ah
sub r11, rdx
and di, 0x6d51
cbw
lea rdi, [0x14113f6f0]
xor rax, 0x475b2a62
nop
mov eax, dword [rbx]
clc
cmp bpl, 0x73
add rbx, 4
test cx, 0x332
test r11w, r8w
xor eax, r11d
cmp ax, ax
clc
cmp dil, 0x65
sub eax, 0x626b59b5
jmp 0x1410d8005
push rax
push r10
pushfq
mov al, 0x85
push r14
rcl r10b, cl
push rsi
rcr ax, cl
jmp 0x14113be85
push r9
push r12
movabs r10, 0
push r10
ror sil, cl
mov bl, 0x6a
mov rbx, qword [rsp + 0x90]
movzx rsi, si
movsx rax, r11w
btr di, bx
ror ebx, 3
dec dil
mov r11b, bl
cwde
not ebx
inc ebx
bt rdx, 0xfc
adc dl, 0x7e
xor ebx, 0x4c4c6524
ror ebx, 3
rcr sil, 0xc9
mov r11d, 0x931089
bswap ebx
cwd
btr si, ax
ror ebx, 1
neg ebx
rdtsc
cdq
inc ebx
movzx si, r8b
cwd
rol ebx, 1
lahf
bswap ebx
adc rax, 0x155f3bd2
bswap r11w
sub ebx, 0x377e5761
btc rax, 0xf1
sbb r11w, 0x1162
neg ebx
movzx dx, r11b
rdtsc
bswap ebx
bt dx, r13w
ror ebx, 2
cwde
add rbx, r10
movabs r10, 0x100000000
setg sil
sal r11w, 0x6c
lea rbx, [rbx + r10]
stc
mov rsi, rsp
movsx edi, ax
and edi, esi
sub rsp, 0x180
sub r11b, 0xda
bsr r11w, r12w
jmp 0x14113f6c8
Function at 0x14003fb90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003fb9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003fbad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003fb95
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003fbc5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003fbb2
sub eax, 3
jb 0x14003fbdf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003fc16
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003fc06
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003fc04
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003fbf3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003fb52
jmp 0x14003fb9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b400
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003fc62
cmp rsi, rcx
jae 0x14003fc6a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003fc49
cmp al, 0x8f
ja 0x14003fc49
cmp byte [rsi - 2], 0xf
je 0x14003fc4f
sub al, 0xe8
cmp al, 1
ja 0x14003fc33
cmp rsi, rcx
jae 0x14003fc6a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003fc39
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003fc6a
lodsb al, byte [rsi]
jmp 0x14003fc49
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3d000]
mov eax, dword [rdi]
or eax, eax
je 0x14003fcd3
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5433c]
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 0x14003fc77
jns 0x14003fcac
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003fcb6
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 0x14003fccd
mov qword [rbx], rax
add rbx, 8
jmp 0x14003fc97
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 + 0x18f]
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 0x14003fd2b
sub rsp, 0xffffffffffffff80
jmp 0x14001bce0
Function at 0x613c1c08
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, section.._____
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call rax
mov qword [rbp - 8], rax
lea rcx, [0x613c501f]
call sym.NETUTILS.dll_base64_decode
mov rdx, rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x30], 0x48
mov byte [rbp - 0x2f], 0x31
mov byte [rbp - 0x2e], 0xc0
lea rdx, [rbp - 0x14]
lea rax, [rbp - 0x20]
mov r9, rdx
mov r8d, 0x40
mov edx, 0x63
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], 6
mov r9d, 6
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
nop
add rsp, 0x60
pop rbp
ret

Function at 0x613c1cb3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x613c1d4d
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x1c]
lea rax, [rbp - 0x18]
mov r9, rdx
mov r8d, 0x40
movabs rdx, 0x2540be3ff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov byte [rbp - 0x30], 0xb8
mov byte [rbp - 0x2f], 0x57
mov byte [rbp - 0x2e], 0
mov byte [rbp - 0x2d], 7
mov byte [rbp - 0x2c], pe_nt_image_headers64
mov byte [rbp - 0x2b], 0xc3
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x18], eax
movzx eax, word [rbp - 0x2c]
mov word [rbp - 0x14], ax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call rax
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x613c21f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x613c8024]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x613c230a
mov rax, qword [0x613c8028]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x613c223e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x613c22f0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x613c2222
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x613c2342
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x613c8028]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x613c8028]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x613c2325
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x613c22e9
sub eax, 0x40
and eax, 0xffffffbf
je 0x613c22e9
mov r9, rbp
add r9, qword [0x613c8028]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x613c2311
add dword [0x613c8024], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x613c3588
xor ebp, ebp
jmp 0x613c224b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x613c51e8]
mov edx, eax
call dbg.__report_error
mov rax, qword [0x613c8028]
mov edx, dword [r12 + 8]
lea rcx, [0x613c51b0]
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, [0x613c5190]
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]
jmp qword [sym.imp.msvcrt.dll_memcpy]

Function at 0x613c2f20
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x613c2f61
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x613c2f58
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x613c2f63
add rax, 0x28
cmp rax, r9
jne 0x613c2f44
xor eax, eax
repz ret

Function at 0x613c3010
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x613c5300]
cmp word [rbx], 0x5a4d
je 0x613c3030
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call fcn.613c2ee0
test eax, eax
je 0x613c3024
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection