joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002380
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea rax, [rcx + 8]
mov r9d, 0x270
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x180002390
ret

Function at 0x1800023f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x1800024d5
cmp r9, 0x40
jb 0x1800024b3
movsx eax, byte [rcx]
lea rcx, [rdx - 1]
add rcx, r9
movd xmm2, eax
lea rax, [r8 - 1]
punpcklbw xmm2, xmm2
add rax, r9
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
cmp rdx, rax
ja 0x18000243d
cmp rcx, r8
jae 0x1800024b3
cmp rdx, r11
ja 0x180002447
cmp rcx, r11
jae 0x1800024b3
mov rcx, r9
mov qword [rsp + 0x10], rbx
and rcx, 0xffffffffffffffc0
mov qword [rsp], rdi
mov rbx, r8
lea rax, [rdx + 0x10]
sub rbx, rdx
movdqu xmm0, xmmword [rbx + rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rbx + rax]
lea rax, [rax + 0x40]
xorps xmm0, xmm2
xorps xmm1, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rbx + rax - 0x30]
movdqu xmmword [rax - 0x40], xmm1
xorps xmm0, xmm2
movdqu xmm1, xmmword [rbx + rax - 0x20]
movdqu xmmword [rax - 0x30], xmm0
xorps xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp r10, rcx
jb 0x180002461
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
cmp r10, r9
jae 0x1800024d5
sub r8, rdx
lea rax, [r10 + rdx]
sub r9, r10
nop dword [rax]
movzx ecx, byte [r8 + rax]
lea rax, [rax + 1]
xor cl, byte [r11]
mov byte [rax - 1], cl
sub r9, 1
jne 0x1800024c0
add rsp, 8
ret

Function at 0x180002950
Capabilities:
Encode data using xor

Disassembly:
mov dword [rcx + 4], edx
lea r10, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r9d, edx
lea r10, [r10 + 4]
shr r9d, 0x1e
xor edx, r9d
imul edx, r8d
add edx, eax
inc rax
mov dword [r10 - 4], edx
cmp rax, 0x270
jb 0x180002960
mov dword [rcx], 0x270
ret

Function at 0x1800083f0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret
Function at 0x18000c260
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x18000c418
cmp ecx, 0x7c
je 0x18000c418
cmp ecx, 0x29
jne 0x18000c2a8
cmp dword [rbx + 0x1c], 0
jne 0x18000c418
test dword [rbx + 0x80], 0x10000000
je 0x18000c431
jmp 0x18000c3e8
cmp ecx, 0x2e
jne 0x18000c2bb
lea rcx, [rbx + 0x40]
call fcn.18000bb00
jmp 0x18000c3f5
cmp ecx, 0x5c
jne 0x18000c31f
mov rcx, rbx
call fcn.18000f9a0
test byte [rbx + 0x80], 0x80
je 0x18000c312
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18000c2ef
lea rcx, [rbx + 0x40]
call fcn.18000c180
mov rcx, rbx
call fcn.18000f9a0
jmp 0x18000c405
cmp al, 0x42
jne 0x18000c312
lea rcx, [rbx + 0x40]
call fcn.18000c180
lea rcx, [rbx + 0x40]
call fcn.18000f920
mov rcx, rbx
call fcn.18000f9a0
jmp 0x18000c405
mov rcx, rbx
call fcn.18000c4b0
jmp 0x18000c3fd
cmp ecx, 0x5b
jne 0x18000c34c
mov rcx, rbx
call fcn.18000f9a0
mov rcx, rbx
call fcn.18000d0c0
mov edx, 0x5d
mov r8d, 4
mov rcx, rbx
call fcn.18000e740
jmp 0x18000c3fd
cmp ecx, 0x28
jne 0x18000c382
mov rcx, rbx
call fcn.18000f9a0
mov rcx, rbx
call fcn.180010610
mov edx, 0x29
mov r8d, 5
mov rcx, rbx
movzx edi, al
call fcn.18000e740
test dil, dil
je 0x18000c405
jmp 0x18000c3fd
cmp ecx, 0x5e
jne 0x18000c39a
lea rcx, [rbx + 0x40]
call fcn.18000b890
mov rcx, rbx
call fcn.18000f9a0
jmp 0x18000c405
cmp ecx, 0x24
jne 0x18000c3b2
lea rcx, [rbx + 0x40]
call fcn.18000bbb0
mov rcx, rbx
call fcn.18000f9a0
jmp 0x18000c405
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000c423
cmp ecx, 0x3f
je 0x18000c423
cmp ecx, 0x7b
je 0x18000c423
cmp ecx, 0x7d
jne 0x18000c3d7
test dword [rbx + 0x80], 0x10000000
je 0x18000c43f
jmp 0x18000c3e8
cmp ecx, 0x5d
jne 0x18000c3e8
test dword [rbx + 0x80], 0x10000000
je 0x18000c44d
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18000b8a0
mov rcx, rbx
call fcn.18000f9a0
mov rcx, rbx
call fcn.18000fa50
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18000c418
cmp ecx, 0x7c
jne 0x18000c284
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.18000e6f0
int3
mov edx, 5
mov rcx, rbx
call fcn.18000e6f0
int3
mov edx, 6
mov rcx, rbx
call fcn.18000e6f0
int3
mov edx, 4
mov rcx, rbx
call fcn.18000e6f0
int3
Function at 0x1800159b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x1800159c1
mov ecx, edx
jmp 0x180015a0a
mov ecx, 1
call fcn.180015ac0
mov rcx, rax
call fcn.180015a30
mov rcx, rax
mov rdx, rbx
call 0x180015bc0
test rax, rax
jne 0x180015a27
mov ecx, 3
call fcn.180015ac0
mov rcx, rax
call fcn.180015a30
mov rcx, rax
mov rdx, rbx
call 0x180015bc0
test rax, rax
jne 0x180015a27
mov ecx, 2
call fcn.180015ac0
mov rcx, rax
call fcn.180015a30
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x180015bc0
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x180015c1f
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x180015c4a
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x180015c4c
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x180015c4a
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x1800178b0
test eax, eax
je 0x180015c69
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x180015c30
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x180015c4c

Function at 0x180015b60
Capabilities:
Access peb ldr_data

Disassembly:
cmp qword [rcx + 0x30], 0
jne 0x180015b7e
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x20]
jmp 0x180015b82
mov rdx, qword [rcx + 0x10]
movups xmm0, xmmword [rdx - 0x10]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x50], xmm1
movsd xmm0, qword [rdx + 0x50]
movsd qword [rcx + 0x60], xmm0
mov rax, qword [rcx + 0x30]
ret
Function at 0x180015bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x1800159c1
mov ecx, edx
jmp 0x180015a0a
mov ecx, 1
call fcn.180015ac0
mov rcx, rax
call fcn.180015a30
mov rcx, rax
mov rdx, rbx
call 0x180015bc0
test rax, rax
jne 0x180015a27
mov ecx, 3
call fcn.180015ac0
mov rcx, rax
call fcn.180015a30
mov rcx, rax
mov rdx, rbx
call 0x180015bc0
test rax, rax
jne 0x180015a27
mov ecx, 2
call fcn.180015ac0
mov rcx, rax
call fcn.180015a30
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x180015bc0
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x180015c1f
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x180015c4a
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x180015c4c
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x180015c4a
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x1800178b0
test eax, eax
je 0x180015c69
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x180015c30
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x180015c4c

Function at 0x180015c80
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x180015cc4
nop word [rax + rax]
cmp qword [rax + 0x30], rcx
je 0x180015caf
mov rax, qword [rax]
test rax, rax
jne 0x180015ca0
ret
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
ret

Function at 0x1800177a0
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 8
movzx r11d, byte [rcx]
xor r10d, r10d
mov r8d, r10d
mov r9d, r10d
cmp r11b, 0xcc
je 0x1800177e4
mov qword [rsp], rbx
mov ebx, r10d
nop
cmp r11b, byte [rbx + rdx]
lea eax, [r8 + 1]
cmovne eax, r8d
inc r9d
mov r8d, eax
mov ebx, r9d
movzx r11d, byte [r9 + rcx]
cmp r11b, 0xcc
jne 0x1800177c0
mov rbx, qword [rsp]
cmp r8d, r9d
sete r10b
mov eax, r10d
add rsp, 8
ret
Function at 0x18001ee20
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 0x18001ee8f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001ee8f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001ee8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001ee8f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001ee8f
cmp dword [rcx + 0x84], 0xe
jbe 0x18001ee8f
cmp dword [rcx + 0xf8], 0
je 0x18001ee8f
mov ecx, ebx
call fcn.18001ef34
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.18001ed28
nop
cmp dword [rbp + 0x20], 0
jne 0x18001eef0
call fcn.180022c84
cmp eax, 1
jne 0x18001eee0
xor dl, dl
jmp 0x18001eeea
call fcn.180022c50
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18001eefb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001ef04
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001ee20

Function at 0x18002253c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18004b050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1800225a1
test rax, rax
jne 0x18002258f
lea r9, str.GetLocaleInfoEx
lea r8, [0x180034808]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.180022210
test rax, rax
je 0x1800225a1
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.18002ec80
jmp 0x1800225bb
xor edx, edx
mov rcx, rbp
call fcn.18002282c
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800247d4
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 0x180024804
xor eax, eax
jmp 0x1800248c7
mov rbp, rbx
cmp word [rax], si
je 0x180024829
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180024810
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18002480c
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.1800246f4
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18002486a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800247fd
call fcn.180022bf0
mov rdi, rax
test rax, rax
jne 0x180024880
xor ecx, ecx
call fcn.180021c10
jmp 0x18002485f
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.1800246f4
test eax, eax
jne 0x1800248b1
mov rcx, rdi
call fcn.180021c10
jmp 0x1800248bb
xor ecx, ecx
call fcn.180021c10
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 0x180028b98
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x180028c0b
cmp word [rcx], si
je 0x180028c0b
lea rdx, [0x180035938]
call fcn.18002baa8
test eax, eax
je 0x180028c0b
lea rdx, [0x180035950]
mov rcx, rbx
call fcn.18002baa8
test eax, eax
jne 0x180028c01
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x180028c28
mov eax, dword [rsp + 0x30]
jmp 0x180028c3a
mov rcx, rbx
call fcn.18001fc48
jmp 0x180028c3a
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x180028c2c
xor eax, eax
jmp 0x180028c3a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x180028c3a
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180028c4c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800201a4
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x180028cef
cmp edi, dword [rsp + 0x30]
je 0x180028ce8
test ebp, ebp
je 0x180028ce8
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x180028cc4
sub dx, 0x61
cmp dx, 0x19
ja 0x180028cd0
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x180028cb1
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x180028cd4
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x180028cf1
mov eax, 1
jmp 0x180028cf1
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18002de00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18002de28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18002de28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001d98
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x920
mov eax, dword [rcx]
mov rdi, rcx
cmp eax, dword [0x140028ac0]
je 0x140001eb2
cmp eax, 0xeedfade
je 0x140001eb2
cmp eax, 0x40010006
je 0x140001eb2
cmp eax, 0x4001000a
je 0x140001eb2
mov rax, qword [0x140028ab8]
xor ebx, ebx
test rax, rax
je 0x140001e0b
cmp word [0x140028aba], bx
je 0x140001dfc
call rax
mov qword [0x140028ab8], rax
mov ecx, eax
call fcn.140004a70
mov rcx, rax
jmp 0x140001e9c
mov ecx, 0x27
call fcn.140004a70
mov r9, qword [rdi + 0x10]
mov r8d, dword [rdi]
lea rcx, [rsp + 0x120]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
cmp dword [rdi + 0x18], ebx
jbe 0x140001e69
lea rsi, [rdi + 0x20]
mov r8, qword [rsi]
lea rdx, str._t0x_p_n
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x18]
jb 0x140001e36
cmp byte [str.___Install__UTF_8_], 0x3b
je 0x140001e94
mov ecx, 3
call fcn.140004a70
lea rdx, [rsp + 0x120]
xor r9d, r9d
mov r8, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001ea1
lea rcx, [rsp + 0x120]
call fcn.14000c328
call fcn.140007414
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r11, [rsp + 0x920]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001fb8
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rsi, rcx
lea rcx, [rbp - 0x39]
mov rbx, r8
mov edi, edx
call fcn.140015c54
lea rcx, [rbp - 0x29]
call fcn.140015c54
xor edx, edx
lea rcx, [rbp - 0x19]
lea r8d, [rdx + 0x70]
call sub.msvcrt.dll_memset
mov qword [rbp + 0xf], rbx
mov ebx, 1
mov edx, 0x740
mov dword [rbp - 0x19], 0x70
mov dword [rbp + 0x17], 0xa
mov dword [rbp - 0x15], edx
test bl, dil
je 0x14000202c
and dword [rbp + 0x17], 0
mov edx, 0x8740
mov dword [rbp - 0x15], edx
test dil, 2
lea rax, str.runas
cmove rax, qword [rbp - 9]
and edi, 0x10000
mov qword [rbp - 9], rax
jne 0x14000204f
bts edx, 8
mov dword [rbp - 0x15], edx
mov rcx, qword [0x140028ae0]
mov edx, 5
mov qword [rbp - 0x11], rcx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.USER32.dll_BringWindowToTop]
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.140003858
lea rcx, [rbp - 0x29]
mov rdx, rax
call fcn.140015d24
cmp dword [rbp - 0x31], 0
je 0x1400020ca
mov rax, qword [rbp - 0x39]
lea rcx, [rbp - 0x19]
mov qword [rbp - 1], rax
mov rax, qword [rbp - 0x29]
mov qword [rbp + 7], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400020c8
test edi, edi
jne 0x1400020bc
mov rcx, qword [rbp + 0x4f]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x4f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400020ca
xor ebx, ebx
mov rcx, qword [rbp - 0x29]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x39]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea r11, [rsp + 0xb0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140002cf4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
add rcx, 0x18
call fcn.140015d24
mov eax, dword [rdi + 0x20]
cmp dword [rdi + 0x24], eax
jne 0x140002d20
lea rcx, [rdi + 0x18]
call fcn.1400159a8
mov edx, dword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
xor esi, esi
mov r8d, 0x5c
lea rax, [rsp + 0x50]
mov r9, rdi
mov word [rcx + rdx*2], r8w
inc edx
mov qword [rsp + 0x28], rax
mov word [rcx + rdx*2], si
mov dword [rdi + 0x20], edx
lea r8, [0x140002b98]
xor edx, edx
xor ecx, ecx
mov qword [0x140028ad0], rdi
mov dword [0x140028ad8], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140028ac8], rax
test rax, rax
je 0x140002da0
cmp dword [0x140028b5c], 2
je 0x140002d8d
call fcn.14000b570
mov rax, qword [0x140028ac8]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x140028ac8]
mov r8d, dword [0x140028ad8]
mov qword [0x140028d20], rsi
test r8d, r8d
je 0x140002e02
cmp r8d, 1
je 0x140002df4
cmp r8d, 2
je 0x140002ded
cmp r8d, 3
je 0x140002de6
cmp r8d, 0x67
jle 0x140002dd5
cmp r8d, 0x6b
jle 0x140002e73
mov edx, 0x14
xor ecx, ecx
call fcn.14000c484
jmp 0x140002e73
mov edx, 0x12
jmp 0x140002df9
mov edx, 0x13
jmp 0x140002df9
mov edx, reloc.COMCTL32.dll_InitCommonControls
xor ecx, ecx
call fcn.14000c484
jmp 0x140002e73
cmp dword [0x140028d1c], esi
mov ecx, esi
mov dword [rsp + 0x40], ecx
jne 0x140002e73
test rax, rax
je 0x140002e33
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [rsp + 0x40]
test eax, eax
je 0x140002e33
test ecx, ecx
jne 0x140002e33
xor eax, eax
jmp 0x140002e78
mov edx, 0x80070000
mov eax, ecx
and eax, edx
cmp eax, edx
je 0x140002e4a
mov r8d, ecx
mov edx, 0x21
jmp 0x140002dda
movzx ecx, cx
cmp ecx, 0xe
jne 0x140002e5b
cmp dword [0x140028b60], 0xffffffff
je 0x140002e73
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, dword [rsp + 0x40]
mov edx, 0x22
lea ecx, [rdx - 0x21]
call fcn.14000c484
mov eax, 0x80004005
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400037c8
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x10], 0
lea rax, [0x140022208]
mov rbx, rcx
mov qword [rcx], rax
je 0x1400037eb
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rbx + 8]
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_

Function at 0x140003934
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000397b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140003962
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140003980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000397b
test al, 0x10
jne 0x14000397b
mov ecx, 0xb7
jmp 0x140003958
mov eax, 1
add rsp, 0x20
pop rbx
ret