joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c200
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x47c2d9
lea rsi, [rdx + rdx*2]
lea rdi, [0x0087bba0]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x47c282
inc rdx
nop
jmp 0x47c258
cmp r9, 0xffffffffffffffe0
jle 0x47c28d
dec rdx
jmp 0x47c258
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.00467aa0
nop
int3
Function at 0x486660
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x486681
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rcx, rbx
jg 0x486672
mov dword [rsp + 0x28], edx
ret

Function at 0x4c0600
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x4c06d5
movdqa xmm0, xmmword [0x007f3960]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x4c0641
movdqa xmm0, xmmword [0x007f3970]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x4c0757
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x4c072b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x007f3510]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x007f3c60]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x1400112ad
Capabilities:
Get common file path
Get startup folder

Disassembly:
jmp 0x14001d080
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x588
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xf6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5a8]
mov rax, qword [0x140046048]
xor rax, rbp
mov qword [rbp + 0x548], rax
lea rcx, [0x14004e11f]
call fcn.140011d5c
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x1400373c8]
mov r8d, 1
xor edx, edx
lea rcx, [0x14003c858]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x14001d2f3
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rbp + 0x528], rax
mov rcx, qword [rbp + 0x570]
call fcn.140011474
mov qword [rbp + 0x530], rax
mov rdx, qword [rbp + 0x530]
mov rcx, qword [rbp + 8]
call qword [rbp + 0x528]
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rbp + 0x528], rax
lea r8, [rbp + 0x48]
lea rdx, [0x140038580]
mov rcx, qword [rbp + 8]
call qword [rbp + 0x528]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x14001d2e5
xor r9d, r9d
mov r8d, 7
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14001d2d7
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x298]
call fcn.140011460
nop
lea r8, [0x14003542c]
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x498]
call fcn.140011ba9
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x528]
mov qword [rbp + 0x530], rax
mov r8, qword [rbp + 0x578]
mov rdx, qword [rbp + 0x530]
lea rcx, [rbp + 0x4d8]
call fcn.140011e38
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x540], rax
lea r8, str..lnk
mov rdx, qword [rbp + 0x540]
lea rcx, [rbp + 0x2d8]
call fcn.1400117bc
nop
lea rcx, [rbp + 0x4d8]
call fcn.140011b5e
nop
lea rcx, [rbp + 0x498]
call fcn.140011b5e
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x528], rax
lea rcx, [rbp + 0x2d8]
call fcn.140011474
mov qword [rbp + 0x530], rax
mov r8d, 1
mov rdx, qword [rbp + 0x530]
mov rcx, qword [rbp + 0x48]
call qword [rbp + 0x528]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
cmp dword [rbp + 0x24], 0
jl 0x14001d2be
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rcx, qword [rbp + 8]
call qword [rax + 0x10]
mov byte [rbp + 0x514], 1
lea rcx, [rbp + 0x2d8]
call fcn.140011b5e
nop
lea rcx, [rbp + 0x298]
call fcn.140011b5e
movzx eax, byte [rbp + 0x514]
jmp 0x14001d2f5
lea rcx, [rbp + 0x2d8]
call fcn.140011b5e
nop
lea rcx, [rbp + 0x298]
call fcn.140011b5e
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rcx, qword [rbp + 8]
call qword [rax + 0x10]
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140033d40]
call fcn.140011ae6
mov rax, rdi
mov rcx, qword [rbp + 0x548]
xor rcx, rbp
call fcn.140011663
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret
Function at 0x140011758
Capabilities:
Terminate process

Disassembly:
jmp 0x14002a410
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]
add rsp, 0x28
ret

Function at 0x14001188e
Capabilities:
Get geographical location

Disassembly:
jmp 0x140025170
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400251ad
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140011d48
add rsp, 0x58
ret

Function at 0x14001191a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002b760
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002b780
xor al, al
jmp 0x14002b801
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002b793
xor al, al
jmp 0x14002b801
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 0x14002b7bd
xor al, al
jmp 0x14002b801
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002b7d1
xor al, al
jmp 0x14002b801
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002b7e3
xor al, al
jmp 0x14002b801
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002b7ff
xor al, al
jmp 0x14002b801
mov al, 1
add rsp, 0x38
ret
Function at 0x140011979
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140024da0
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, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140046048]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14004e11f]
call fcn.140011d5c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp + 4]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
mov ecx, dword [rbp + 4]
call fcn.14001108c
mov dword [rbp + 0x44], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rbp + 0x44]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140033b60]
call fcn.140011ae6
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140011663
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011b68
Capabilities:
Create directory

Disassembly:
jmp 0x140026880
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140046048]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400268bd
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140026932
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140026920
mov edx, 1
mov ecx, 2
call fcn.140011078
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.1400113c5
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140026920
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.1400111d6
movzx eax, al
test eax, eax
jne 0x140026920
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011663
add rsp, 0x68
ret

Function at 0x140011c03
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x140022e80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x30]
lea rcx, [0x14004e11f]
call fcn.140011d5c
mov rcx, qword [rbp + 0x118]
call fcn.140011474
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x110]
call fcn.140011474
mov qword [rbp + 0xe0], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0xe0]
xor ecx, ecx
call fcn.140011c21
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140022f00
mov dword [rbp + 0xd4], 1
jmp 0x140022f0a
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret

Function at 0x140011c12
Capabilities:
Get common file path

Disassembly:
jmp 0x140026be0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140026c28
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x140026c28
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140026c3f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret
Function at 0x1400041e0
Capabilities:
Accept command line arguments

Disassembly:
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov edi, ecx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
xor r9d, r9d
mov r8, rbx
xor edx, edx
call fcn.140007064
test eax, eax
jne 0x140004237
lea rcx, str.Fatal_Error:_MFC_initialization_failed_n
call fcn.140016848
mov ebx, 1
jmp 0x140004315
cmp edi, 6
jae 0x140004243
xor eax, eax
jmp 0x140004317
lea rcx, [rsp + 0x30]
call fcn.140001b00
nop
xor edi, edi
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x80], rdi
lea rcx, str.difxapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400042d1
mov ebx, 1
mov dword [rsp + 0x78], ebx
lea rdx, str.DriverPackageInstallW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.DriverPackagePreinstallW
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.DIFXAPISetLogCallbackW
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x30]
call fcn.1400028c0
lea rcx, [rsp + 0x30]
call fcn.140001d70
nop
lea rcx, [rsp + 0x30]
call fcn.140002f70
mov ebx, edi
cmp eax, 1
sete bl
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000430b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x30]
call fcn.140002270
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret

Function at 0x14000ddf4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14000c9b8
mov rsi, rax
test rax, rax
je 0x14000de70
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000de6b
cmp dword [rbx], 0x40
jb 0x14000de6b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000de6b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000de74
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400167a8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14001ad38
nop
cmp dword [0x14003d548], 1
je 0x140016754
mov dword [0x14003d544], 1
mov byte [0x14003d540], r12b
test ebx, ebx
jne 0x140016740
mov rcx, qword [0x14003f900]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001672d
mov rcx, qword [0x14003f8f8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400166cc
call fcn.14001a568
cmp qword [rdi], rax
jne 0x1400166cc
jmp 0x1400166b2
cmp rdi, rsi
jb 0x14001672d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001a568
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14003f900]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14003f8f8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001670b
cmp r13, rax
je 0x14001672b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400166b2
lea rdx, [0x1400298b8]
lea rcx, [0x1400298a0]
call fcn.1400164fc
lea rdx, [0x1400298c8]
lea rcx, [0x1400298c0]
call fcn.1400164fc
nop
test r12d, r12d
je 0x140016763
mov ecx, 8
call fcn.14001ac38
test r12d, r12d
jne 0x14001678e
mov dword [0x14003d548], 1
lea ecx, [r12 + 8]
call fcn.14001ac38
mov ecx, r15d
call fcn.140016490
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001661c

Function at 0x1400167b4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001661c
Function at 0x1400189b7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400381f8]
jne 0x140015eda
rol rcx, 0x10
test cx, 0xffff
jne 0x140015ed6
repz ret
ror rcx, 0x10
jmp 0x140018910
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14003d610]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14003d708]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140018995
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14003d610]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400189b7
mov rax, qword [rsp + 0x88]
mov qword [0x14003d708], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14003d6a8], rax
mov rax, qword [0x14003d708]
mov qword [0x14003d580], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14003d690], rax
mov dword [0x14003d570], 0xc0000409
mov dword [0x14003d574], 1
mov rax, qword [0x1400381f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140038200]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14003d608], eax
mov ecx, 1
call fcn.14001f964
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002d3c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14003d608], 0
jne 0x140018a3e
mov ecx, 1
call fcn.14001f964
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140020908
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14001a568
xor ebx, ebx
mov rdi, rax
cmp qword [0x14003e3f8], rbx
jne 0x140020a0e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140020ae3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140020ae3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14002dc90]
mov rcx, rsi
mov qword [0x14003e3f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14002dc78]
mov rcx, rsi
mov qword [0x14003e400], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14003e408], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14003e418], rax
test rax, rax
je 0x140020a05
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14003e410], rax
jmp 0x140020a15
mov rax, qword [0x14003e410]
jmp 0x140020a1c
mov rax, qword [0x14003e410]
mov r11, qword [0x14003e418]
cmp rax, rdi
je 0x140020a84
cmp r11, rdi
je 0x140020a84
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14003e418]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140020a84
test rax, rax
je 0x140020a84
call rsi
test rax, rax
je 0x140020a7e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140020a7e
test byte [rsp + 0x38], 1
jne 0x140020a84
bts ebp, 0x15
jmp 0x140020ac2
mov rcx, qword [0x14003e400]
cmp rcx, rdi
je 0x140020ac2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140020ac2
call rax
mov rbx, rax
test rax, rax
je 0x140020ac2
mov rcx, qword [0x14003e408]
cmp rcx, rdi
je 0x140020ac2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140020ac2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14003e3f8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140020ae3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140020ae5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140015b90
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]
add rsp, 0x28
ret

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

Disassembly:
jmp 0x140012140
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1400230a2]
call fcn.14001137f
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0x46
lea r9, [rbp + 0x28]
lea r8, [rbp + 8]
mov rdx, qword [rbp + 0x48]
lea rcx, section..data
call fcn.14001109b
lea r9, [rbp + 0x64]
mov r8d, 0x40
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 8]
mov qword [rbp + 0x88], rax
call qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bab0]
call fcn.140011316
mov eax, edi
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014260
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014280
xor al, al
jmp 0x140014301
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014293
xor al, al
jmp 0x140014301
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 0x1400142bd
xor al, al
jmp 0x140014301
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400142d1
xor al, al
jmp 0x140014301
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400142e3
xor al, al
jmp 0x140014301
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400142ff
xor al, al
jmp 0x140014301
mov al, 1
add rsp, 0x38
ret
Function at 0x14001a3c0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rdx, qword [rcx + 0x10]
mov qword [rsp + 0x30], rcx
lea rax, [rcx + 0x18]
mov qword [rsp + 0x48], rax
invalid
invalid