joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003e5dc
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1800764a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r8
mov rsi, rdx
lea rcx, [rsp + 0x52]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], di
call fcn.1800432e0
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.drivers
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call fcn.18003de10
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x18003e687
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb edi, edi
not edi
and edi, 8
jmp 0x18003e70f
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.18002dc68
cmp eax, edi
jne 0x18003e70f
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x18003e70f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18003ddd0
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
je 0x18003e6f8
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb edi, edi
not edi
and edi, 8
jmp 0x18003e6fd
mov edi, 9
cmp qword [rsp + 0x40], 8
jb 0x18003e70f
mov rcx, qword [rsp + 0x28]
call fcn.180041070
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180040bb0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18003f38c
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov r9, rcx
lea r8, [rsp + 0x10]
mov r10d, 0x10
lea rcx, [rdx + 1]
movzx eax, byte [rcx]
movzx edx, byte [rcx - 1]
add rcx, 4
shl edx, 8
or edx, eax
movzx eax, byte [rcx - 3]
shl edx, 8
or edx, eax
movzx eax, byte [rcx - 2]
shl edx, 8
or edx, eax
mov dword [r8], edx
add r8, 4
sub r10, 1
jne 0x18003f3b5
lea r10, [rsp + 0x48]
mov r11d, 0x30
mov ecx, dword [r10 - 0x34]
mov edx, dword [r10]
add r10, 4
mov r8d, ecx
mov eax, ecx
shr ecx, 3
rol r8d, 0xe
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
rol eax, 0xd
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
sub r11, 1
mov dword [r10 + 4], r8d
jne 0x18003f3ef
mov edi, dword [r9 + 0x5c]
mov r14d, dword [r9 + 0x50]
mov r10d, dword [r9 + 0x54]
mov r11d, dword [r9 + 0x58]
mov r15d, dword [r9 + 0x60]
mov ebx, dword [r9 + 0x64]
mov ebp, dword [r9 + 0x6c]
mov dword [rsp + 0x150], edi
mov edi, dword [r9 + 0x68]
mov esi, dword [rsp + 0x150]
xor r12d, r12d
lea r13d, [r12 + 0x40]
mov eax, r15d
mov r8d, r15d
mov ecx, r15d
ror r8d, 0xb
rol eax, 7
not ecx
xor r8d, eax
and ecx, edi
mov eax, r15d
ror eax, 6
mov edx, r14d
xor r8d, eax
mov eax, ebx
and eax, r15d
xor ecx, eax
lea rax, [0x180061190]
add r8d, ecx
mov ecx, r10d
add r8d, dword [r12 + rax]
xor ecx, r14d
mov eax, r14d
add r8d, dword [rsp + r12 + 0x10]
and ecx, r11d
add r12, 4
add r8d, ebp
ror edx, 0xd
rol eax, 0xa
xor edx, eax
mov eax, r14d
mov ebp, edi
ror eax, 2
mov edi, ebx
mov ebx, r15d
xor edx, eax
mov eax, r10d
lea r15d, [r8 + rsi]
and eax, r14d
mov esi, r11d
mov r11d, r10d
xor ecx, eax
mov r10d, r14d
add edx, ecx
sub r13, 1
lea r14d, [rdx + r8]
jne 0x18003f46b
mov eax, dword [r9 + 0x50]
add eax, r14d
mov dword [r9 + 0x50], eax
mov eax, r10d
add eax, dword [r9 + 0x54]
mov dword [r9 + 0x54], eax
mov eax, r11d
add eax, dword [r9 + 0x58]
mov dword [r9 + 0x58], eax
mov eax, dword [r9 + 0x5c]
add eax, esi
mov dword [r9 + 0x5c], eax
mov eax, dword [r9 + 0x60]
add eax, r15d
mov dword [r9 + 0x60], eax
mov eax, ebx
mov rbx, qword [rsp + 0x158]
add eax, dword [r9 + 0x64]
mov dword [r9 + 0x64], eax
mov eax, edi
add eax, dword [r9 + 0x68]
mov dword [r9 + 0x68], eax
mov eax, ebp
add eax, dword [r9 + 0x6c]
mov dword [r9 + 0x6c], eax
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18003fa58
Capabilities:
Encrypt data using aes
Reference aes constants

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
xor eax, eax
xor esi, esi
mov rbp, r8
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov eax, dword [rcx + 0x10]
shl eax, 2
mov r10, rdx
mov rbx, rcx
cmp eax, esi
mov r9d, esi
jle 0x18003fac6
mov eax, r9d
inc r9d
cdq
and edx, 3
add eax, edx
mov ecx, eax
and eax, 3
sub eax, edx
sar ecx, 2
movsxd rdx, eax
movsxd rax, ecx
lea rcx, [rbx + rax]
mov al, byte [r10]
inc r10
mov byte [rcx + rdx*4], al
mov eax, dword [rbx + 0x10]
shl eax, 2
cmp r9d, eax
jl 0x18003fa92
mov edx, dword [rbx + 0x18]
mov rcx, rbx
call fcn.18003fbcc
mov edi, dword [rbx + 0x18]
lea r14, [0x180077b00]
jmp 0x18003fb21
mov r9, rsi
movzx edx, byte [r11 + r9]
mov ecx, edx
and edx, 0xf
shr ecx, 4
shl rcx, 4
add rcx, rdx
mov al, byte [rcx + r14]
mov byte [r11 + r9], al
inc r9
cmp r9, 4
jl 0x18003fae0
add r11, 4
sub r8, 1
jne 0x18003fadd
mov edx, edi
mov rcx, rbx
call fcn.18003fbcc
mov rcx, rbx
call fcn.18003fd0c
mov rcx, rbx
dec edi
call fcn.18003fc84
cmp edi, 1
mov r11, rbx
mov r8d, 4
jge 0x18003fadd
mov r9, rsi
movzx edx, byte [r11 + r9]
mov ecx, edx
and edx, 0xf
shr ecx, 4
shl rcx, 4
add rcx, rdx
mov al, byte [rcx + r14]
mov byte [r11 + r9], al
inc r9
cmp r9, 4
jl 0x18003fb3c
add r11, 4
sub r8, 1
jne 0x18003fb39
xor edx, edx
mov rcx, rbx
call fcn.18003fbcc
mov eax, dword [rbx + 0x10]
shl eax, 2
cmp eax, esi
jle 0x18003fbb0
mov eax, esi
inc esi
cdq
and edx, 3
add eax, edx
mov ecx, eax
and eax, 3
sub eax, edx
sar ecx, 2
movsxd rdx, eax
movsxd rax, ecx
lea rcx, [rbx + rax]
mov al, byte [rcx + rdx*4]
mov byte [rbp], al
mov eax, dword [rbx + 0x10]
inc rbp
shl eax, 2
cmp esi, eax
jl 0x18003fb7f
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 0x18003fbcc
Capabilities:
Encode data using xor

Disassembly:
movsxd rax, edx
mov r11d, 4
add rax, rax
mov r10, r11
lea rdx, [rcx + rax*8 + 0x3c]
xor r8d, r8d
mov r9, rdx
mov al, byte [r9]
add r9, r11
xor byte [rcx + r8], al
inc r8
cmp r8, r11
jl 0x18003fbe6
inc rdx
add rcx, r11
sub r10, 1
jne 0x18003fbe0
repz ret
Function at 0x180040588
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1800764a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, r9
mov r12, r8
mov rdi, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov rdx, qword [rdx + 0x18]
test dl, 0xf
je 0x1800405fa
mov qword [rcx + 0x20], 0xf
mov qword [rcx + 0x18], r13
mov byte [rcx + 8], r13b
xor r8d, r8d
lea rdx, [0x1800602d8]
call fcn.180001c90
mov rax, rbx
jmp 0x1800407ec
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.180022b98
nop
mov rbp, qword [rdi + 0x18]
mov r15d, 0x10
cmp qword [rdi + 0x20], r15
jb 0x18004061e
mov rdi, qword [rdi + 8]
jmp 0x180040622
add rdi, 8
lea rsi, [rsp + 0x48]
cmp qword [rsp + 0x60], r15
cmovae rsi, qword [rsp + 0x48]
cmp rbp, r15
jb 0x18004068e
shr rbp, 4
cmp qword [r12 + 0x20], r15
jb 0x180040649
mov r8, qword [r12 + 8]
jmp 0x18004064e
lea r8, [r12 + 8]
mov byte [rsp + 0x20], 0
mov r9d, dword [r12 + 0x18]
mov rdx, rsi
mov rcx, rdi
call fcn.1800402a0
mov r11, rsi
sub r14, rsi
mov rcx, r15
mov al, byte [r14 + r11]
xor byte [r11], al
inc r11
sub rcx, 1
jne 0x18004066c
mov r14, rdi
add rdi, r15
add rsi, r15
sub rbp, 1
jne 0x18004063b
xor r13d, r13d
mov r9, qword [rsp + 0x58]
cmp r9, r15
jae 0x1800406d4
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r13
mov byte [rbx + 8], r13b
xor r8d, r8d
lea rdx, [0x1800602d8]
mov rcx, rbx
call fcn.180001c90
nop
cmp qword [rsp + 0x60], r15
jb 0x1800406cc
mov rcx, qword [rsp + 0x48]
call fcn.180041070
mov rax, rbx
jmp 0x1800407ec
lea rdi, [r9 - 1]
cmp r9, rdi
ja 0x1800406e7
call fcn.180040b00
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], r15
cmovae rax, qword [rsp + 0x48]
mov dil, byte [rax + rdi]
cmp dil, r15b
jbe 0x18004073c
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r13
mov byte [rbx + 8], r13b
xor r8d, r8d
lea rdx, [0x1800602d8]
mov rcx, rbx
call fcn.180001c90
nop
cmp qword [rsp + 0x60], r15
jb 0x180040734
mov rcx, qword [rsp + 0x48]
call fcn.180041070
mov rax, rbx
jmp 0x1800407ec
mov bpl, r13b
cmp dil, r13b
jbe 0x1800407c0
movzx r12d, dil
movzx eax, bpl
mov rsi, r9
sub rsi, rax
dec rsi
cmp r9, rsi
ja 0x180040764
call fcn.180040b00
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], r15
cmovae rax, qword [rsp + 0x48]
movsx eax, byte [rax + rsi]
cmp eax, r12d
jne 0x180040787
inc bpl
cmp bpl, dil
jb 0x180040748
jmp 0x1800407c0
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r13
mov byte [rbx + 8], r13b
xor r8d, r8d
lea rdx, [0x1800602d8]
mov rcx, rbx
call fcn.180001c90
nop
cmp qword [rsp + 0x60], r15
jb 0x1800407bb
mov rcx, qword [rsp + 0x48]
call fcn.180041070
mov rax, rbx
jmp 0x1800407ec
movzx eax, dil
sub r9, rax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180037b4c
nop
cmp qword [rsp + 0x60], r15
jb 0x1800407e9
mov rcx, qword [rsp + 0x48]
call fcn.180041070
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180040bb0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180040814
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1800764a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, rdx
mov rbx, rcx
and dword [rsp + 0x20], 0
xor esi, esi
xor eax, eax
or r14, 0xffffffffffffffff
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov r13, rcx
mov qword [r11 - 0x38], 0xf
mov qword [r11 - 0x40], rax
mov byte [rsp + 0x38], al
je 0x180040a06
lea rdi, [0x1800610d0]
movsx rax, byte [r12 + rsi]
mov cl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x18004089a
cmp cl, r14b
je 0x180040885
cmp cl, r14b
je 0x180040a06
movsx rax, byte [r12 + rsi]
mov bpl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x1800408b9
cmp bpl, r14b
je 0x1800408a3
cmp bpl, r14b
je 0x180040a06
mov r8b, bpl
sar r8b, 4
and r8b, 3
shl cl, 2
or r8b, cl
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1800160d0
jmp 0x1800408eb
lea rdi, [0x1800610d0]
mov al, byte [r12 + rsi]
inc rsi
cmp al, 0x3d
je 0x1800409ca
movsx rax, al
mov dil, byte [rax + rdi]
cmp rsi, r13
jae 0x18004090c
cmp dil, r14b
je 0x1800408e4
cmp dil, r14b
je 0x180040a06
mov r8b, dil
sar r8b, 2
and r8b, 0xf
shl bpl, 4
or r8b, bpl
mov ebp, 1
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.1800160d0
lea rdx, [0x1800610d0]
mov al, byte [r12 + rsi]
add rsi, rbp
cmp al, 0x3d
je 0x18004098e
movsx rax, al
mov cl, byte [rax + rdx]
cmp rsi, r13
jae 0x18004095c
cmp cl, r14b
je 0x180040940
cmp cl, r14b
je 0x180040a06
shl dil, 6
or dil, cl
mov r8b, dil
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.1800160d0
cmp rsi, r13
lea rdi, [0x1800610d0]
jb 0x180040885
jmp 0x180040a06
mov qword [rbx + 0x20], 0xf
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180001a10
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1800409c5
mov rcx, qword [rsp + 0x38]
call fcn.180041070
mov rax, rbx
jmp 0x180040a40
mov qword [rbx + 0x20], 0xf
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180001a10
nop
cmp qword [rsp + 0x50], 0x10
jb 0x180040a01
mov rcx, qword [rsp + 0x38]
call fcn.180041070
mov rax, rbx
jmp 0x180040a40
mov qword [rbx + 0x20], 0xf
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180001a10
nop
cmp qword [rsp + 0x50], 0x10
jb 0x180040a3d
mov rcx, qword [rsp + 0x38]
call fcn.180041070
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180040bb0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1800430d3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800764a0]
jne 0x180040bca
rol rcx, 0x10
test cx, 0xffff
jne 0x180040bc6
repz ret
ror rcx, 0x10
jmp 0x18004302c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180078fd0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1800790c8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800430b1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180078fd0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800430d3
mov rax, qword [rsp + 0x88]
mov qword [0x1800790c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180079068], rax
mov rax, qword [0x1800790c8]
mov qword [0x180078f40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180079050], rax
mov dword [0x180078f30], 0xc0000409
mov dword [0x180078f34], 1
mov rax, qword [0x1800764a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800764a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180078fc8], eax
mov ecx, 1
call fcn.1800432bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18005d838]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180078fc8], 0
jne 0x18004315a
mov ecx, 1
call fcn.1800432bc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1800442ac
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180044120
Function at 0x18004b6c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1800433d4
xor ebx, ebx
mov rdi, rax
cmp qword [0x180079c20], rbx
jne 0x18004b7c6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18004b89b
lea rdx, [0x18005e210]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18004b89b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180079c20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180079c28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x180079c30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180079c40], rax
test rax, rax
je 0x18004b7bd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180079c38], rax
jmp 0x18004b7cd
mov rax, qword [0x180079c38]
jmp 0x18004b7d4
mov rax, qword [0x180079c38]
mov r11, qword [0x180079c40]
cmp rax, rdi
je 0x18004b83c
cmp r11, rdi
je 0x18004b83c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180079c40]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18004b83c
test rax, rax
je 0x18004b83c
call rsi
test rax, rax
je 0x18004b836
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18004b836
test byte [rsp + 0x38], 1
jne 0x18004b83c
bts ebp, 0x15
jmp 0x18004b87a
mov rcx, qword [0x180079c28]
cmp rcx, rdi
je 0x18004b87a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004b87a
call rax
mov rbx, rax
test rax, rax
je 0x18004b87a
mov rcx, qword [0x180079c30]
cmp rcx, rdi
je 0x18004b87a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004b87a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180079c20]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004b89b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18004b89d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001d34
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 [0x140027ac0]
je 0x140001e4e
cmp eax, 0xeedfade
je 0x140001e4e
cmp eax, 0x40010006
je 0x140001e4e
cmp eax, 0x4001000a
je 0x140001e4e
mov rax, qword [0x140027ab8]
xor ebx, ebx
test rax, rax
je 0x140001da7
cmp word [0x140027aba], bx
je 0x140001d98
call rax
mov qword [0x140027ab8], rax
mov ecx, eax
call fcn.140004a00
mov rcx, rax
jmp 0x140001e38
mov ecx, 0x27
call fcn.140004a00
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 0x140001e05
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 0x140001dd2
cmp byte [str.___Install__UTF_8_], 0x3b
je 0x140001e30
mov ecx, 3
call fcn.140004a00
lea rdx, [rsp + 0x120]
xor r9d, r9d
mov r8, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001e3d
lea rcx, [rsp + 0x120]
call fcn.14000c2b8
call fcn.1400073d4
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 0x140001f54
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.140014e4c
lea rcx, [rbp - 0x29]
call fcn.140014e4c
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 0x140001fc8
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 0x140001feb
bts edx, 8
mov dword [rbp - 0x15], edx
mov rcx, qword [0x140027ae0]
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.1400037e8
lea rcx, [rbp - 0x29]
mov rdx, rax
call fcn.140014f1c
cmp dword [rbp - 0x31], 0
je 0x140002066
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 0x140002064
test edi, edi
jne 0x140002058
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 0x140002066
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 0x140002c84
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.140014f1c
mov eax, dword [rdi + 0x20]
cmp dword [rdi + 0x24], eax
jne 0x140002cb0
lea rcx, [rdi + 0x18]
call fcn.140014ba0
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, [0x140002b28]
xor edx, edx
xor ecx, ecx
mov qword [0x140027ad0], rdi
mov dword [0x140027ad8], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140027ac8], rax
test rax, rax
je 0x140002d30
cmp dword [0x140027b5c], 2
je 0x140002d1d
call fcn.14000b4c0
mov rax, qword [0x140027ac8]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x140027ac8]
mov r8d, dword [0x140027ad8]
mov qword [0x140027d20], rsi
test r8d, r8d
je 0x140002d92
cmp r8d, 1
je 0x140002d84
cmp r8d, 2
je 0x140002d7d
cmp r8d, 3
je 0x140002d76
cmp r8d, 0x67
jle 0x140002d65
cmp r8d, 0x6b
jle 0x140002e03
mov edx, 0x14
xor ecx, ecx
call fcn.14000c414
jmp 0x140002e03
mov edx, 0x12
jmp 0x140002d89
mov edx, 0x13
jmp 0x140002d89
mov edx, reloc.COMCTL32.dll_InitCommonControls
xor ecx, ecx
call fcn.14000c414
jmp 0x140002e03
cmp dword [0x140027d1c], esi
mov ecx, esi
mov dword [rsp + 0x40], ecx
jne 0x140002e03
test rax, rax
je 0x140002dc3
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [rsp + 0x40]
test eax, eax
je 0x140002dc3
test ecx, ecx
jne 0x140002dc3
xor eax, eax
jmp 0x140002e08
mov edx, 0x80070000
mov eax, ecx
and eax, edx
cmp eax, edx
je 0x140002dda
mov r8d, ecx
mov edx, 0x21
jmp 0x140002d6a
movzx ecx, cx
cmp ecx, 0xe
jne 0x140002deb
cmp dword [0x140027b60], 0xffffffff
je 0x140002e03
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, dword [rsp + 0x40]
mov edx, 0x22
lea ecx, [rdx - 0x21]
call fcn.14000c414
mov eax, 0x80004005
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140003758
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x10], 0
lea rax, [0x140021208]
mov rbx, rcx
mov qword [rcx], rax
je 0x14000377b
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 0x1400038c4
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 0x14000390b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400038f2
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140003910
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000390b
test al, 0x10
jne 0x14000390b
mov ecx, 0xb7
jmp 0x1400038e8
mov eax, 1
add rsp, 0x20
pop rbx
ret