joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c134
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.140019900
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002c1be
cmp byte [rbp - 0x21], r15b
je 0x14002c1b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002c1f4
call fcn.14001de90
test eax, eax
jne 0x14002c1e0
cmp byte [rbp - 0x21], r15b
je 0x14002c1d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002c1f4
cmp byte [rbp - 0x21], r15b
je 0x14002c1f1
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.140019ec4
test eax, eax
jne 0x14002c294
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140019900
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002c233
cmp byte [rbp - 0x21], r15b
je 0x14002c268
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002c268
call fcn.14001de90
test eax, eax
jne 0x14002c254
cmp byte [rbp - 0x21], r15b
je 0x14002c24d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002c268
cmp byte [rbp - 0x21], r15b
je 0x14002c265
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.140019ec4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002c294
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002c297
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002c2a5
mov rcx, rdi
call fcn.14001db34
cmp byte [rbp + 0x3f], r15b
je 0x14002c2b4
mov rcx, qword [rbp + 0x27]
call fcn.14001db34
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 0x14002dc10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002dc38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002dc38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1407921b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14079233f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407921e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407921cf
add dl, dl
jne 0x1407921f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140792256
xor eax, eax
add dl, dl
jne 0x140792205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14079230d
add dl, dl
jne 0x140792216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140792223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140792230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14079223d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14079224a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407921de
mov eax, 1
add dl, dl
jne 0x140792266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140792273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14079225b
sub eax, ebx
mov ebx, 1
jne 0x1407922ac
mov ecx, 1
add dl, dl
jne 0x14079228e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14079229b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140792283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407921de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407922c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407922d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407922bd
cmp eax, 0x7d00
jae 0x1407922fb
cmp eax, 0x500
jb 0x1407922f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407921de
cmp eax, 0x7f
ja 0x1407922fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407921de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140792332
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407921de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f40
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Create thread

Disassembly:
jmp 0x140011910
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1400220a2]
call fcn.14001137f
nop
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001114f]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x28], rax
mov edx, dword [rbp + 4]
lea rcx, str.First_Thread_has_been_created_with_tid:__d_n
call fcn.1400111a4
nop
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ac80]
call fcn.14001131b
mov eax, edi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014290
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142b0
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142c3
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400142ed
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014301
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014313
xor al, al
jmp 0x140014331
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001432f
xor al, al
jmp 0x140014331
mov al, 1
add rsp, 0x38
ret
Function at 0x140012180
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a7
movzx eax, al
test eax, eax
jne 0x1400121a0
mov ecx, 7
call fcn.140011325
nop
mov byte [rsp + 0x20], 0
call fcn.140011339
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x1400121c4
mov ecx, 7
call fcn.140011325
nop
jmp 0x14001221c
cmp dword [0x14001d868], 0
jne 0x140012217
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x1400121f8
mov eax, 0xff
jmp 0x140012321
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001132f
mov dword [0x14001d868], 2
jmp 0x14001221c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011311
call fcn.1400112ad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012279
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012279
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112df
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400122ad
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x1400122ad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011366
nop
call fcn.1400123d0
mov dword [rsp + 0x28], eax
call fcn.14001128a
movzx eax, al
test eax, eax
jne 0x1400122cc
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400122db
call fcn.140011370
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x140012321
add rsp, 0x68
ret
Function at 0x140015d50
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rax - 0x48], ebp
cmp qword [rdx + 0x18], 8
jb 0x140015d81
mov rcx, qword [rdx]
jmp 0x140015d84
mov rcx, rdx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [rax + 1]
mov word [rsp + 0x78], bp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbp
mov edx, esi
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140017780
nop
cmp qword [rdi + 0x18], 8
jb 0x140015dc1
mov rdi, qword [rdi]
mov r8d, esi
mov rsi, qword [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov word [rbx], bp
test eax, eax
je 0x140015e1b
lea rdx, [0x140162794]
test rsi, rsi
cmovne rdx, rsi
cmp word [rdx], 0
jne 0x140015e01
mov r8, rbp
jmp 0x140015e10
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140015e05
mov rcx, rbx
call fcn.140007d00
nop
jmp 0x140015e1b
mov dword [rsp + 0x20], 1
test rsi, rsi
je 0x140015e3f
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbp
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140017d70
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x198
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
cmp dword [0x14020b9a4], 0
je 0x140017db0
mov eax, dword [0x14020b9a0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140108d90
add rsp, 0x198
ret
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x11c
call fcn.1401092c8
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x30]
movzx r9d, byte [rsp + 0x17a]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x178]
mov word [rsp + 0x20], ax
call fcn.140017e60
mov dword [0x14020b9a4], 1
mov dword [0x14020b9a0], eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140108d90
add rsp, 0x198
ret
Function at 0x14001db60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sar r8, 1
add r8, r8
je 0x14001dba4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001db90
mov rcx, rax
shr rcx, 0x20
xor eax, ecx
ret

Function at 0x140026ec0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov qword [rdx + 0x10], rbx
jb 0x140026ee4
mov rax, qword [rdx]
jmp 0x140026ee7
mov rax, rdx
mov word [rax], bx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x4000
mov qword [rsp + 0x38], rbx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
test eax, eax
jns 0x140026f5e
lea rcx, str.D:_agent_work2_sprivate_softgrid_sharedinclude_sharedenv_utils.hpp
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140026f24
inc rax
jmp 0x140026f2b
lea rax, str.D:_agent_work2_sprivate_softgrid_sharedinclude_sharedenv_utils.hpp
lea rcx, [0x14020c428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0xc2500000000
shl rax, 0x34
or rax, rsi
or rax, rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rsp + 0x38]
cmp word [rdx], bx
je 0x140026f7a
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140026f70
mov r8, rbx
mov rcx, rdi
call fcn.140007d00
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
movabs rax, 0x8000000000
add rsp, 0x20
pop rdi
ret
Function at 0x1400110ff
Capabilities:
Write file on windows

Disassembly:
jmp 0x140020e00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14003b0f7]
call fcn.1400119ab
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140020e58
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140020f6a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140020f03
cmp qword [rbp + 0x28], 0
jle 0x140020f03
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140020ea1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011933
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140020f59
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140020f59
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400111cc
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x140020ff0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x140033040]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x14003b0fa]
call fcn.1400119ab
nop
lea rdx, [fcn.140011550]
mov ecx, 2
call qword [sym.imp.ucrtbased.dll_signal]
nop
lea rdx, [fcn.140011550]
mov ecx, 0x15
call qword [sym.imp.ucrtbased.dll_signal]
nop
lea rdx, [fcn.140011550]
mov ecx, 0x10
call qword [sym.imp.ucrtbased.dll_signal]
nop
xor edx, edx
lea rcx, [0x1400114b5]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
mov r8, rax
lea rdx, [0x140011a2d]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x140033880], rax
cmp qword [0x140033880], 0
je 0x1400210f1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400210f1
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x1400210c3
call fcn.140011717
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002be30]
call fcn.14001182a
mov eax, edi
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.1400114a6
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140011550
Capabilities:
Create process on windows
Terminate process

Disassembly:
jmp 0x140018520
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x878
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x17a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x898]
mov rax, qword [0x140033040]
xor rax, rbp
mov qword [rbp + 0x810], rax
lea rcx, [0x14003b0fa]
call fcn.1400119ab
nop
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14001179e
nop
mov dword [rbp + 0x10], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.14001179e
nop
mov r8d, 0x200
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rbp + 0x4e4], eax
lea rax, [rbp + 0x748]
mov qword [rbp + 0x788], rax
lea rax, [rbp + 0x7a8]
mov qword [rbp + 0x7e8], rax
mov rdx, qword [rbp + 0x788]
lea rcx, [0x140033cb0]
call fcn.140011929
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
mov qword [rbp + 0x800], rax
lea rdx, [0x140033c80]
mov rcx, qword [rbp + 0x7e8]
call fcn.140011159
mov qword [rbp + 0x808], rax
mov rdx, qword [rbp + 0x800]
mov rcx, qword [rbp + 0x808]
call fcn.1400117f3
nop
call fcn.140011717
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x14002cdb0]
call fcn.14001182a
nop
mov rcx, qword [rbp + 0x810]
xor rcx, rbp
call fcn.1400114a6
lea rsp, [rbp + 0x828]
pop rdi
pop rbp
ret

Function at 0x14001157d
Capabilities:
Terminate process

Disassembly:
jmp 0x140024610
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400116fe
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400239a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400239c0
xor al, al
jmp 0x140023a41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400239d3
xor al, al
jmp 0x140023a41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400239fd
xor al, al
jmp 0x140023a41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140023a11
xor al, al
jmp 0x140023a41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140023a23
xor al, al
jmp 0x140023a41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140023a3f
xor al, al
jmp 0x140023a41
mov al, 1
add rsp, 0x38
ret
Function at 0x140011992
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001bb30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140033040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14003b0f7]
call fcn.1400119ab
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14001bb97
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001bb9e
mov al, 1
jmp 0x14001bcee
call fcn.14001129e
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.14001129e
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400117da
movzx eax, al
test eax, eax
je 0x14001bbef
xor al, al
jmp 0x14001bcee
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14001bc54
cmp dword [rbp + 0x154], 1
je 0x14001bc5f
cmp dword [rbp + 0x154], 3
je 0x14001bcdd
jmp 0x14001bcec
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001bcaf
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001bcaf
xor al, al
jmp 0x14001bcee
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001bcca
mov dword [rbp + 0x154], 1
jmp 0x14001bcd4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001bcee
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001bcee
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002cab0]
call fcn.14001182a
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400114a6
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret