joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011578
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140021550
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140021570
xor al, al
jmp 0x1400215f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140021583
xor al, al
jmp 0x1400215f1
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 0x1400215ad
xor al, al
jmp 0x1400215f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400215c1
xor al, al
jmp 0x1400215f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400215d3
xor al, al
jmp 0x1400215f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400215ef
xor al, al
jmp 0x1400215f1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001ee40
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001196f
movzx eax, al
test eax, eax
jne 0x14001ee60
mov ecx, 7
call fcn.1400117df
nop
mov byte [rsp + 0x20], 0
call fcn.140011820
mov byte [rsp + 0x21], al
cmp dword [0x14002f520], 1
jne 0x14001ee84
mov ecx, 7
call fcn.1400117df
nop
jmp 0x14001eedc
cmp dword [0x14002f520], 0
jne 0x14001eed7
mov dword [0x14002f520], 1
lea rdx, [0x140028770]
lea rcx, [0x140028440]
call fcn.14001147e
test eax, eax
je 0x14001eeb8
mov eax, 0xff
jmp 0x14001efe1
lea rdx, [0x140028330]
lea rcx, [section..rdata]
call fcn.140011802
mov dword [0x14002f520], 2
jmp 0x14001eedc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400117c6
call fcn.1400116c7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001ef39
mov rcx, qword [rsp + 0x30]
call fcn.1400113a7
movzx eax, al
test eax, eax
je 0x14001ef39
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 [0x140037020]
nop
call fcn.140011735
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001ef6d
mov rcx, qword [rsp + 0x38]
call fcn.1400113a7
movzx eax, al
test eax, eax
je 0x14001ef6d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400118cf
nop
call fcn.14001f090
mov dword [rsp + 0x28], eax
call fcn.140011690
movzx eax, al
test eax, eax
jne 0x14001ef8c
mov ecx, dword [rsp + 0x28]
call fcn.1400110b4
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001ef9b
call fcn.1400118f2
nop
xor edx, edx
mov cl, 1
call fcn.140011352
mov eax, dword [rsp + 0x28]
jmp 0x14001efe1
add rsp, 0x68
ret
Function at 0x1400029cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 2
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x140002a55
cmp dword [rsp + 0x30], 1
je 0x140002a53
xor eax, eax
jmp 0x140002be7
jmp 0x140002a7c
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140002a75
cmp dword [rsp + 0x30], 2
je 0x140002a73
xor eax, eax
jmp 0x140002be7
jmp 0x140002a7c
xor eax, eax
jmp 0x140002be7
mov rax, qword [rsp + 0x48]
add rax, 0x88
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
call fcn.1400028bc
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x20]
call fcn.1400028bc
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x1c]
call fcn.1400028bc
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x24]
call fcn.1400028bc
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
dec ecx
mov dword [rsp + 0x20], ecx
test eax, eax
je 0x140002be5
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
call fcn.1400028bc
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rdx, qword [0x140007028]
mov rcx, qword [rsp + 0x58]
call qword [0x140007140]
test rax, rax
je 0x140002bc4
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x1c]
call fcn.1400028bc
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
call fcn.1400028bc
jmp 0x140002be7
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
jmp 0x140002b27
xor eax, eax
add rsp, 0x68
ret
Function at 0x140003270
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x140
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0x11c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400032cc
cmp dword [rsp + 0x24], 6
jb 0x1400032b6
cmp dword [rsp + 0x24], 6
jne 0x1400032ba
cmp dword [rsp + 0x28], 1
jae 0x1400032ba
mov al, 1
jmp 0x1400032ce
cmp dword [rsp + 0x24], 6
jne 0x1400032cc
cmp dword [rsp + 0x28], 1
jne 0x1400032cc
mov al, 1
jmp 0x1400032ce
xor al, al
add rsp, 0x140
pop rdi
ret

Function at 0x140003f08
Capabilities:
Acquire debug privileges

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x5c]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x38], 0
call qword [0x140007378]
lea r8, [rsp + 0x40]
mov edx, 0x28
mov rcx, rax
call qword [0x1400072c0]
test eax, eax
je 0x140003fe6
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x64], 2
lea r8, [rsp + 0x5c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400072c8]
test eax, eax
je 0x140003fdb
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [0x1400072b8]
mov rcx, qword [rsp + 0x40]
call qword [0x140007100]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov ecx, 0x43a
call qword [0x1400073a8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140004012
mov dword [rsp + 0x4c], 0
jmp 0x140004060
xor r9d, r9d
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call fcn.140002bfc
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140004046
mov dword [rsp + 0x4c], 0
jmp 0x140004060
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [0x140007360]
xor eax, eax
test eax, eax
jne 0x140003f6f
cmp qword [rsp + 0x30], 0
je 0x140004073
mov rcx, qword [rsp + 0x30]
call qword [0x140007100]
mov eax, dword [rsp + 0x4c]
add rsp, 0x70
pop rdi
ret
Function at 0x140003558
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x58
cmp byte [rcx + 0x79], 0
je 0x14000356b
xor esi, esi
jmp 0x140003734
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
test byte [rcx], 1
je 0x1400035a6
lea rdx, [rdi + 8]
mov r9, qword [rdi + 0x50]
cmp qword [rdi + 0x38], 0xffffffffffffffff
mov rax, qword [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
je 0x14000369b
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x1400036aa
cmp byte [rdi + 0x1a], 0
jne 0x1400036c2
mov rax, qword [rdi + 0x50]
mov rcx, qword [rdi + 8]
mov dl, byte [rdi + 0x18]
mov r8d, edx
xor r8b, 1
mov byte [rdi + 0x18], r8b
test rcx, rcx
je 0x1400035e1
cmp rax, rcx
jbe 0x1400035db
cmp byte [rsi + rcx], 0xbf
jg 0x1400035e1
jmp 0x14000373e
jne 0x14000373e
cmp rcx, rax
je 0x1400036b9
movzx r9d, byte [rsi + rcx]
test r9b, r9b
js 0x1400035f9
mov r8d, r9d
jmp 0x140003655
mov r8d, r9d
and r8d, 0x1f
movzx r11d, byte [rsi + rcx + 1]
and r11d, 0x3f
cmp r9b, 0xdf
jbe 0x140003645
movzx r10d, byte [rsi + rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp r9b, 0xf0
jb 0x14000364e
movzx r9d, byte [rsi + rcx + 3]
and r8d, 7
shl r8d, 0x12
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
or r8d, r9d
jmp 0x140003655
shl r8d, 6
or r8d, r11d
jmp 0x140003655
shl r8d, 0xc
or r8d, r10d
test dl, 1
jne 0x1400036c6
cmp r8d, 0x110000
je 0x1400036be
mov edx, 1
cmp r8d, 0x80
jb 0x14000368f
mov edx, 2
cmp r8d, 0x800
jb 0x14000368f
cmp r8d, 0x10000
mov edx, 4
sbb rdx, 0
add rcx, rdx
mov qword [rdi + 8], rcx
jmp 0x1400035b8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x40]
mov r8, rsi
call fcn.140003777
jmp 0x1400036dd
test dl, 1
jne 0x1400036c9
mov byte [rdi + 0x1a], 1
xor eax, eax
jmp 0x1400036d8
mov rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov eax, 1
mov qword [rsp + 0x40], rax
test byte [rsp + 0x40], 1
je 0x1400036fe
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x68]
sub rdx, rcx
add rsi, rcx
mov qword [rdi + 0x68], rax
jmp 0x140003734
cmp byte [rdi + 0x79], 0
jne 0x140003564
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 1
jne 0x14000371c
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x14000372d
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x140003564
sub rdx, rsi
add rsi, qword [rdi + 0x48]
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
ud2
Function at 0x140006fa6
Capabilities:
Write file on windows

Disassembly:
mov r9, rcx
mov ecx, 0xfffffff4
jmp fcn.140006ffb
Function at 0x140008b9c
Capabilities:
Parse pe header

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

Function at 0x140872058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408721df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140872089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087206f
add dl, dl
jne 0x140872096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408720f6
xor eax, eax
add dl, dl
jne 0x1408720a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408721ad
add dl, dl
jne 0x1408720b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408720c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408720d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408720dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408720ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14087207e
mov eax, 1
add dl, dl
jne 0x140872106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140872113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408720fb
sub eax, ebx
mov ebx, 1
jne 0x14087214c
mov ecx, 1
add dl, dl
jne 0x14087212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14087213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140872123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140872168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140872175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087215d
cmp eax, 0x7d00
jae 0x14087219b
cmp eax, 0x500
jb 0x140872196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087207e
cmp eax, 0x7f
ja 0x14087219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408721d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14087207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140023008]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, ecx
xor esi, esi
test ecx, ecx
jne 0x1400011f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x140001253
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call fcn.140004160
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001253
cmp dword [rsp + 0x38], edi
je 0x14000124f
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140001235
mov esi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x140001262
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400021a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001de0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x840]
sub rsp, 0x940
mov rax, qword [0x140023008]
xor rax, rsp
mov qword [rbp + 0x830], rax
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x800
call fcn.140004160
mov r8d, 0x800
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea rdx, [rbp + 0x20]
mov word [rbp + 0x21], 0x746c
lea rcx, [rbp + 0x30]
mov dword [rbp + 0x2c], 0x657865
mov word [rbp + 0x24], 0x6975
mov dword [rbp + 0x27], 0x73636974
mov byte [rbp + 0x20], 0x41
mov byte [rbp + 0x2b], 0x2e
mov byte [rbp + 0x26], 0x73
mov byte [rbp + 0x23], 0x72
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp - 0x78]
call fcn.140001b60
cmp qword [rbp - 0x60], 0x10
lea r9, [rbp - 0x78]
lea r8, [rbp + 0x30]
cmovae r9, qword [rbp - 0x78]
lea rdx, str.__s____u____g____s_
lea rcx, [rsp + 0x68]
call fcn.140001a00
xorps xmm0, xmm0
lea rdx, [rsp + 0x68]
xor eax, eax
lea rcx, [rbp + 0x30]
cmp qword [rbp - 0x80], 0x10
mov qword [rbp + 0x10], rax
lea rax, [rsp + 0x50]
cmovae rdx, qword [rsp + 0x68]
xor edi, edi
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
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
movups xmmword [rbp], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x80]
test ebx, ebx
setne dil
cmp rdx, 0x10
jb 0x140001f5a
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f55
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001fca
call fcn.1400021fc
mov rdx, qword [rbp - 0x60]
movdqa xmm0, xmmword [0x1400206c0]
mov byte [rsp + 0x68], 0
movdqu xmmword [rsp + 0x78], xmm0
cmp rdx, 0x10
jb 0x140001fa4
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f9f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001fca
call fcn.1400021fc
mov eax, edi
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.1400021a0
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400086f8
int3
Function at 0x140002c68
Capabilities:
Parse pe header

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

Function at 0x14000bacc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b8bc
Function at 0x1400100d8
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140010108
xor eax, eax
jmp 0x1400101cb
mov rbp, rbx
cmp word [rax], si
je 0x14001012d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010114
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010110
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140010028
movsxd r14, eax
test eax, eax
jne 0x14001016b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010101
mov rcx, r14
call fcn.14000cbb4
mov rdi, rax
test rax, rax
jne 0x140010184
xor ecx, ecx
call fcn.14000cb78
jmp 0x140010160
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140010028
test eax, eax
jne 0x1400101b5
mov rcx, rdi
call fcn.14000cb78
jmp 0x1400101bf
xor ecx, ecx
call fcn.14000cb78
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140017350
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017378
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017378
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005ef8
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rsi, r9
mov r14, r8
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r15d, r15d
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x38]
mov qword [rbp - 0x10], rax
mov rcx, rax
mov qword [rbp + 0x30], r15
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x38], r15d
call fcn.140013fd0
mov ebx, eax
test eax, eax
js 0x140005fd8
mov rcx, qword [rbp - 0x10]
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x30]
call fcn.140013fd0
mov ebx, eax
test eax, eax
jne 0x140005fd2
mov rdi, qword [rbp + 0x30]
mov ecx, 0xfffd
movzx eax, word [rdi]
sub ax, 0x2d
test cx, ax
jne 0x140005fcb
lea rbx, [rdi + 2]
mov rdx, rbx
lea rcx, str.standalone
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140005f9f
mov dword [r14], 1
jmp 0x140005f4e
mov rdx, rbx
lea rcx, str.standalone:temp
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140005fbb
mov dword [rsi], 1
jmp 0x140005f4e
mov rdx, rbx
lea rcx, str.standalone:delete
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ebx, 0x80070057
jmp 0x140005fdc
test ebx, ebx
cmovns ebx, r15d
mov rdi, qword [rbp + 0x30]
test rdi, rdi
je 0x140005fe9
mov rcx, rdi
call fcn.1400152f4
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007b54
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14003e008]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
cmp qword [0x14003fc70], rbx
jne 0x140007d0f
xor edx, edx
lea rcx, str.CABINET
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x140007bdb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140007bdb
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.AddDllDirectory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140007bdb
xor r8d, r8d
lea rcx, str.CABINET
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [0x14003fc70], rdi
test rdi, rdi
jne 0x140007c08
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140007cf5
jmp 0x140007cf0
lea rdx, str.FDICreate
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fc90], rax
test rax, rax
je 0x140007be7
mov rcx, qword [0x14003fc70]
lea rdx, str.FDICopy
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fc80], rax
test rax, rax
je 0x140007be7
mov rcx, qword [0x14003fc70]
lea rdx, str.FDIIsCabinet
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fc78], rax
test rax, rax
je 0x140007be7
mov rcx, qword [0x14003fc70]
lea rdx, str.FDIDestroy
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fc98], rax
test rax, rax
je 0x140007be7
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea r9, [0x140007630]
or dword [rsp + 0x38], 0xffffffff
lea rax, [0x1400076f0]
mov qword [rsp + 0x30], rax
lea r8, [0x1400075c0]
lea rax, [0x1400076c0]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400075b0]
lea rax, [0x140007680]
mov qword [rsp + 0x20], rax
lea rcx, [0x140007580]
mov rax, qword [0x14003fc90]
call qword [0x14002f570]
mov qword [0x14003fc88], rax
test rax, rax
jne 0x140007d0f
mov ebx, 0x80004005
mov rcx, qword [0x14003fc70]
test rcx, rcx
je 0x140007d0f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x14003fc70], 0
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140015940
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret