joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800088c0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, r8
mov rbx, rdx
xor r8d, r8d
mov rdi, rcx
lea rcx, [rsp + 0x50]
mov rsi, r9
lea edx, [r8 + 1]
call fcn.180008280
lea rcx, [rsp + 0x50]
call fcn.1800082d0
test rax, rax
jne 0x18000890d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x1800089ca
lea rcx, [rsp + 0x48]
call fcn.180008350
mov r9d, dword [rdi + 8]
lea rdx, [rsp + 0x50]
mov r8, qword [rdi]
lea rcx, [rsp + 0x48]
call fcn.1800087e0
lea rcx, [rsp + 0x48]
call fcn.1800029e0
test rax, rax
je 0x180008969
xor r9d, r9d
mov dword [rsp + 0x30], ebp
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x180008973
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x1800089c0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
dec eax
movsxd r8, eax
test eax, eax
jle 0x1800089be
mov r9, rbx
mov rax, rbx
neg r9
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rbx]
movzx edx, byte [rax]
mov byte [rax], cl
lea rax, [rax + 1]
mov byte [r8 + rbx], dl
lea rcx, [r9 + rax]
dec r8
cmp rcx, r8
jl 0x1800089a0
mov bl, 1
lea rcx, [rsp + 0x48]
call fcn.180008480
lea rcx, [rsp + 0x50]
call fcn.1800082a0
mov rbp, qword [rsp + 0x78]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x180008a10
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov edx, 0x18
mov r8d, 0xf0000000
lea rcx, [rsp + 0x48]
mov rdi, r9
call fcn.180008280
lea rcx, [rsp + 0x48]
call fcn.1800082d0
test rax, rax
jne 0x180008a5b
xor bl, bl
jmp 0x180008af0
lea rcx, [rsp + 0x40]
call fcn.180008350
mov r9d, dword [rbx + 8]
lea rdx, [rsp + 0x48]
mov r8, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.1800084b0
test eax, eax
jne 0x180008ae4
lea rcx, [rsp + 0x40]
call fcn.180008580
test eax, eax
jne 0x180008ae4
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800085b0
test eax, eax
jne 0x180008ae4
lea rcx, [rsp + 0x40]
call fcn.1800029e0
test rax, rax
je 0x180008ae4
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x90], edi
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
cmp eax, 1
sete bl
jmp 0x180008ae6
xor bl, bl
lea rcx, [rsp + 0x40]
call fcn.180008480
lea rcx, [rsp + 0x48]
call fcn.1800082a0
mov rbp, qword [rsp + 0x78]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x180008b20
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov edx, 0x18
lea rcx, [rsp + 0x30]
mov r8d, 0xf0000000
mov rdi, r9
call fcn.180008280
lea rcx, [rsp + 0x30]
call fcn.1800082d0
test rax, rax
jne 0x180008b68
xor bl, bl
jmp 0x180008bf3
lea rcx, [rsp + 0x70]
call fcn.180008350
mov r9d, dword [rbx + 8]
lea rdx, [rsp + 0x30]
mov r8, qword [rbx]
lea rcx, [rsp + 0x70]
call fcn.1800084b0
test eax, eax
jne 0x180008be7
lea rcx, [rsp + 0x70]
call fcn.180008580
test eax, eax
jne 0x180008be7
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
call fcn.1800085b0
test eax, eax
jne 0x180008be7
lea rcx, [rsp + 0x70]
call fcn.1800029e0
test rax, rax
je 0x180008be7
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
cmp eax, 1
sete bl
jmp 0x180008be9
xor bl, bl
lea rcx, [rsp + 0x70]
call fcn.180008480
lea rcx, [rsp + 0x30]
call fcn.1800082a0
mov rsi, qword [rsp + 0x58]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180008c10
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r8d, 4
jmp fcn.180008c20

Function at 0x180008c20
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, r8d
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov rdi, rdx
lea edx, [r8 + 1]
call fcn.180008280
lea rcx, [rsp + 0x20]
call fcn.1800082d0
test rax, rax
je 0x180008c66
mov r8, rdi
mov edx, ebx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x180008c66
xor ebx, ebx
jmp 0x180008c69
or ebx, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.1800082a0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180008d10
Capabilities:
Encode data using base64 via winapi

Disassembly:
jmp 0x180008d10
sub rsp, 0x38
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
xor eax, eax
add rsp, 0x38
ret

Function at 0x180008d30
Capabilities:
Decode data using base64 via winapi

Disassembly:
jmp 0x180008d30
sub rsp, 0x48
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
lea r8d, [rax + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor eax, eax
add rsp, 0x48
ret
Function at 0x18000af10
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000af6c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000af6c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000af6c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000af6c
cmp dword [rcx + 0x84], 0xe
jbe 0x18000af6c
cmp dword [rcx + 0xf8], 0
je 0x18000af6c
mov ecx, ebx
call fcn.18000aea0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x180016100]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.18000ad30
cmp dword [rsp + 0x60], 0
jne 0x18000afaf
mov ecx, ebx
call fcn.18000ae60
int3
add rsp, 0x40
pop rbx
ret

Function at 0x18000b260
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18000b29c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18000f2f4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18000b358
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000b3be
test ebx, ebx
jne 0x18000b3be
lea ecx, [rax + 2]
call fcn.18000f2f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.18000f2d0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1400039ec
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x27]
call fcn.140001404
nop
lea rcx, [0x140006464]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r9, rax
lea r8, [0x140006464]
xor edx, edx
lea rcx, [rbp + 0x27]
call fcn.140001b08
mov ebx, 0x70
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x49]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x49], ebx
mov dword [rbp - 0x45], 0x40
xor ebx, ebx
mov qword [rbp - 0x41], rbx
lea rax, str.runas
mov qword [rbp - 0x39], rax
lea rax, str.cmd.exe
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rbx
mov dword [rbp - 0x19], ebx
mov qword [rbp - 0x11], rbx
lea rcx, [rbp - 0x49]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140003ac5
or edx, 0xffffffff
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x47]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x140003b1c
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004498
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140004530
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
Function at 0x140004f10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004f5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004f5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004f5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004f5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140004f5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004f5c
xor al, al
add rsp, 0x28
ret
Function at 0x14000e1f8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140222820]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx]
cmp dword [r8 + 4], 0
je 0x14000e273
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9, rdi
lea r8, str.__s___s
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
mov edx, 0x410
call fcn.1400040e8
and qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e3a3
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], 0
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x20f01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor eax, eax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor edx, edx
movups xmmword [rsp + 0x78], xmm0
lea ebx, [rax + 0x70]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
lea r8, [rbp]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov rdx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x628
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14000e37a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test bl, bl
je 0x14000e3a3
mov al, 1
jmp 0x14000e3a5
xor al, al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001af60
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140010c60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
mov rdx, rcx
je 0x140010c93
xor r8d, r8d
mov cl, r8b
movabs rax, 0x51533f1509c71599
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xc
jb 0x140010c6c
mov byte [rdx + 0xc], 0
mov rax, rdx
ret
Function at 0x140010c98
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
mov rdx, rcx
je 0x140010ccb
xor r8d, r8d
mov cl, r8b
movabs rax, 0x61a7ddf587214d1b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x25
jb 0x140010ca4
mov byte [rdx + 0x25], 0
mov rax, rdx
ret

Function at 0x140010cd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d03
xor r8d, r8d
mov cl, r8b
movabs rax, 0x33936bbb8fbf972b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010cdc
mov byte [rdx + 9], 0
mov rax, rdx
ret

Function at 0x140010d08
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
mov rdx, rcx
je 0x140010d3b
xor r8d, r8d
mov cl, r8b
movabs rax, 0xb5e3ff6f79e787bf
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xa
jb 0x140010d14
mov byte [rdx + 0xa], 0
mov rax, rdx
ret

Function at 0x140010d40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d73
xor r8d, r8d
mov cl, r8b
movabs rax, 0x717f5d0f8b9d9be7
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010d4c
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x14001a670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
call fcn.140016360
mov rdi, qword [0x140223c80]
xor r14d, r14d
mov ebp, r14d
test rdi, rdi
je 0x14001a70e
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, r14d
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a704
mov qword [rsp + 0x50], r15
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022878]
add rcx, rdi
mov r15d, ebx
mov ecx, dword [rcx + r15*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a6f8
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r15*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a6c0
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
call rbp
test eax, eax
setne r14b
mov eax, r14d
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14001a730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov r15, rcx
call fcn.140016360
mov rdi, qword [0x140223c80]
xor ebp, ebp
test rdi, rdi
je 0x14001a7ce
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, ebp
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a7c4
mov qword [rsp + 0x50], r14
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022ae0]
add rcx, rdi
mov r14d, ebx
mov ecx, dword [rcx + r14*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a7b8
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r14*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a780
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rcx, r15
mov rax, rbp
add rsp, 0x20
pop r15
pop rdi
pop rbp
jmp rax
Function at 0x14001bf80
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x14001bfbd
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14001b16c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c0bc
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14001b16c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x14001c030
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140003fe0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x14001c0fb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001c0fb
call fcn.14001afd8
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x14001c0e2
mov rcx, r14
call fcn.14001afd8
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x140001070
Capabilities:
Delete file
Execute command
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.unzip..._n
call fcn.140001010
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.unzip.t__xf_download.zip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.over_n
mov ebx, eax
call fcn.140001010
lea rcx, str.download.zip
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov edx, ebx
lea rcx, str.Result:_d_n
call fcn.140001010
lea rcx, str.start_AzuredShade.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400019c4
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x006034c0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x006034d0]
mov dword [rax], 1
mov rax, qword [0x006034e0]
mov dword [rax], 1
mov rax, qword [0x006034b0]
mov dword [rax], 1
mov rax, qword [0x00603370]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x006034a0]
mov dword [0x00606008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call sym._encode_pointer
mov rdx, qword [0x00603400]
mov qword [rdx], rax
mov rdx, qword [0x006033f0]
mov qword [rdx], rax
mov rax, qword [0x00603460]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00603320]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058