joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cbe0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x0056bb70], 0
jne 0x41cccf
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41ccc5
lea rbx, [0x0053dfb0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x11440]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41cca7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045cc40
lea rax, [0x00495f58]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00433100
nop
int3

Function at 0x41f0c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41f1be
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41f100
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41f1af
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.0041fc80
nop dword [rax]
test rax, rax
je 0x41f1af
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041f200]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.0045a4a0
xorps xmm15, xmm15
mov r14, qword [0x0056bd48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41f19d
xor eax, eax
jmp 0x41f1a7
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41f0f2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045a5e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041f0c0
Function at 0x42cac0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42cd66
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42cd5a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x0056bb70], 0
jne 0x42cb22
xor edx, edx
xor ebx, ebx
nop
jmp 0x42cb6a
xor edx, edx
jmp 0x42cb4d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041c400
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42cb26
add rax, 0x1260
call fcn.0042c980
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42ccf4
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42cb67
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.004114a0
test rax, rax
jne 0x42cbc2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42cb67
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x42cc09
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42cb67
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42cd4d
lea r10, [0x0053dfb0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42cc8f
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42ccc5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42cb67
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42cd45
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42cb67
cmp rbx, 0x200
ja 0x42cd38
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00422580
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.0042c980
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.0045cca0
mov rax, r8
call fcn.0045cc20
mov rax, r8
mov ecx, 0x40
call fcn.0045cc40
mov edx, 0x200
nop
call fcn.0045cc80
nop
mov qword [rsp + 8], rax
call fcn.0045f000
mov rax, qword [rsp + 8]
jmp fcn.0042cac0
Function at 0x441560
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4416ca
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x441578
cmp edx, ecx
jne 0x4416b8
nop dword [rax]
test rsi, rsi
jne 0x4416b8
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x4415d4
nop
call fcn.0045e5a0
xorps xmm15, xmm15
mov r14, qword [0x0056bd48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00441460
mov rcx, qword [0x00518d98]
mov rdx, qword [0x00518d90]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x4416b3
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x4416a8
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00519870]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00519870], rbx
nop
mov edx, 1
lea rsi, [0x00519878]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x441697
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x0049584e]
mov ebx, 0x28
call fcn.00433100
mov rcx, rax
mov rax, rsi
call fcn.0045cc20
call fcn.004317c0
lea rax, [0x00494df8]
mov ebx, 0x23
call fcn.00433100
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a5e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00441560
Function at 0x44b7e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44b958
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44b81c
test r8b, r8b
jne 0x44b81c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44b82f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44b918
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44b906
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44b8fc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44b883
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44b8c6
mov eax, 1
cmp rax, rbx
ja 0x44b8b5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045cce0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44b8f4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44b8bd
mov r8d, eax
mov eax, r10d
jmp 0x44b888
mov rcx, rbx
call fcn.0045cc20
xor eax, eax
mov rcx, rax
call fcn.0045cc20
mov eax, r8d
mov rcx, rbx
call fcn.0045cce0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44b94e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44b911
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44b835
mov eax, edx
mov rcx, rbx
call fcn.0045cc20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045cc20
nop
int3
Function at 0x453040
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4530f9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00453140]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045a4a0
xorps xmm15, xmm15
mov r14, qword [0x0056bd48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045a5e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00453040
Function at 0x45c680
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40266f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408c40
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a5e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402640
cmp byte [0x0056bb6f], 0
je 0x45c695
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x4596e0
jmp 0x402640

Function at 0x45c6a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0056be20]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0056bb6f], 0
je 0x45c6d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0056c160]
aesenc xmm0, xmmword [0x0056c170]
aesenc xmm0, xmmword [0x0056c180]
movq rax, xmm0
ret
jmp 0x408e40

Function at 0x45c6e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0056be20]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0056bb6f], 0
je 0x45c716
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0056c160]
aesenc xmm0, xmmword [0x0056c170]
aesenc xmm0, xmmword [0x0056c180]
movq rax, xmm0
ret
jmp 0x408ea0

Function at 0x45e0c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0056c0e0]
mov qword [rsp + 8], rdx
lea r8d, [0x0056bb84]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045c5c0
add rsp, 0x30
ret

Function at 0x45e600
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45e630
mov rcx, 0x28
jmp 0x45e63b
shl rcx, 3
add rcx, 0x1480
mov qword [0x0056bd48], rcx
ret
Function at 0x1400033f4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
push 0x400
pop rcx
call fcn.14000e1e0
mov qword [rsp + 0x28], rax
push qword [0x1400181d0]
sub rsp, 8
push qword [0x1400181d0]
pop rcx
sub rsp, 0x20
call fcn.14000e3e4
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.140012090
push qword [rsp + 0x28]
push 0
movabs rax, 0x14001601e
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.dll_GetTempFileNameA
push qword [0x1400181d0]
sub rsp, 8
push qword [0x1400181d0]
push qword [rsp + 0x40]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000e0b0
add rsp, 0x28
lea rcx, [0x140017bfc]
pop rdx
call fcn.140012090
push qword [rsp + 0x28]
pop rcx
call fcn.14000e200
push qword [0x140017bfc]
pop rcx
call fcn.14000e4b0
push qword [0x140017bfc]
pop rcx
call fcn.14000e4b8
push qword [0x1400181d0]
sub rsp, 8
push qword [0x1400181d0]
pop rcx
sub rsp, 0x20
call fcn.14000e2cc
add rsp, 0x28
lea rcx, [0x140017b34]
pop rdx
call fcn.140012090
push qword [rsp + 0x50]
pop rcx
call fcn.14000e250
mov rax, rax
push rax
xor r15, r15
cmp r15, qword [rsp]
jne 0x14000352f
mov rcx, qword [0x140017bfc]
push qword [0x1400181d0]
sub rsp, 0x20
call fcn.1400121b0
add rsp, 0x20
lea rcx, [0x140017b34]
pop rdx
sub rsp, 0x28
call fcn.140012090
add rsp, 0x28
mov qword [rsp + 0x40], 2
jmp 0x140003545
mov r15, 1
cmp r15, qword [rsp]
jne 0x140003545
mov qword [rsp + 0x40], 1
pop rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
mov rax, r15
push rax
pop rcx
call fcn.14000e250
mov qword [0x140017b94], rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.14000e250
mov qword [0x140017a3c], rax
mov rax, 1
jmp 0x14000358b
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140012290
add rsp, 0x28
pop rax
add rsp, 0x40
pop r15
ret
Function at 0x1400040d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
mov rax, 7
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x1400040e6
sub rsp, 0x28
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140012220
add rsp, 0x10
push 0xa
push qword [rsp + 0x30]
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_FindResourceA
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140004164
push qword [rsp + 0x30]
push qword [rsp + 0x78]
pop rcx
pop rdx
call sub.KERNEL32.dll_LoadResource
mov qword [0x140017a44], rax
push qword [rsp + 0x30]
push qword [rsp + 0x78]
pop rcx
pop rdx
call sub.KERNEL32.dll_SizeofResource
mov qword [0x140017a6c], rax
push qword [0x140017a6c]
pop rcx
call fcn.14000e1e0
mov qword [rsp + 0x38], rax
push qword [0x140017a6c]
push qword [0x140017a44]
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
call sub.msvcrt.dll_memcpy
push qword [rsp + 0x38]
pop rax
mov qword [0x140017a44], rax
push qword [rsp + 0x28]
movabs rcx, 0x14001606e
pop rdx
call fcn.140012150
or rax, rax
jne 0x1400041e7
push qword [rsp + 0x28]
movabs rcx, 0x140016074
pop rdx
call fcn.140012150
or rax, rax
jne 0x1400041e7
push qword [rsp + 0x28]
movabs rcx, str.NOPSX
pop rdx
call fcn.140012150
or rax, rax
jne 0x1400041e7
jmp 0x1400041f0
mov rax, 1
jmp 0x1400041f3
xor rax, rax
and rax, rax
je 0x14000427a
push qword [0x140017a6c]
pop rcx
call fcn.14000e1e0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov r15, qword [0x140017a6c]
dec r15
cmp r15, qword [rsp + 0x48]
jl 0x14000426e
mov r15, qword [rsp + 0x38]
add r15, qword [rsp + 0x48]
mov rax, r15
push rax
pop rcx
call fcn.14000e250
mov qword [rsp + 0x50], rax
mov r15, qword [rsp + 0x50]
imul r15, r15, 0xffffffffffffffff
mov qword [rsp + 0x58], r15
push qword [rsp + 0x58]
mov r15, qword [rsp + 0x48]
add r15, qword [rsp + 0x50]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.14000e260
inc qword [rsp + 0x48]
jno 0x140004216
push qword [rsp + 0x40]
pop rax
mov qword [0x140017a44], rax
mov rax, qword [rsp + 0x30]
jmp 0x140004284
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140012290
add rsp, 0x28
pop rax
add rsp, 0x60
pop r15
ret
Function at 0x1400046b1
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
mov r15, qword [0x140017b94]
cmp r15, 1
jne 0x140004797
push qword [0x140017c44]
pop rcx
call fcn.140009d10
mov r15, rax
and r15, r15
jle 0x14000472d
mov rcx, qword [0x140017c44]
call fcn.140009d18
mov rcx, qword [0x140017c44]
call fcn.140009d2c
or rax, rax
je 0x14000472d
mov rbp, qword [0x140017c4c]
push qword [rbp + 0x10]
pop rcx
call fcn.140010510
mov r15, rax
movsxd rax, dword [rbp + 0x18]
cmp r15, rax
jne 0x14000472b
mov rbp, qword [0x140017c4c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e4b0
jmp 0x1400046ee
push qword [0x140017c54]
pop rcx
call fcn.140009d10
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004797
push 5
push 0
push 1
push qword [0x140017c54]
pop rcx
pop rdx
pop r8
pop r9
call fcn.1400080d0
mov rcx, qword [0x140017c54]
call fcn.140009d18
mov rcx, qword [0x140017c54]
call fcn.140009d2c
or rax, rax
je 0x140004797
mov rbp, qword [0x140017c5c]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
jmp 0x140004774
mov rax, 1
jmp 0x1400047a3
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140008a90
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x140008b07
movsxd rdx, ecx
lea rcx, [0x1400089ec]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x140017c70]
test rbx, rbx
je 0x140008b7a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140008afd
cmp byte [rbx + 0x20], 0
je 0x140008afd
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140008ac3
jmp 0x140008b7a
mov rbx, qword [0x140017c70]
test rbx, rbx
je 0x140008b7a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140008b72
cmp byte [rbx + 0x21], 0
je 0x140008b36
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x140008b62
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x140017c70]
call fcn.140011a74
mov rbx, rdi
test rdi, rdi
jne 0x140008b13
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140008c54
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x140018210]
call fcn.14001121c
xor ebx, ebx
or esi, 0xffffffff
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dl, byte [rax]
test dl, dl
je 0x140008d1a
mov rcx, qword [rsp + 0x30]
mov r10b, 0x20
lea r9d, [rbx + 1]
cmp dl, r10b
jne 0x140008ca8
add rax, r9
cmp byte [rax], r10b
je 0x140008ca0
mov dl, byte [rax]
mov r8d, r9d
cmp dl, 0x22
jne 0x140008cde
add rax, r9
mov rbx, rax
mov cl, byte [rax]
test cl, cl
je 0x140008cd9
cmp cl, 0x22
je 0x140008ccc
add rax, r9
mov cl, byte [rax]
test cl, cl
jne 0x140008cbe
cmp byte [rax], 0
je 0x140008cd9
mov rcx, rax
add rax, r9
jmp 0x140008d00
mov rcx, rax
jmp 0x140008d00
test dl, dl
je 0x140008cfd
mov rbx, rax
cmp dl, r10b
je 0x140008cf3
add rax, r9
mov dl, byte [rax]
test dl, dl
jne 0x140008ce5
cmp byte [rax], 0
mov rcx, rax
je 0x140008d00
jmp 0x140008cd4
xor r8d, r8d
cmp dword [rbp], esi
jne 0x140008d0a
test rdi, rdi
jne 0x140008d24
test r8d, r8d
je 0x140008d12
add esi, r9d
mov dl, byte [rax]
xor ebx, ebx
test dl, dl
jne 0x140008c9b
test rdi, rdi
jne 0x140008d36
movsxd rax, esi
jmp 0x140008d39
test rbx, rbx
je 0x140008d36
sub ecx, ebx
mov rax, rbx
mov dword [rdi], ecx
add dword [rbp], r9d
jmp 0x140008d39
and dword [rdi], 0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140008e14
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140018210]
call fcn.14001121c
xor ecx, ecx
add rsp, 0x28
jmp fcn.140008c54

Function at 0x140008f08
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
mov rax, rdx
test rcx, rcx
je 0x140008f28
test rax, rax
lea rdx, [0x140015496]
cmovne rdx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
add rsp, 0x28
ret
Function at 0x14000ab84
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x140018350]
call fcn.140011134
mov rsi, rax
test rax, rax
je 0x14000abfd
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14000abc2
mov edx, ebx
mov rcx, rsi
call rax
jmp 0x14000abfd
mov rcx, qword [rsi]
call qword [sym.imp.USER32.DLL_GetWindowTextLengthA]
mov edx, ebx
mov ecx, eax
mov edi, eax
call fcn.1400122c0
lea r8d, [rdi + 1]
mov byte [rax], 0
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.DLL_GetWindowTextA]
mov rcx, rbx
call sub.msvcrt.dll_strlen
sub edi, eax
mov ecx, edi
call fcn.140012460
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b0ec
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
lea rcx, [rsp + 0x20]
mov ebx, 0xc8
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000b201
mov eax, dword [rsp + 0x30]
dec eax
je 0x14000b1de
dec eax
jne 0x14000b201
lea rcx, [rsp + 0xc0]
xor edi, edi
mov dword [rsp + 0xc0], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000b159
lea eax, [rdi + 1]
cmp byte [rsp + 0x15a], al
cmove edi, eax
mov eax, dword [rsp + 0x24]
sub eax, 3
je 0x14000b1d7
dec eax
je 0x14000b1d0
dec eax
je 0x14000b1a6
dec eax
jne 0x14000b201
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000b19a
dec eax
je 0x14000b18e
dec eax
jne 0x14000b201
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x5f
jmp 0x14000b201
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x55
jmp 0x14000b201
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x4b
jmp 0x14000b201
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000b1c9
dec eax
je 0x14000b1c2
dec eax
jne 0x14000b201
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x41
jmp 0x14000b201
mov ebx, 0x3c
jmp 0x14000b201
mov ebx, 0x32
jmp 0x14000b201
mov ebx, 0x14
jmp 0x14000b201
mov ebx, 5
jmp 0x14000b201
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000b1fc
cmp eax, 0xa
je 0x14000b1f5
cmp eax, 0x5a
jne 0x14000b201
lea ebx, [rax - 0x32]
jmp 0x14000b201
mov ebx, 0x1e
jmp 0x14000b201
mov ebx, 0xa
movsxd rax, ebx
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret