joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000ef80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180027430]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.18000ed40
test rax, rax
je 0x18000efe9
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x28], 0x736f5077
mov word [rsp + 0x23], 0x6957
mov word [rsp + 0x20], 0x6553
mov word [rsp + 0x26], 0x6f64
mov byte [rsp + 0x22], 0x74
mov byte [rsp + 0x2c], 0
mov byte [rsp + 0x25], 0x6e
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret

Function at 0x18000f000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180027430]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.18000ed40
test rax, rax
je 0x18000f06e
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x30], 0x776f64
mov dword [rsp + 0x25], 0x72676572
mov word [rsp + 0x29], 0x756f
mov dword [rsp + 0x2c], 0x6e695764
mov dword [rsp + 0x21], 0x6f467465
mov byte [rsp + 0x20], 0x53
mov byte [rsp + 0x2b], 0x6e
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret

Function at 0x18000f080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180027430]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.18000ed40
test rax, rax
je 0x18000f0e6
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x2b], 0x776f646e
mov dword [rsp + 0x27], 0x69576576
mov dword [rsp + 0x23], 0x69746341
mov byte [rsp + 0x2f], 0
mov word [rsp + 0x20], 0x6553
mov byte [rsp + 0x22], 0x74
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret

Function at 0x18000f100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180027430]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.18000ed40
test rax, rax
je 0x18000f168
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x23], 0x6957676e
mov dword [rsp + 0x2b], 0x6f546f54
mov word [rsp + 0x2f], 0x70
mov dword [rsp + 0x27], 0x776f646e
mov word [rsp + 0x20], 0x7242
mov byte [rsp + 0x22], 0x69
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180010610
add rsp, 0x48
ret
Function at 0x18000f180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
sub rsp, 0x3c0
lea rbp, [rsp + 0x40]
mov rax, qword [0x180027430]
xor rax, rbp
mov qword [rbp + 0x370], rax
mov rbx, rcx
mov esi, r8d
mov rdi, rdx
lea rcx, [rbp + 0x151]
xor edx, edx
mov r8d, 0x103
mov r14d, r9d
mov dword [rbp + 0x2b], 0x52415754
mov word [rbp + 0x29], 0x464f
mov word [rbp + 0x30], 0x5c
mov byte [rbp + 0x2f], 0x45
mov byte [rbp + 0x28], 0x53
mov dword [rbp + 0x14], 0x73257325
mov byte [rbp + 0x18], 0
mov byte [rbp + 0x150], 0
call fcn.180010fb0
mov eax, dword [rsp]
sub rsp, 0x20
lea rcx, [rsp + 0x40]
mov eax, dword [rcx]
mov r9d, 3
lea r8d, [r9 + 0x15]
call fcn.18000ef20
lea r9, [rbp + 0x14]
lea rcx, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.180011c30
lea rax, [rbp + 8]
lea rdx, [rbp + 0x150]
mov qword [rsp + 0x20], rax
call fcn.18000ebd0
test eax, eax
jne 0x18000f312
lea rcx, [rbp + 0x261]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x260], al
call fcn.180010fb0
mov rcx, qword [rbp + 8]
lea rax, [rbp + 0x10]
lea rdx, [rbp + 0x1c]
mov word [rbp + 0x1f], 0x736c
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x260]
mov word [rbp + 0x1c], 0x7668
mov byte [rbp + 0x21], 0
mov byte [rbp + 0x1e], 0x61
mov qword [rsp + 0x20], rax
call fcn.18000eb00
test eax, eax
jne 0x18000f309
cmp dword [rbp + 0x10], eax
jbe 0x18000f309
lea rcx, [rbp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x40], al
call fcn.180010fb0
lea r9, [rbp]
lea rcx, [rbp + 0x40]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov word [rbp + 1], 0x64
mov byte [rbp], 0x25
mov qword [rsp + 0x20], rbx
call fcn.180011c30
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x260]
call fcn.18000ee90
test rax, rax
je 0x18000f309
mov rcx, qword [rbp + 8]
call fcn.18000eca0
mov eax, 1
jmp 0x18000f342
mov rcx, qword [rbp + 8]
call fcn.18000eca0
mov eax, dword [rbp + 0x3e0]
mov r9d, r14d
mov r8d, esi
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x3d8]
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x3d0]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [0x180054a70]
mov rcx, qword [rbp + 0x370]
xor rcx, rbp
call fcn.180010610
lea rsp, [rbp + 0x380]
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000f360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x3b0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x398], rbx
mov rax, qword [0x180027430]
xor rax, rbp
mov qword [rbp + 0x370], rax
mov rbx, rcx
lea rcx, [rbp + 0x151]
xor edx, edx
mov r8d, 0x103
mov dword [rbp + 0x29], 0x5754464f
mov byte [rbp + 0x28], 0x53
mov word [rbp + 0x30], 0x5c
mov word [rbp + 0x2d], 0x5241
mov byte [rbp + 0x2f], 0x45
mov dword [rbp + 0x15], 0x732573
mov byte [rbp + 0x14], 0x25
mov byte [rbp + 0x150], 0
call fcn.180010fb0
mov eax, dword [rsp]
sub rsp, 0x20
lea rcx, [rsp + 0x30]
mov eax, dword [rcx]
mov r9d, 3
lea r8d, [r9 + 0x15]
call fcn.18000ef20
lea r9, [rbp + 0x14]
lea rcx, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.180011c30
lea rax, [rbp + 8]
lea rdx, [rbp + 0x150]
mov qword [rsp + 0x20], rax
call fcn.18000ebd0
test eax, eax
jne 0x18000f4eb
lea rcx, [rbp + 0x261]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x260], al
call fcn.180010fb0
mov rcx, qword [rbp + 8]
lea rax, [rbp + 0x10]
lea rdx, [rbp + 0x1c]
mov word [rbp + 0x1f], 0x736c
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x260]
mov byte [rbp + 0x21], 0
mov word [rbp + 0x1c], 0x7668
mov byte [rbp + 0x1e], 0x61
mov qword [rsp + 0x20], rax
call fcn.18000eb00
test eax, eax
jne 0x18000f4e2
cmp dword [rbp + 0x10], eax
jbe 0x18000f4e2
lea rcx, [rbp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x40], al
call fcn.180010fb0
lea r9, [rbp]
lea rcx, [rbp + 0x40]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov word [rbp], 0x6425
mov byte [rbp + 2], 0
mov qword [rsp + 0x20], rbx
call fcn.180011c30
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x260]
call fcn.18000ee90
test rax, rax
je 0x18000f4e2
mov rcx, qword [rbp + 8]
call fcn.18000eca0
mov eax, 1
jmp 0x18000f4f4
mov rcx, qword [rbp + 8]
call fcn.18000eca0
mov rcx, rbx
call qword [0x180054a40]
mov rcx, qword [rbp + 0x370]
xor rcx, rbp
call fcn.180010610
mov rbx, qword [rbp + 0x398]
lea rsp, [rbp + 0x380]
pop rbp
ret
Function at 0x18000f520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x3b0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x398], rbx
mov rax, qword [0x180027430]
xor rax, rbp
mov qword [rbp + 0x370], rax
mov rbx, rcx
lea rcx, [rbp + 0x151]
xor edx, edx
mov r8d, 0x103
mov word [rbp + 0x2e], 0x4552
mov word [rbp + 0x2b], 0x5754
mov word [rbp + 0x28], 0x4f53
mov byte [rbp + 0x2a], 0x46
mov word [rbp + 0x30], 0x5c
mov byte [rbp + 0x2d], 0x41
mov word [rbp + 0x14], 0x7325
mov word [rbp + 0x17], 0x73
mov byte [rbp + 0x16], 0x25
mov byte [rbp + 0x150], 0
call fcn.180010fb0
mov eax, dword [rsp]
sub rsp, 0x20
lea rcx, [rsp + 0x30]
mov eax, dword [rcx]
mov r9d, 3
lea r8d, [r9 + 0x15]
call fcn.18000ef20
lea r9, [rbp + 0x14]
lea rcx, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.180011c30
lea rax, [rbp + 8]
lea rdx, [rbp + 0x150]
mov qword [rsp + 0x20], rax
call fcn.18000ebd0
test eax, eax
jne 0x18000f6ac
lea rcx, [rbp + 0x261]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x260], al
call fcn.180010fb0
mov rcx, qword [rbp + 8]
lea rax, [rbp + 0x10]
lea rdx, [rbp + 0x1c]
mov dword [rbp + 0x1e], 0x736c61
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x260]
mov word [rbp + 0x1c], 0x7668
mov qword [rsp + 0x20], rax
call fcn.18000eb00
test eax, eax
jne 0x18000f6a3
cmp dword [rbp + 0x10], eax
jbe 0x18000f6a3
lea rcx, [rbp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x40], al
call fcn.180010fb0
lea r9, [rbp]
lea rcx, [rbp + 0x40]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov word [rbp], 0x6425
mov byte [rbp + 2], 0
mov qword [rsp + 0x20], rbx
call fcn.180011c30
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x260]
call fcn.18000ee90
test rax, rax
je 0x18000f6a3
mov rcx, qword [rbp + 8]
call fcn.18000eca0
mov rax, rbx
jmp 0x18000f6b5
mov rcx, qword [rbp + 8]
call fcn.18000eca0
mov rcx, rbx
call qword [0x180054ae0]
mov rcx, qword [rbp + 0x370]
xor rcx, rbp
call fcn.180010610
mov rbx, qword [rbp + 0x398]
lea rsp, [rbp + 0x380]
pop rbp
ret
Function at 0x18000f890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180027430]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp edx, 1
jne 0x18000f957
lea rdx, [rsp + 0x30]
call fcn.18000e730
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x26], 0x75732074
mov dword [rsp + 0x2c], 0x74726f
mov dword [rsp + 0x21], 0x6174736e
mov word [rsp + 0x2a], 0x7070
mov byte [rsp + 0x20], 0x69
mov byte [rsp + 0x25], 0x6e
call fcn.18000ee90
test rax, rax
jne 0x18000f98b
lea rdx, [sym.gphelper.dll_HookSetWindowPos]
lea rcx, [0x180054a70]
call fcn.180010280
test eax, eax
je 0x18000f98b
lea rdx, [sym.gphelper.dll_HookSetForegroundWindow]
lea rcx, [0x180054a40]
call fcn.180010280
test eax, eax
je 0x18000f98b
lea rdx, [sym.gphelper.dll_HookSetActiveWindow]
lea rcx, [0x180054ae0]
call fcn.180010280
test eax, eax
je 0x18000f98b
lea rdx, [sym.gphelper.dll_HookBringWindowToTop]
lea rcx, [0x180054ab0]
call fcn.180010280
jmp 0x18000f98b
test edx, edx
jne 0x18000f98b
lea rcx, [0x180054a70]
call fcn.180010500
lea rcx, [0x180054a40]
call fcn.180010500
lea rcx, [0x180054ae0]
call fcn.180010500
lea rcx, [0x180054ab0]
call fcn.180010500
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180010610
add rsp, 0x158
ret

Function at 0x18000f9b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x180027430]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, r9
mov rbp, r8
mov esi, edx
xor ebx, ebx
call fcn.18000ed40
mov rdi, rax
test rax, rax
je 0x18000ee1e
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x23], 0x78654e6c
mov word [rsp + 0x29], 0x6f6f
mov word [rsp + 0x21], 0x6c61
mov word [rsp + 0x2c], 0x7845
mov word [rsp + 0x27], 0x4874
mov byte [rsp + 0x2e], bl
mov byte [rsp + 0x20], 0x43
mov byte [rsp + 0x2b], 0x6b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ee15
mov r9, r14
mov r8, rbp
mov edx, esi
xor ecx, ecx
call rax
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180010610
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r9, r8
mov r8, rdx
mov edx, ecx
jmp 0x18000ed90
Function at 0x18000fac0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
xor edi, edi
cmp dword [0x180054a10], 0x40
mov esi, edi
jae 0x18000fc09
mov qword [rax + 8], rbx
lea rbx, [rcx + rdx]
mov qword [rax + 0x10], rbp
mov eax, 0x80000000
cmp rbx, rax
jae 0x18000fafb
lea ebx, [rdi + 1]
jmp 0x18000fb02
sub rbx, 0x7fff0000
lea rbp, [rcx + r8]
cmp rbp, 0xffffffff80000000
jae 0x18000fb18
add rbp, 0x7ff80000
jmp 0x18000fb1f
mov rbp, 0xfffffffffff80000
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], edi
lea r8d, [rdx + 0x2c]
call fcn.180010fb0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, rbp
jae 0x18000fbd7
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000fbb7
cmp dword [rsp + 0x40], 0x10000
jne 0x18000fba5
mov rax, qword [rsp + 0x38]
cmp rax, 0x78
jb 0x18000fbaa
mov edx, dword [rsp + 0x78]
mov ecx, edx
cmp rax, rdx
jb 0x18000fbaa
lea eax, [rdx - 1]
xor edx, edx
add rax, rbx
div rcx
imul rcx, rax
call fcn.18000e850
mov rsi, rax
test rax, rax
jne 0x18000fbbc
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
add rbx, rax
cmp rbx, rbp
jb 0x18000fb50
test rsi, rsi
je 0x18000fbd7
lea rcx, [0x180054b20]
mov rax, rcx
cmp qword [rax], 0
je 0x18000fbfb
inc edi
add rax, 8
cmp edi, 0x40
jb 0x18000fbc6
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rax, rsi
mov rsi, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
inc dword [0x180054a10]
mov eax, edi
mov qword [rcx + rax*8], rsi
jmp 0x18000fbd7
mov rax, rdi
mov rsi, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x18000fcb0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x500
mov rax, qword [0x180027430]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov ebp, r8d
mov rsi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18000fd88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
cmp eax, 0xffffffff
je 0x18000fdba
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x518], rdi
mov dword [rsp + 0x50], 0x100001
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x18000fd7d
mov rcx, qword [rsp + 0x118]
cmp rcx, rsi
jb 0x18000fd7d
lea rax, [rsi + rbp]
cmp rcx, rax
jae 0x18000fd7d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 3
jge 0x18000fdad
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc edi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x18000fd31
mov rax, rbx
mov rdi, qword [rsp + 0x518]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.180010610
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18000fd80
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18000fd88

Function at 0x18000fdd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call fcn.18000e7d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call fcn.18000e7d0
mov edx, reloc.SHLWAPI.dll_GetAcceptLanguagesW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edi, edi
cmp dword [0x180054a20], edi
jbe 0x18000fe49
mov qword [rsp + 0x30], rbx
nop dword [rax]
mov rcx, qword [0x180054a18]
lea rbx, [rdi*8]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [0x180054a18]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [0x180054a20]
jb case.default.0x18000fe7e
mov rbx, qword [rsp + 0x30]
mov rcx, qword [0x180054a18]
call fcn.180011c54
mov qword [0x180054a18], 0
mov dword [0x180054a20], 0
call fcn.18000e7d0
mov edx, esi
mov rcx, rax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]
Function at 0x14001b45c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b472
mov al, 1
jmp 0x14001b4d2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b483
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b4d0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400195b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b4d0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b4d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b4d0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b4d2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f6f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f718
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f718
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
enter 0x80, 0
sub rsp, 0x60
mov dword [0x1400031c3], 1
mov qword [0x1400031cb], 0
mov dword [0x1400031d3], 0
mov dword [0x1400031d7], 0
lea rcx, [0x1400031db]
lea rdx, [0x1400031c3]
mov r8, 0
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov rcx, 0
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov qword [0x14000305c], rax
mov rcx, qword [0x14000305c]
mov rdx, 0xa
mov r8, 1
mov r9, 0xab
mov qword [rsp + 0x20], 0x58
mov qword [rsp + 0x28], 2
call qword [sym.imp.user32.dll_LoadImageA]
mov qword [0x140003064], rax
mov rcx, 0x14
call fcn.1400012f0
mov qword [0x14000306c], rax
mov rcx, qword [0x14000305c]
mov rdx, 0x64
mov r8, 0
lea r9, [0x1400010f8]
mov rax, qword [0x140003064]
mov qword [rsp + 0x20], rax
call qword [sym.imp.user32.dll_DialogBoxParamA]
mov rcx, qword [0x1400031db]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rcx, 0
call qword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x1400013f0
Capabilities:
Write file on windows

Disassembly:
enter 0x80, 0
sub rsp, 0x90
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x88], r14
mov qword [rbp - 0x90], r15
mov r13, rcx
mov r14, rdx
mov r15, r8
mov rcx, r13
movabs rdx, 0xc0000000
mov r8, 0
mov r9, 0
mov qword [rsp + 0x20], 2
mov qword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call qword [sym.imp.kernel32.dll_CreateFileA]
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp - 0x70]
mov rdx, r14
mov r8, r15
lea r9, [0x1400034f0]
mov qword [rsp + 0x20], 0
call qword [sym.imp.kernel32.dll_WriteFile]
mov rax, qword [0x1400034f0]
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rax, qword [rbp - 0x78]
mov r13, qword [rbp - 0x80]
mov r14, qword [rbp - 0x88]
mov r15, qword [rbp - 0x90]
leave
ret
Function at 0x140002050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002149
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002151
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000218a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002160
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021b5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021db
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021c0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000a3d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a415
xor al, al
jmp 0x14000a462
cmp word [rbx], 0
je 0x14000a42d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a420
cmp word [rsp + 0x30], 0
je 0x14000a45b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a483
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a440
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b5d0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fc10
int3
Function at 0x14000ac60
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001fc10
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002edb0]
lea rsi, [0x140033df0]
mov rdi, rcx
test r11d, r11d
jne 0x14000acd9
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a490
test al, al
je 0x14000adb9
lea rcx, [rsp + 0x20]
call fcn.14001425c
movsxd r11, dword [0x14002edb0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002edb0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ad14
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ad04
add rax, 2
test ecx, ecx
jne 0x14000acf0
test edx, edx
je 0x14000ad37
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ace4
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ad20
cmp rax, 2
jne 0x14000ad3b
cmp word [rdi + 2], 0x3a
jne 0x14000ad3b
mov al, 1
jmp 0x14000ad98
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ad66
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ad8d
mov bl, 1
cmp dword [0x14002edb0], 0x400
jge 0x14000ad8d
mov rcx, rdi
call fcn.14001425c
movsxd rdx, dword [0x14002edb0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002edb0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b5d0
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000aab0
int3