joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001ce4
Capabilities:
Parse pe header

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

Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
push rax
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140001d50
Capabilities:
Terminate process

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, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14002c748], rbx
je 0x140001db7
cmp rax, rbx
jne 0x140001daa
mov edi, 1
mov esi, edi
jmp 0x140001dbc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001d8f
mov edi, 1
mov eax, dword [0x14002c750]
cmp eax, edi
jne 0x140001dd4
mov ebx, 0x1f
mov ecx, ebx
call fcn.1400bf000
jmp 0x140001e4a
mov eax, dword [0x14002c750]
test eax, eax
jne 0x140001e3f
mov dword [0x14002c750], edi
lea r15, [0x14001e728]
lea rbx, [0x14001e710]
mov qword [rsp + 0x30], rbx
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rbx, r15
jae 0x140001e31
test eax, eax
jne 0x140001e35
cmp qword [rbx], r14
je 0x140001e26
movabs r10, 0xd30527475e523070
mov rax, qword [rbx]
mov rcx, qword [0x14001e660]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x140001dfe
test eax, eax
je 0x140001e45
mov eax, 0xff
jmp 0x140001fab
mov dword [0x14002bf50], edi
mov ebx, 0x1f
mov eax, dword [0x14002c750]
cmp eax, edi
jne 0x140001e71
lea rdx, [0x14001e708]
lea rcx, [0x14001e678]
call sub.msvcrt.dll__initterm
mov dword [0x14002c750], 2
test esi, esi
jne 0x140001e7f
mov rax, r14
xchg qword [0x14002c748], rax
cmp qword [0x14002c768], r14
je 0x140001ebc
lea rcx, [0x14002c768]
call fcn.140002460
test eax, eax
je 0x140001ebc
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14002c768]
mov r9, qword [0x14001e660]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140001ed5
mov eax, 0xff
jmp 0x140001fab
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140001f5c
test ax, ax
je 0x140001ef0
test edx, edx
jne 0x140001f5c
sub ax, di
cmp ax, bx
ja 0x140001f06
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001ef0
test byte [rsp + 0x7c], dil
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000602c
mov dword [0x14002bf4c], eax
cmp dword [0x14002bf70], r14d
jne 0x140001f45
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002bf50], r14d
jne 0x140001f5a
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002bf4c]
jmp 0x140001fab
cmp ax, 0x22
jne 0x140001f70
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140001ede
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400024f4
add rsp, 0x28
jmp 0x140001d50
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [str.D__v_]
mov dword [rax], 1
mov rax, qword [str.H__v_]
mov dword [rax], 1
mov rax, qword [str.L__v_]
mov dword [rax], 1
mov rax, qword [0x1400a96e0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140084560
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14008c400
sub rsp, rax
xor eax, eax
xor edx, edx
lea rdi, str.PYTHON_FROZEN_MODULES
mov ebp, 0x50
lea r13, [rdi + 0x28]
mov word [rsp + 0x30], dx
lea r14, [rsp + 0x30]
lea r12, [rsp + 0x2e]
mov word [rsp + 0x80], ax
mov rsi, r14
nop dword [rax]
mov rax, r13
mov rbx, rsi
sub rax, rdi
cmp word [rsi], 0
je 0x1400845ce
nop word [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1400845c0
test rax, rax
je 0x14009d2d6
mov rcx, rbx
add rdi, 1
add rsi, 2
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], bpl
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx ebp, byte [rdi]
test bpl, bpl
jne 0x1400845a8
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r14
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14008463a
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14008b0e0
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 fcn.14009c860
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14009c860
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14008bdb2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400b3ce8]
test eax, eax
je 0x14008be4a
lea rax, [0x1400b3cc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400b3cf0]
mov qword [rbp - 8], rax
jmp 0x14008be2e
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 0x14008be22
cmp qword [rbp - 0x10], 0
je 0x14008be22
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 0x14008bde8
lea rax, [0x1400b3cc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14008be4b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14008bf50
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 0x14008bf78
mov eax, 0
jmp 0x14008bfc6
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 0x14008bfa1
mov eax, 0
jmp 0x14008bfc6
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 0x14008bfc1
mov eax, 0
jmp 0x14008bfc6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14008bfcc
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 0x14008c04a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14008c041
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 0x14008c041
mov rax, qword [rbp - 8]
jmp 0x14008c05f
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 0x14008c014
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140226857
Capabilities:
Execute anti-debugging instructions

Disassembly:
not r9d
mov bpl, 0x31
jmp 0x1402268a5
mov dword [rsp + 0x10], edi
not eax
xchg qword [rsp + 2], r8
bswap r9
stc
xchg edx, esi
jmp 0x14022688f
xchg r9d, r8d
pop qword [rsp + 0x26]
std
add rsp, 0x25
mov dil, spl
jmp 0x1402268bc
lea r15, [r13 + riz]
pop r15
xchg dword [rsp + 1], edi
adc bpl, cl
setge dl
sub rsp, 0x1a
jmp 0x14022685f
mov byte [rsp + 6], r12b
lea r9, [rax + r8]
xchg edx, r12d
mov bp, word [rsp + 1]
mov r8w, 0xb9db
cmp dil, 0xec
jmp 0x140226918
mov dword [rsp + 1], eax
mov byte [rsp + 6], dil
rol r12w, 0xf
jmp 0x140226c84
dec eax
xchg dword [rsp + 0xb], eax
mov word [rsp + 7], r9w
lea r11, [rbx + riz - 0xa2d9]
mov r9, rbx
xchg word [rsp + 4], bx
jmp 0x140226902
mov bl, 0xfc
mov eax, 0xfe937792
neg r8d
and r9w, 0x7564
xchg byte [rsp + 2], r8b
sub rsp, 9
jmp 0x1402269b9
mov si, 0x7058
ror dl, 3
mov r8, qword [rsp]
rdtsc
mov sil, byte [rsp + 5]
stc
jmp 0x14022696c
mov rbx, qword [rsp + 2]
sub rsp, 0xd
mov r15, rbp
sub rsp, 0x1f
neg sil
inc r8w
call fcn.1402269a3
mov rbp, r9
pop rax
mov r12d, dword [rsp + 0x3b]
mov byte [rsp + 0x31], r13b
xchg qword [rsp + 0x20], rbx
mov rsi, r11
jmp 0x140226b17
or r12, 0x77c29866
pop r12
mov byte [rsp + 4], spl
mov sil, r13b
mov dl, byte [rsp + 8]
mov dword [rsp + 1], r10d
jmp 0x14022698e
mov rsi, r9
mov bpl, byte [rsp + 1]
mov byte [rsp], sil
lea rdi, [rdi + rbp]
jmp 0x140226a3e
mov esi, 0x43db4406
mov sil, byte [rsp]
mov ebp, esp
mov r8b, dil
not eax
inc di
jmp 0x140226a13
mov r9, qword [rsp]
bt esi, eax
bsf r12, r10
xchg r9b, dl
mov eax, dword [rsp]
jmp 0x140226a81
bswap ebx
lea rsp, [rsp + 1]
mov bpl, 0xe4
pop ax
not dil
mov edi, r13d
jmp 0x140226a29
mov r9, qword [rsp]
bswap r9
xchg word [rsp], r15w
not r11
jmp 0x140226ac4
mov rdx, r13
mov ebp, 0x4e61ce20
mov bp, word [rsp]
rdtsc
mov bx, word [rsp]
jmp 0x140226a6b
mov r15, r14
mov dl, cl
lea r8, [rax + rdi]
stc
xchg bpl, dl
xchg dword [rsp], edi
jmp 0x140226a56
xchg rdi, rbx
mov r11b, dil
mov sil, byte [rsp]
mov r11d, dword [rsp]
xchg r8w, di
call fcn.140226af2
nop
mov rdx, rcx
inc r12d
rcr r11b, cl
add rsp, 1
rdtsc
mov rbp, 0xd57ef14
jmp 0x140226aac
dec r12d
inc r9d
mov rdi, r13
bswap eax
lea rsp, [rsp + 0x31]
pop r9
jmp 0x140226a9a
xchg dword [rsp + 0xc], eax
xchg byte [rsp + 0xc], r12b
rdtsc
mov r12b, 0xaa
xchg r11w, bx
mov ebx, 0x56955110
jmp 0x1402269f4
Function at 0x140226d9b
Capabilities:
Execute anti-debugging instructions

Disassembly:
not r11b
push word [rsp + 2]
sub rsp, 0x1f
call fcn.140226794
sub eax, dword [rdx - 3]
int3
bt r11w, si
xchg rbx, r11
add rsp, 0x14
push word [rsp + 4]
mov r15, 0xffffffff8aa238b1
pop r12
jmp 0x140226762
pop qword [rsp + 0xf]
xchg r9d, r15d
xchg dword [rsp + 0x16], edx
rcr r11w, 9
rdtsc
pop bx
jmp 0x140226778
mov dl, 0x3c
mov r15b, r14b
xchg qword [rsp + 0x11], r15
mov qword [rsp + 0xc], rdx
bswap edx
bswap edi
jmp 0x1402267aa
push word [rsp + 8]
xchg r12d, edi
mov rdx, qword [rsp + 1]
sub rsp, 0x1c
push word [rsp + 0xb]
rdtsc
jmp 0x140226877
mov r12, 0xffffffffe09f7978
lea r8, [rsi + r8]
lea r8, [r13 + rbp]
bswap esi
lea rbp, [r8 + r8]
xchg word [rsp + 3], r8w
jmp 0x1402268e5
cmp r9, r9
neg r15d
dec r15
rol r9b, 4
jmp 0x14022694b
Function at 0x1402272e9
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg r11d, edx
setg r11b
mov edx, dword [rsp + 0x20]
inc r9b
mov dword [rsp], r13d
not eax
jmp 0x140226ff9
mov bp, word [rsp + 0x22]
xchg qword [rsp + 0xe], r9
not r12
mov r11d, 0xf931560b
sub rsp, 0x1a
push qword [rsp + 0x45]
jmp 0x140227013
neg rbx
std
setb r11b
lea rdx, [r14*4]
pushfq
lea r15, [0x50e3a58c]
jmp 0x140227052
xchg byte [rsp + 0x21], r9b
mov r15, 0xffffffffcf5e4656
mov r9d, dword [rsp + 0xa]
rcl dx, cl
jmp 0x140227131

Function at 0x1402274b5
Capabilities:
Execute anti-debugging instructions

Disassembly:
std
std
bswap rax
jmp 0x1402274ef
mov qword [rsp], r14
mov bp, word [rsp + 2]
add rsp, 6
clc
lea r15, [rcx + riz]
push r8
jmp 0x1402274d9

Function at 0x140228ab9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
call fcn.140227047
mov qword [rsp + 9], rbx
jmp 0x140228aec
pop qword [rsp]
lea rsp, [rsp + 4]
lea rsp, [rsp + 8]
jmp 0x140228b97
mov rax, qword [rax + riz]
mov rax, qword [rax + riz + 0x10]
push rax
jmp 0x140227042
mov rax, qword gs:[0x60]
mov rax, qword [rax + riz + 0x18]
mov rax, qword [rax + riz + 0x30]
jmp 0x140228b56
Function at 0x14000ed50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140015c30], 0
mov edi, r8d
mov rsi, rcx
je 0x14000ed78
mov eax, 0x3eb
jmp 0x14000ee48
cmp edi, 0x240
ja 0x14000ed8a
call fcn.14000cb98
mov rbx, rax
jmp 0x14000edc2
lea eax, [r8 + 0x78]
movsxd rbx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000edc2
mov dword [rax], 1
mov dword [rax + 0x68], edi
test rbx, rbx
jne 0x14000edcc
lea eax, [rbx + 8]
jmp 0x14000ee48
lea rcx, [rbx + 0x30]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
lea rax, [0x14000d490]
mov qword [rsp + 0x20], rcx
movups xmmword [rcx + 0x10], xmm0
and dword [rbx + 0x50], 0
lea rdx, [rbx + 0x78]
mov qword [rbx + 0x18], rax
lea r9, [0x140015a04]
mov rax, qword [rsp + 0x68]
mov r8d, edi
mov qword [rbx + 0x20], rax
mov rcx, rsi
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x10], rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000ee44
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x3e5
je 0x14000ee44
mov rcx, rbx
call fcn.14000cbd4
jmp 0x14000ee46
xor edi, edi
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000ee60
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [0x140015c30], 0
mov r10, rcx
je 0x14000ee77
mov eax, 0x3eb
jmp 0x14000eede
lea rcx, [rdx + 0x30]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
lea rax, [0x14000d500]
mov qword [rsp + 0x20], rcx
movups xmmword [rcx + 0x10], xmm0
mov qword [rdx + 0x18], rax
lea r9, [0x140015a04]
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov qword [rdx + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x10], r10
add rdx, 0x78
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000eedc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3e5
jne 0x14000eede
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400a613e
Capabilities:
Encode data using xor

Disassembly:
invalid
jge 0x1400a60f0
lodsd eax, dword [rsi]
xor byte [rsi + 0x6e], bh
sbb eax, 0x9a3317a7
mov ch, 0x3d
pop rcx
stosd dword [rdi], eax
xor ebx, dword [rdx - 0x54a6c24b]
push 0xffffffffda92440e
xchg edx, eax
je 0x1400a6147
mov ah, 0x9a
nop
sbb eax, 0x97698ec7
hlt
Function at 0x414d80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414f0b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432300
xorps xmm15, xmm15
mov r14, qword [0x006c87a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414de5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414df4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414e13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414e23
cmp rbx, 0x1000
jae 0x414deb
jmp 0x414e8d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414e35
xor edx, edx
jmp 0x414e84
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432300
xorps xmm15, xmm15
mov r14, qword [0x006c87a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414e19
jmp 0x414e08
call fcn.00462820
xorps xmm15, xmm15
mov r14, qword [0x006c87a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436700
lea rax, [0x004cfefd]
mov ebx, 0x18
nop dword [rax]
call fcn.00436f80
mov rax, qword [rsp + 0x38]
call fcn.00436cc0
lea rax, [0x004d058c]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436f80
mov rax, qword [rsp + 0x30]
call fcn.00436cc0
call fcn.00436940
call fcn.00436760
lea rax, [0x004d2c8e]
mov ebx, 0x21
call fcn.00434d60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f160
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414d80
Function at 0x414f40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415166
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432380
xorps xmm15, xmm15
mov r14, qword [0x006c87a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414fb3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414fc2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414fe5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414ff5
cmp rbx, 0x1000
jae 0x414fb9
nop
jmp 0x415078
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41500d
xor esi, esi
jmp 0x41506a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432380
xorps xmm15, xmm15
mov r14, qword [0x006c87a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x414feb
jmp 0x414fd6
call fcn.00462820
xorps xmm15, xmm15
mov r14, qword [0x006c87a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415100
nop dword [rax + rax]
call fcn.00436700
lea rax, [0x004d05a5]
mov ebx, 0x19
call fcn.00436f80
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00436cc0
lea rax, [0x004d058c]
mov ebx, 0x19
call fcn.00436f80
mov eax, dword [rsp + 0x34]
call fcn.00436cc0
nop
call fcn.00436940
call fcn.00436760
lea rax, [0x004cba99]
mov ebx, 0xd
call fcn.00434d60
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4150a0
call fcn.00436700
lea rax, [0x004d05a5]
mov ebx, 0x19
call fcn.00436f80
mov rax, qword [rsp + 0x38]
call fcn.00436cc0
lea rax, [0x004d058c]
mov ebx, 0x19
call fcn.00436f80
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00436cc0
call fcn.00436940
call fcn.00436760
lea rax, [0x004d2531]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00434d60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f160
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00414f40