joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800876b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x18024f880]
mov r10d, 8
mov qword [rsp + 0x30], rcx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x180158ae0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800876e8
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.18008d4ec
add rsp, 0x28
ret

Function at 0x180087728
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x18024f880]
mov r10d, 4
mov dword [rsp + 0x30], ecx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x180158ae0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18008775f
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.18008d4ec
add rsp, 0x28
ret

Function at 0x18008c59c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x18024f880]
cmp byte [rbx + 0x3048], 0
je 0x18008c65c
cmp qword [rbx + 0x3050], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3058]
je 0x18008c64e
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x18008c607
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18008de60
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.18007e19c
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3050]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x18024f874]
movsxd r8, eax
mov rax, qword [rbx + 0x3060]
test rax, rax
cmovne rcx, rax
call fcn.1801232a8
jmp 0x18008c65c
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.18007e19c
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x18008cc70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x18024f880]
mov rbx, rcx
and dword [rax + 0x3014], 0
test rcx, rcx
je 0x18008ccd7
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18008cce4
lea rdx, [0x180158928]
mov rcx, rbx
mov rdi, rax
call fcn.18007d71c
mov rbx, rax
test rax, rax
je 0x18008ccd7
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.1801232a8
mov rcx, rbx
call fcn.180123cb8
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1801102f0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp byte [0x180252d35], 0
je 0x180110319
xor al, al
jmp 0x180110523
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x18024fa00], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x18024f9e0], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x18024f9e8], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x180110367
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x18024f9f0], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x18024f9f8], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x18024f9d8], rax
mov edx, 3
mov rcx, qword [0x18024f9f0]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edx, 0xe1
mov rcx, qword [0x18024f9d8]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
movabs rax, 0x4f9fbb369d4c4c1a
mov qword [rsp + 0x20], rax
movabs rax, 0xeffd5df3b1a062d4
mov qword [rsp + 0x28], rax
movabs rax, 0x80cd1a35e3b10bb0
mov qword [rsp + 0x30], rax
movabs rax, 0x4ebab7dede025825
mov qword [rsp + 0x38], rax
movabs rax, 0x27ad2cf26d6d21e6
mov qword [rsp + 0x40], rax
movabs rax, 0x81d0431d102034e3
mov qword [rsp + 0x48], rax
movabs rax, 0xe633f83b52b8847b
mov qword [rsp + 0x50], rax
movabs rax, 0x415cff245eec1cb4
mov qword [rsp + 0x58], rax
movabs rax, 0x20f6c953ed393f41
mov qword [rsp + 0x60], rax
movabs rax, 0x9aaf7daec8d40ba6
mov qword [rsp + 0x68], rax
movabs rax, 0xa0ed3a15c3917fc3
mov qword [rsp + 0x70], rax
movabs rax, 0x6ece90b0b1667808
mov qword [rsp + 0x78], rax
movabs rax, 0x4fd90c971e024d85
mov qword [rsp + 0x80], rax
movabs rax, 0xeea32d727300478a
mov qword [rsp + 0x88], rax
movabs rax, 0xc65e97493498e117
mov qword [rsp + 0x90], rax
movabs rax, 0x415cff245eec1cec
mov qword [rsp + 0x98], rax
movdqa xmm0, xmmword [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rsp + 0x30]
pxor xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov byte [0x180252d35], 1
mov al, 1
jmp 0x180110523
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1801170e0
add rsp, 0xb8
ret
Function at 0x1801119a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180111bc0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180111aa7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180111a04
mov rax, qword [0x18021e008]
cmp qword [rsp + 0x20], rax
ja 0x180111a04
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801119c6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18011a120
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180111a33
jmp 0x180111aa7
cmp dword [rsp + 0x50], 0x10000
jne 0x180111a8a
cmp qword [rsp + 0x48], 0x10000
jb 0x180111a8a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180111a78
mov rax, qword [rsp + 0x28]
jmp 0x180111aa9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180111aa2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180111bc0
mov qword [rsp + 0x20], rax
jmp 0x1801119c6
xor eax, eax
add rsp, 0x68
ret

Function at 0x180111ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180111c00
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180111bb3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180111b0b
mov rax, qword [0x18021e008]
cmp qword [rsp + 0x20], rax
ja 0x180111b0b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180111acd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18011a120
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180111b3a
jmp 0x180111bb3
cmp dword [rsp + 0x50], 0x10000
jne 0x180111b91
cmp qword [rsp + 0x48], 0x10000
jb 0x180111b91
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180111b7f
mov rax, qword [rsp + 0x28]
jmp 0x180111bb5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180111bae
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180111c00
mov qword [rsp + 0x20], rax
jmp 0x180111acd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180111c50
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1801121e0
mov qword [rsp + 0x28], 0
cmp qword [0x18024dfb8], 0
jne 0x180111c98
cmp qword [0x18024dfb0], 0
je 0x180111c98
mov rax, qword [0x18024dfb0]
mov qword [0x18024dfb8], rax
cmp qword [0x18024dfb8], 0
je 0x180111d3e
mov rax, qword [0x18024dfb8]
cmp qword [rax + 0x10], 0
je 0x180111d3e
mov rax, qword [0x18024dfb8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180111d3e
mov rax, qword [0x18024dfb8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180111d3e
mov rax, qword [0x18024dfb8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180111d04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180111d0b
xor eax, eax
jmp 0x180111eb9
mov rax, qword [0x18024dfb8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.18011a120
mov rax, qword [rsp + 0x28]
jmp 0x180111eb9
mov rax, qword [0x18024dfb0]
mov qword [0x18024dfb8], rax
jmp 0x180111d60
mov rax, qword [0x18024dfb8]
mov rax, qword [rax + 8]
mov qword [0x18024dfb8], rax
cmp qword [0x18024dfb8], 0
je 0x180111dad
cmp qword [0x18024dfb8], 0
je 0x180111dab
mov rax, qword [0x18024dfb8]
cmp qword [rax + 0x10], 0
je 0x180111dab
mov rax, qword [0x18024dfb8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180111dab
mov rax, qword [0x18024dfb8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180111dab
jmp 0x180111cdc
jmp 0x180111d4e
mov rcx, qword [rsp + 0x60]
call fcn.180114060
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180111ec0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180111eb7
mov rax, qword [rsp + 0x48]
mov qword [0x18024dfb8], rax
mov rax, qword [0x18024dfb8]
mov dword [rax], 0x52727464
mov rax, qword [0x18024dfb8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18024dfb8]
mov rcx, qword [0x18024dfb0]
mov qword [rax + 8], rcx
mov rax, qword [0x18024dfb8]
mov qword [0x18024dfb0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18024dfb8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180111e68
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180111ea2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180111e5e
mov rax, qword [0x18024dfb8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180111cdc
xor eax, eax
add rsp, 0x58
ret
Function at 0x180133808
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180133828
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180122410
or eax, 0xffffffff
jmp 0x18013382a
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000c7d7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002e700]
jne 0x14000706a
rol rcx, 0x10
test cx, 0xffff
jne 0x140007066
repz ret
ror rcx, 0x10
jmp 0x14000c730
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002fee0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002ffd8]
mov qword [rsp + 0x58], rax
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 0x14000c7b5
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, [0x14002fee0]
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 0x14000c7d7
mov rax, qword [rsp + 0x88]
mov qword [0x14002ffd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002ff78], rax
mov rax, qword [0x14002ffd8]
mov qword [0x14002fe50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002ff60], rax
mov dword [0x14002fe40], 0xc0000409
mov dword [0x14002fe44], 1
mov rax, qword [0x14002e700]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002e708]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002fed8], eax
mov ecx, 1
call fcn.140016d30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400253d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002fed8], 0
jne 0x14000c85e
mov ecx, 1
call fcn.140016d30
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 0x14000d95c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000d7cc
Function at 0x14001ef10
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14002e700]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000fe1c
xor ebx, ebx
cmp qword [0x140030fd8], rbx
mov rdi, rax
jne 0x14001f023
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001f0fa
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001f0fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140030fd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140030fe0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140030fe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140030ff8], rax
test rax, rax
je 0x14001f01a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140030ff0], rax
jmp 0x14001f02a
mov rax, qword [0x140030ff0]
jmp 0x14001f031
mov rax, qword [0x140030ff0]
mov r11, qword [0x140030ff8]
cmp rax, rdi
je 0x14001f098
cmp r11, rdi
je 0x14001f098
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140030ff8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001f098
test rax, rax
je 0x14001f098
call rsi
test rax, rax
je 0x14001f092
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001f092
test byte [rsp + 0x40], 1
jne 0x14001f098
bts ebp, 0x15
jmp 0x14001f0d8
mov rcx, qword [0x140030fe0]
cmp rcx, rdi
je 0x14001f0d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001f0d8
call rax
mov rbx, rax
test rax, rax
je 0x14001f0d8
mov rcx, qword [0x140030fe8]
cmp rcx, rdi
je 0x14001f0d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001f0d8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140030fd8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001f0fa
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14001f0fc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140007050
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000b510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000b55c
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000b5aa
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000b5a5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b5c9
mov rcx, r8
call fcn.140030010
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 0xf
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.140036a68
int3

Function at 0x14000b5d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov rax, qword [rbx + 0x10]
jb 0x14000b622
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r8d, [rax + rax]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000b675
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000b670
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b694
mov rcx, r8
call fcn.140030010
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.140036a68
int3
Function at 0x14000d5e0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140077048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0xe0]
xor ebx, ebx
cmp qword [rcx + 0x18], 8
jb 0x14000d62a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000d65e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbp
call fcn.140002310
jmp 0x14000d7cd
mov ebp, 1
mov ecx, 0x208
call fcn.1400302d0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rbx, 0xffffffffffffffff
mov r15d, 0x104
nop dword [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000d6ad
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000d6ba
mov r8, qword [rdi]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14000d6c9
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000d6d7
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14000d758
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000d6ff
mov r8, qword [rdi]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000d724
add rax, 2
test ecx, ecx
jne 0x14000d710
test edx, edx
je 0x14000d758
mov rcx, rsi
call fcn.140030010
inc ebp
imul r15d, ebp, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1400302d0
mov rsi, rax
jmp 0x14000d6a0
mov rbp, qword [rsp + 0x38]
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14000d760
mov rax, qword [rsp + 0x60]
cmp rbx, rax
ja 0x14000d7a3
lea rdi, [rsp + 0x48]
cmp rax, 8
cmovae rdi, qword [rsp + 0x48]
mov qword [rsp + 0x58], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140032610
xor r14d, r14d
mov word [rbx + rdi], r14w
jmp 0x14000d7b3
mov r9, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140002960
mov rcx, rsi
call fcn.140030010
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002fff0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000e250
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
add rcx, 0x70
call fcn.14002c740
test eax, eax
setne dl
mov byte [rbx + 0xf8], dl
test eax, eax
je 0x14000e297
cmp qword [rbx + 0xb8], 0x10000
jae 0x14000e297
lea rcx, [rbx + 0x70]
call fcn.14002cb40
mov eax, dword [rbx + 0x2d0]
cmp byte [rbx + 0xf8], bpl
je 0x14000e3a2
cmp eax, 1
je 0x14000e37f
mov dword [rbx + 0x2d0], 1
call fcn.14000c920
test al, al
je 0x14000e3fe
lea rcx, [rbx + 0x10]
call fcn.140026410
test al, al
je 0x14000e3fe
lea rcx, [rbx + 0x10]
call fcn.140026600
mov rcx, rbx
call fcn.14000fa80
add rbx, 0x4d0
cmp byte [rbx + 8], bpl
jne 0x14000e3e9
cmp qword [rbx + 0x18], rbp
je 0x14000e3e9
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140030044
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140011f20]
xor edx, edx
xor ecx, ecx
call fcn.14003b0a8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000e419
cmp dword [rsp + 0x38], 0
je 0x14000e406
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14002f5bc
test eax, eax
jne 0x14000e411
jmp 0x14000e3e9
mov eax, dword [0x14007a380]
inc eax
mov dword [0x14007a380], eax
cmp eax, 5
jle 0x14000e3e9
mov dword [0x14007a380], ebp
mov rcx, rbx
call fcn.14000df90
jmp 0x14000e3e9
test eax, eax
je 0x14000e3e9
mov dword [rbx + 0x2d0], ebp
mov rcx, rbx
call fcn.14000fa80
mov byte [rbx + 0x4d8], bpl
mov edi, 0x1388
cmp byte [rbx + 0x4d9], bpl
je 0x14000e3e9
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14000e3e9
cmp byte [rbx + 0x4d9], bpl
jne 0x14000e3d0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.14003ac1c
nop
mov ecx, 1
call fcn.14002f520
int3
mov ecx, eax
call fcn.14002f4e4
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14002f520
int3