joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46eba0
Capabilities:
Encrypt data using tea

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46edb0
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
cmp rsi, 4
jge 0x46ec12
movups xmmword [rsp + 0x28], xmm15
lea rdx, [rsp + 0x28]
cmp rdi, rdx
je 0x46ec08
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x38], rax
shl rsi, 2
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call fcn.0045b9e0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov esi, 4
lea rdi, [rsp + 0x28]
test rbx, rbx
jbe 0x46eda5
mov edx, dword [rax]
nop dword [rax]
test ebx, ebx
je 0x46eda0
mov r8, rax
mov eax, 0x34
mov r9d, edx
xor edx, edx
div ebx
lea r10d, [rbx - 1]
mov dword [rsp + 0x24], r10d
imul r11d, eax, 0x9e3779b9
add r11d, 0xb54cda56
jmp 0x46ec73
mov r12d, dword [r8]
mov r13d, dword [rdi + rax*4]
xor r13d, r15d
add r13d, r9d
xor r13d, r10d
sub r12d, r13d
mov dword [r8], r12d
add r11d, 0x61c88647
mov r10d, edx
mov r9d, r12d
test r11d, r11d
je 0x46ecca
mov eax, r11d
shr eax, 2
and eax, 3
mov edx, r10d
jmp 0x46ece9
cmp rbx, rdx
jbe 0x46ed73
mov r10d, dword [r8 + rdx*4]
mov r12d, r10d
shr r10d, 5
mov r13d, r9d
shl r9d, 2
xor r10d, r9d
mov r9d, r13d
shr r13d, 3
mov r15d, r12d
shl r12d, 4
xor r12d, r13d
add r10d, r12d
xor r9d, r11d
nop dword [rax + rax]
cmp rsi, rax
ja 0x46ec50
jmp 0x46ed6b
mov rax, r8
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov r9d, dword [r8 + r15*4]
sub r9d, edx
mov dword [r8 + r15*4], r9d
mov edx, dword [rsp + 0x24]
mov r10d, r12d
test r10d, r10d
jbe 0x46ec86
lea r12d, [r10 - 1]
cmp rbx, r12
jbe 0x46ed93
mov dword [rsp + 0x20], r9d
mov r13d, dword [r8 + r12*4]
mov dword [rsp + 0x1c], r13d
mov r15d, r13d
shr r13d, 5
shl r9d, 2
xor r13d, r9d
mov r9d, dword [rsp + 0x20]
shr r9d, 3
shl r15d, 4
xor r15d, r9d
lea r9d, [r15 + r13]
mov r13d, dword [rsp + 0x20]
xor r13d, r11d
mov r15d, r10d
and r10d, 3
xor r10d, eax
nop dword [rax]
cmp rsi, r10
jbe 0x46ed88
mov r10d, dword [rdi + r10*4]
mov edx, dword [rsp + 0x1c]
xor r10d, edx
lea edx, [r10 + r13]
xor edx, r9d
nop word [rax + rax]
cmp rbx, r15
ja 0x46ecd7
jmp 0x46ed7d
mov rcx, rsi
call fcn.0045b080
mov eax, edx
mov rcx, rbx
call fcn.0045b080
mov eax, r15d
mov rcx, rbx
call fcn.0045b080
mov eax, r10d
mov rcx, rsi
call fcn.0045b080
mov eax, r12d
mov rcx, rbx
call fcn.0045b080
nop
call fcn.0042ffa0
xor eax, eax
mov rcx, rax
call fcn.0045b080
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00458a40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.0046eba0
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
fistp dword [rdx + rdi*4]
out 0x7f, eax
in eax, 0x97
sahf
jrcxz 0x14002335f
out dx, al
invalid
dec dword [rsp + rax + 0x2f]
cli
cmpsb byte [rsi], byte [rdi]
sub al, 0x13
jno 0x1400232f4
cld
invalid
cmpsd dword [rsi], dword [rdi]
mov eax, 0xf268176d
lahf
invalid
Function at 0x1800027b8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
mov rsi, qword [rcx]
test rbx, rbx
je 0x18000282e
cmp qword [rbx], 0
je 0x180002821
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180002827
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180002827
mov rdx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rsi
mov rdx, rdi
call rax
jmp 0x180002837
cmp dword [rbx + 8], 0
jne 0x18000282e
mov eax, 1
jmp 0x180002837
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1800029e8
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.180002900
jmp 0x180002a5a
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1800029e8
mov ebx, eax
test eax, eax
jne 0x180002ac3
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180002a4b
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180002ab1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.1800027b8
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180002ad3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800a5100
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180002ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdi
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.1800a8f10
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18000308f
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18000308f
call fcn.1800024e4
mov ebx, eax
jmp 0x18000319a
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1800030b0
call fcn.1800024e4
jmp 0x180003189
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800030a6
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1800030eb
mov ebx, 0x8007000e
jmp 0x18000318b
mov ecx, eax
test eax, eax
je 0x18000311d
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1800031d2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18000311d
lea rcx, [rsp + 0x70]
call fcn.180005b20
jmp 0x180003127
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180003139
cmp qword [rsp + 0x70], rdi
je 0x1800030e1
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1800030a6
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180003db4
mov ebx, eax
test rsi, rsi
je 0x18000319a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1800031b1
lea rcx, [rsp + 0x70]
call fcn.180005948
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1800024b8
int3
Function at 0x18000cbe0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x4f8], rbx
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
xor sil, sil
lea rdx, [0x1800fa420]
lea rcx, [rsp + 0x48]
call fcn.180005e38
nop
call fcn.18007cba0
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.18007cc40
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180005de4
test rbx, rbx
jne 0x18000cc6a
mov ebx, 0x8000ffff
mov dword [rsp + 0x30], ebx
jmp 0x18000cc94
lea rdx, str.OleInitialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000cc8a
mov ebx, 0x80004001
mov dword [rsp + 0x30], ebx
jmp 0x18000cc94
xor ecx, ecx
call rax
mov ebx, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1800e27b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1800e2810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18000cdda
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000cdda
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1800e2800]
call qword [rax]
test eax, eax
js 0x18000cdcd
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x18000cdcd
mov rdi, qword [r14]
mov rcx, r15
call fcn.18000618c
mov rdx, rax
xor r8d, r8d
mov rcx, r14
call qword [rdi + 0x28]
test eax, eax
js 0x18000cdc2
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.1800a8f10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.1800a8f10
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rsp + 0x70]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp + 0x180]
call qword [rax + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18000608c
mov r8, rax
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.180005f18
lea rcx, [rbp + 0x180]
call fcn.18000608c
mov r8, rax
lea rdx, [rbp + 0x180]
mov rcx, r13
call fcn.180005f18
mov rcx, r12
call fcn.180005da8
test al, al
sete sil
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x18000cddd
xor sil, sil
cmp ebx, 1
ja 0x18000ce2f
lea rdx, [0x1800fa420]
lea rcx, [rsp + 0x48]
call fcn.180005e38
nop
call fcn.18007cba0
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.18007cc40
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180005de4
test rbx, rbx
je 0x18000ce2f
lea rdx, str.OleUninitialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ce2f
call rax
movzx eax, sil
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1800a5100
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000d740
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, r9
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x18000d79d
test rdx, rdx
je 0x18000d79d
test rbx, rbx
je 0x18000d79d
mov dword [r9], 0
test r8d, r8d
je 0x18000d799
call fcn.1800ade6c
mov r8d, edi
mov r9, rbp
mov edx, 1
mov rcx, rsi
call fcn.1800adda4
cmp eax, edi
jne 0x18000d79d
mov dword [rbx], eax
xor eax, eax
jmp 0x18000d7a2
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000dd00
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x410
call fcn.1800a8f10
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x18000dd73
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x18000dd8e
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000dd73
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x450
pop rbx
ret
lea rcx, [rsp + 0x30]
call fcn.1800abcb4
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180005f18
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000ddb8
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
jmp 0x18000dd75
Function at 0x18001d940
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18001db65
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
xor bpl, bpl
lea rcx, [r11 - 0x60]
call fcn.180009090
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x48]
call fcn.180009030
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x18001d9c9
cmp rdi, qword [rax]
je 0x18001d9b6
add rax, 0x18
cmp rax, rcx
jne 0x18001d9a6
jmp 0x18001d9c9
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.18001db70
movzx ebp, al
xor r14d, r14d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001d9e9
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001d9e4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x50]
call fcn.180009090
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.180009030
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x18001db29
cmp rdi, qword [rbx]
je 0x18001da25
add rbx, 0x18
cmp rbx, rax
jne 0x18001da12
jmp 0x18001db29
test bpl, bpl
je 0x18001daf8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1800b3d80
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001daf8
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
call fcn.180016e60
nop
lea rcx, [rsp + 0x68]
call fcn.180005da8
test al, al
jne 0x18001daee
lea rcx, [rsp + 0x68]
call fcn.18000618c
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18001daee
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 8
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.180005de4
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18001db15
mov rcx, qword [rax]
test rcx, rcx
je 0x18001db10
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov rcx, rdi
test bpl, bpl
je 0x18001db21
mov dl, 1
jmp 0x18001db23
xor edx, edx
call fcn.180016a70
nop
lea rcx, [rsp + 0x50]
call fcn.180009060
nop
lea rcx, [rsp + 0x48]
call fcn.180009060
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800a5100
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18001d949
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18001db65
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
xor bpl, bpl
lea rcx, [r11 - 0x60]
call fcn.180009090
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x48]
call fcn.180009030
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x18001d9c9
cmp rdi, qword [rax]
je 0x18001d9b6
add rax, 0x18
cmp rax, rcx
jne 0x18001d9a6
jmp 0x18001d9c9
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.18001db70
movzx ebp, al
xor r14d, r14d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001d9e9
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001d9e4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x50]
call fcn.180009090
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.180009030
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x18001db29
cmp rdi, qword [rbx]
je 0x18001da25
add rbx, 0x18
cmp rbx, rax
jne 0x18001da12
jmp 0x18001db29
test bpl, bpl
je 0x18001daf8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1800b3d80
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001daf8
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
call fcn.180016e60
nop
lea rcx, [rsp + 0x68]
call fcn.180005da8
test al, al
jne 0x18001daee
lea rcx, [rsp + 0x68]
call fcn.18000618c
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18001daee
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 8
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.180005de4
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18001db15
mov rcx, qword [rax]
test rcx, rcx
je 0x18001db10
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov rcx, rdi
test bpl, bpl
je 0x18001db21
mov dl, 1
jmp 0x18001db23
xor edx, edx
call fcn.180016a70
nop
lea rcx, [rsp + 0x50]
call fcn.180009060
nop
lea rcx, [rsp + 0x48]
call fcn.180009060
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800a5100
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18001eff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov r8, rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18001f18b
mov dword [rsp + 0x50], 0x2d2d4352
mov dword [rsp + 0x54], 0xf7babac9
mov dword [rsp + 0x58], 0x61726f43
mov dword [rsp + 0x5c], 0x776f7242
mov dword [rsp + 0x60], 0x2d756e45
mov dword [rsp + 0x64], 0x61746144
mov dword [rsp + 0x68], 0x37313630
mov dword [rsp + 0x6c], 0x30313032
movdqa xmm2, xmmword [0x1800fe680]
xor eax, eax
mov ecx, 1
movd xmm3, ecx
lea rcx, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x18001f090
mov rax, qword [rdx]
mov qword [rdx + 8], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
sub rax, rdx
test rdx, rdx
je 0x18001f143
lea r9, [rsp + 0x38]
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.180029990
mov rbx, qword [rsp + 0x38]
test al, al
je 0x18001f143
cmp rbx, qword [rsp + 0x40]
je 0x18001f143
mov rdx, rdi
mov ecx, 0xa
call fcn.1800291b0
mov ecx, dword [rsp + 0x40]
sub ecx, ebx
mov rdx, rdi
call fcn.1800291b0
mov r9, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.18001f4e0
nop
test rbx, rbx
je 0x18001f18b
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18001f171
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f1a9
mov rcx, rbx
call fcn.1800a5124
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800a5100
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
call fcn.1800abb5c
int3
Function at 0x18001f1b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov r10, rcx
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
cmp rax, rcx
je 0x18001f3b5
mov rdx, qword [rdx]
sub rcx, rax
cmp rdx, rcx
jae 0x18001f3b5
lea rax, [rdx + 5]
cmp rax, rcx
ja 0x18001f3b5
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18001f3b5
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r9d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r9d, 0x18
movzx ecx, byte [rcx + rax]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r9d, ecx
movzx ecx, byte [rax + rdx]
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov r11, qword [r10]
shl ecx, 8
or r9d, ecx
movzx eax, byte [r11 + r8]
or r9d, eax
cmp r9d, 0xa
jne 0x18001f3b5
mov rcx, qword [r10 + 8]
lea rax, [rdx + 5]
sub rcx, r11
cmp rax, rcx
ja 0x18001f3b5
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18001f3b5
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r11d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r11d, 0x18
movzx ecx, byte [rax + rcx]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r11d, ecx
movzx ecx, byte [rax + rdx]
shl ecx, 8
or r11d, ecx
lea rcx, [r8 + 1]
mov qword [rbx], rcx
mov rdx, qword [r10]
movzx eax, byte [rdx + r8]
or r11d, eax
mov rax, qword [r10 + 8]
sub rax, rcx
mov esi, r11d
sub rax, rdx
cmp rsi, rax
ja 0x18001f3b5
movdqa xmm2, xmmword [0x1800fe680]
mov ecx, 1
mov dword [rsp + 0x20], 0x2d2d4352
xor eax, eax
mov dword [rsp + 0x24], 0xf7babac9
mov dword [rsp + 0x28], 0x61726f43
movd xmm3, ecx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x2c], 0x776f7242
mov dword [rsp + 0x30], 0x2d756e45
mov dword [rsp + 0x34], 0x61746144
mov dword [rsp + 0x38], 0x37313630
mov dword [rsp + 0x3c], 0x30313032
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
movd xmm1, eax
add eax, 4
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp eax, 8
jl 0x18001f350
mov rax, qword [rdi]
mov qword [rdi + 8], rax
mov rcx, qword [rbx]
mov rax, qword [r10]
lea rdx, [rcx + rax]
test rdx, rdx
jne 0x18001f39a
xor al, al
add rcx, rsi
mov qword [rbx], rcx
jmp 0x18001f3b7
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, r11d
call fcn.180029e80
mov rcx, qword [rbx]
add rcx, rsi
mov qword [rbx], rcx
jmp 0x18001f3b7
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret