joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001484
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x260
mov r12d, r8d
mov ebx, r8d
lea r9, [rsp + 0x48]
mov rsi, rcx
and r12d, 0x300
mov rdi, rdx
mov r8d, r12d
or r8d, 9
call fcn.140008a17
test eax, eax
jne 0x140001572
test bl, 2
mov rcx, qword [rsp + 0x48]
lea rbp, [rsp + 0x56]
je 0x140001503
xor edx, edx
xor eax, eax
lea r9, [rsp + 0x44]
mov r8, rbp
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov dword [rsp + 0x44], eax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x140001543
mov r14d, ebx
mov r13, qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
and r14d, 1
jmp 0x140001522
mov r8d, ebx
mov rdx, rbp
call fcn.140001484
test eax, eax
jne 0x140001555
xor edx, edx
mov rcx, qword [rsp + 0x48]
mov r9d, 0x105
mov r8, rbp
call r13
test eax, eax
jne 0x140001555
mov rcx, qword [rsp + 0x48]
test r14d, r14d
je 0x140001513
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x140001572
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov r8d, r12d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
add rsp, 0x260
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x140003cfe
Capabilities:
Read file on windows

Disassembly:
mov r8d, edx
mov rdx, rcx
mov rcx, qword [0x14000c028]
jmp fcn.1400088a1

Function at 0x140003ee2
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, r8
mov ebp, r9d
test ecx, ecx
js 0x140003f1c
movsxd rcx, ecx
add rcx, qword [0x14001d1b4]
xor r9d, r9d
xor r8d, r8d
mov dword [0x140031298], ecx
mov edx, ecx
mov rcx, qword [0x14000c020]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 4
call fcn.140003d26
mov ebx, eax
test eax, eax
js 0x140004014
mov rcx, qword [0x14000c020]
lea rdx, [rsp + 0x3c]
mov r8d, 4
call fcn.1400088a1
test eax, eax
jne 0x140003f55
mov ebx, 0xfffffffd
jmp 0x140004014
mov ecx, dword [rsp + 0x3c]
add dword [0x140031298], 4
call fcn.140003d26
mov ebx, eax
test eax, eax
js 0x140004014
mov r8d, dword [rsp + 0x3c]
test rsi, rsi
jne 0x140003fd8
lea rsi, [0x14002d1e0]
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
jle 0x140004014
mov eax, 0x4000
mov rcx, qword [0x14000c020]
mov rdx, rsi
cmp r8d, eax
cmovg r8d, eax
mov dword [rsp + 0x38], r8d
call fcn.1400088a1
test eax, eax
je 0x140003f4b
mov r8d, dword [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.1400088ce
test eax, eax
je 0x14000400f
mov eax, dword [rsp + 0x38]
sub dword [rsp + 0x3c], eax
add dword [0x140031298], eax
add ebx, eax
jmp 0x140003f80
xor eax, eax
cmp r8d, ebp
mov rcx, qword [0x14000c020]
mov rdx, rsi
cmovg r8d, ebp
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140003f4b
mov ebx, dword [rsp + 0x38]
add dword [0x140031298], ebx
jmp 0x140004014
mov ebx, 0xfffffffe
mov eax, ebx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140004370
Capabilities:
Get common file path

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x140010d30]
mov rsi, qword [rax]
lea rbx, [rsi + 0x32000]
mov rcx, rbx
call fcn.140008d1d
mov rcx, rbx
call fcn.140008628
test eax, eax
je 0x1400043c0
mov rcx, rbx
call fcn.140008c1e
mov rcx, rbx
call fcn.14000848b
lea rcx, [rsi + 0x30000]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14000882c
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400043c9
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x140010c80]
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1400043eb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
mov rbx, qword [0x140010c30]
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x140004408
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
call fcn.140004ab5
mov rax, qword [0x140010d30]
mov edx, 7
mov rcx, qword [rax]
add rcx, 0x34000
add rsp, 0x20
pop rbx
jmp fcn.14000927e
Function at 0x14000765f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call fcn.1400073a2
mov rdx, rbx
lea r8d, [rax*4]
mov ecx, eax
movsxd rax, r8d
mov r9d, r8d
sub r9d, eax
cmp r9d, eax
jge 0x1400076d9
mov r9d, dword [rdx]
mov r10d, dword [rbx + rax*4]
add rdx, 0x10
mov dword [rdx - 0x10], r10d
mov r10d, dword [rbx + rax*4 + 4]
mov dword [rbx + rax*4], r9d
mov r9d, dword [rdx - 0xc]
mov dword [rdx - 0xc], r10d
mov r10d, dword [rbx + rax*4 + 8]
mov dword [rbx + rax*4 + 4], r9d
mov r9d, dword [rdx - 8]
mov dword [rdx - 8], r10d
mov r10d, dword [rbx + rax*4 + 0xc]
mov dword [rbx + rax*4 + 8], r9d
mov r9d, dword [rdx - 4]
mov dword [rdx - 4], r10d
mov dword [rbx + rax*4 + 0xc], r9d
sub rax, 4
jmp 0x14000767f
mov esi, 1
lea r8, [0x14000f760]
lea rax, [0x140010360]
lea r9, [0x14000eb60]
lea r10, [0x14000f360]
lea r11, [0x14000ef60]
cmp esi, ecx
jge 0x140007803
mov edx, dword [rbx + 0x10]
add rbx, 0x10
inc esi
mov edi, edx
movzx ebp, dl
shr edi, 0x18
movzx ebp, byte [rax + rbp*4]
movzx edi, byte [rax + rdi*4]
mov edi, dword [r8 + rdi*4]
xor edi, dword [r9 + rbp*4]
mov ebp, edx
movzx edx, dh
shr ebp, 0x10
mov edx, edx
movzx ebp, bpl
movzx edx, byte [rax + rdx*4]
movzx ebp, byte [rax + rbp*4]
xor edi, dword [r10 + rbp*4]
xor edi, dword [r11 + rdx*4]
mov edx, dword [rbx + 4]
mov dword [rbx], edi
mov edi, edx
movzx ebp, dl
shr edi, 0x18
movzx ebp, byte [rax + rbp*4]
movzx edi, byte [rax + rdi*4]
mov edi, dword [r8 + rdi*4]
xor edi, dword [r9 + rbp*4]
mov ebp, edx
movzx edx, dh
shr ebp, 0x10
mov edx, edx
movzx ebp, bpl
movzx edx, byte [rax + rdx*4]
movzx ebp, byte [rax + rbp*4]
xor edi, dword [r10 + rbp*4]
xor edi, dword [r11 + rdx*4]
mov edx, dword [rbx + 8]
mov dword [rbx + 4], edi
mov edi, edx
movzx ebp, dl
shr edi, 0x18
movzx ebp, byte [rax + rbp*4]
movzx edi, byte [rax + rdi*4]
mov edi, dword [r8 + rdi*4]
xor edi, dword [r9 + rbp*4]
mov ebp, edx
movzx edx, dh
shr ebp, 0x10
mov edx, edx
movzx ebp, bpl
movzx edx, byte [rax + rdx*4]
movzx ebp, byte [rax + rbp*4]
xor edi, dword [r10 + rbp*4]
xor edi, dword [r11 + rdx*4]
mov edx, dword [rbx + 0xc]
mov dword [rbx + 8], edi
mov edi, edx
movzx ebp, dl
shr edi, 0x18
movzx edi, byte [rax + rdi*4]
movzx ebp, byte [rax + rbp*4]
mov edi, dword [r8 + rdi*4]
xor edi, dword [r9 + rbp*4]
mov ebp, edx
movzx edx, dh
shr ebp, 0x10
mov edx, edx
movzx ebp, bpl
movzx edx, byte [rax + rdx*4]
movzx ebp, byte [rax + rbp*4]
xor edi, dword [r10 + rbp*4]
xor edi, dword [r11 + rdx*4]
mov dword [rbx + 0xc], edi
jmp 0x140007701
mov eax, ecx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140008426
Capabilities:
Create directory

Disassembly:
sub rsp, 0x68
lea rax, [0x14000e9f0]
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
sub rax, 0x10
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x38], 0x40001
mov dword [rsp + 0x20], 0x18
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], r8d
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, eax
xor eax, eax
test edx, edx
jne 0x140008486
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x68
ret

Function at 0x14000848b
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400084a6
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400084ad
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x78
xor r9d, r9d
xor r8d, r8d
mov dword [0x14004eea0], 0x68
lea rax, [rsp + 0x58]
mov rdx, rcx
xor ecx, ecx
mov dword [rsp + 0x28], 0x4000000
mov qword [rsp + 0x48], rax
lea rax, [0x14004eea0]
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x20], ecx
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, eax
xor eax, eax
test edx, edx
je 0x140008514
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
add rsp, 0x78
ret

Function at 0x140008519
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
mov dword [rcx], 0x70
mov qword [rcx + 0x40], rax
jmp qword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x14000875a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov qword [rsp + 0x30], rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140008781
mov edx, eax
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140008789
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edi, edx
call fcn.14000875a
mov esi, eax
cmp eax, 0xffffffff
je 0x1400087d6
mov rcx, rbx
test dil, 1
je 0x1400087ce
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400087c7
and dil, 4
jne 0x1400087d6
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400087d6
mov eax, 1
jmp 0x1400087d8
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400087b0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400087e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x40
mov dword [rsp + 0x58], edx
mov edi, r8d
mov qword [rsp + 0x50], rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
cmp eax, 0xffffffff
jne 0x140008807
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov qword [rsp + 0x30], r8
mov r8d, 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
add rsp, 0x40
pop rdi
ret

Function at 0x14000882c
Capabilities:
Get common file path

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12, qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, 0x64
movabs rbp, 0x610073006e
mov rbx, rcx
mov rdi, rdx
mov qword [rsp + 0x28], rbp
call r13
mov ecx, 0x1a
xor edx, edx
xor r8d, r8d
div ecx
mov r9, rbx
mov rcx, rdi
add word [rsp + 0x2c], dx
lea rdx, [rsp + 0x28]
call r12
test eax, eax
jne 0x140008891
dec esi
jne 0x14000885b
mov word [rbx], 0
xor ebx, ebx
mov rax, rbx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x1400088a1
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov qword [rsp + 0x20], rax
mov ebx, r8d
lea r9, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400088c8
xor eax, eax
cmp dword [rsp + 0x3c], ebx
sete al
add rsp, 0x40
pop rbx
ret

Function at 0x1400088ce
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov qword [rsp + 0x20], rax
mov ebx, r8d
lea r9, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400088f5
xor eax, eax
cmp dword [rsp + 0x3c], ebx
sete al
add rsp, 0x40
pop rbx
ret

Function at 0x140008999
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rax, qword [0x140010c90]
inc dword [rax + 0x10]
add rsp, 0x28
ret

Function at 0x140008aaf
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rsi, r8
xor r8d, r8d
mov rbx, r9
cmp dword [rsp + 0x80], 0
setne r8b
lea r9, [rsp + 0x38]
mov dword [rsp + 0x30], 0x2000
shl r8d, 9
or r8d, 0x20019
call fcn.140008a17
test eax, eax
je 0x140008af2
mov word [rbx], 0
jmp 0x140008b3c
lea rax, [rsp + 0x30]
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [rbx + 0x1ffe], 0
test esi, esi
jne 0x140008aeb
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140008aeb
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x140008df2
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
test ecx, ecx
je 0x140008e1e
mov rcx, qword [0x14000c040]
cmp rcx, 0xffffffffffffffff
je 0x140008e0e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14000c040], 0xffffffffffffffff
jmp 0x140008eba
cmp dword [0x140046420], 0
je 0x140008eba
cmp word [0x14004a440], 0
mov rax, qword [0x14000c040]
je 0x140008eb0
inc rax
je 0x140008e78
lea rbx, [0x140045420]
lea rdx, [0x14000e3f6]
mov rcx, rbx
call sub.KERNEL32.dll_lstrcatW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [0x14000c040]
mov rdx, rbx
lea r8d, [rax + rax]
add rsp, 0x20
pop rbx
jmp fcn.1400088ce
lea rcx, [0x14004a440]
mov r8d, 4
mov edx, 0x40000000
call fcn.1400087e0
mov qword [0x14000c040], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x140008eba
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp qword [0x14000c040], 0xffffffffffffffff
jne 0x140008e41
add rsp, 0x20
pop rbx
ret

Function at 0x1400091dc
Capabilities:
Get file attributes

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rsi, [0x14004aea0]
mov rdx, rcx
mov rcx, rsi
call fcn.140008c03
mov rcx, rsi
call fcn.140008652
mov rbx, rax
test rax, rax
jne 0x140009209
xor eax, eax
jmp 0x140009276
mov rcx, rax
call fcn.140008d1d
mov rax, qword [0x140010cb0]
test byte [rax], 0x80
je 0x14000922b
mov ax, word [rbx]
test ax, ax
je 0x140009205
cmp ax, 0x5c
je 0x140009205
sub rbx, rsi
mov rdi, qword [sym.imp.KERNEL32.dll_lstrlenW]
sar rbx, 1
mov rcx, rsi
call rdi
mov rcx, rsi
cdqe
cmp rax, rbx
jle 0x140009260
call fcn.1400091ad
test rax, rax
je 0x140009256
test byte [rax], 0x10
je 0x140009205
mov rcx, rsi
call fcn.1400085eb
jmp 0x140009238
call fcn.140008c1e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
setne al
movzx eax, al
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x14000951d
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov edx, 0x104
lea rbx, [rsp + 0x24]
mov qword [rsp + 0x270], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r9, qword [rsp + 0x270]
lea edx, [rax - 1]
cmp edx, 0x103
ja 0x140009561
cmp word [rsp + rdx*2 + 0x24], 0x5c
sete dl
movzx edx, dl
jmp 0x140009568
xor eax, eax
mov edx, 1
mov eax, eax
add rdx, rdx
add rax, rax
lea rcx, [rbx + rax]
lea rax, [0x14000e3e0]
lea r8, [rax + rdx]
lea rdx, str._s_S.dll
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add rsp, 0x260
pop rbx
ret
Function at 0x180001530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r11, rdx
mov r9, rcx
mov r10d, dword [rax + rcx + 0x88]
add r10, rcx
mov ebx, dword [r10 + 0x18]
test ebx, ebx
je 0x1800015ab
mov esi, dword [r10 + 0x24]
mov r14d, dword [r10 + 0x20]
movzx ebp, byte [rdx]
lea rax, [rsi + r8*2]
movzx edi, word [rax + r9]
lea rax, [r14 + r8*4]
mov edx, dword [rax + r9]
add rdx, r9
movzx ecx, byte [rdx]
cmp cl, bpl
jne 0x1800015a3
mov rax, r11
sub rdx, r11
test cl, cl
je 0x1800015c4
movzx ecx, byte [rdx + rax + 1]
inc rax
cmp cl, byte [rax]
je 0x180001593
inc r8d
cmp r8d, ebx
jb 0x180001571
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdi*4]
add rax, r9
jmp 0x1800015ad

Function at 0x1800015e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rdi, rcx
mov rdx, qword [rax + 0x60]
mov rsi, qword [rdx + 0x18]
add rsi, 0x20
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x180001680
movabs rbp, 0x6c00640074006e
nop
cmp rdi, 1
jbe 0x180001661
mov rax, qword [0x180094060]
test rax, rax
jne 0x180001650
lea ecx, [rax + 1]
call fcn.1800015e0
mov rcx, rax
lea rdx, str._wcsicmp
call fcn.180001530
mov qword [0x180094060], rax
mov rdx, qword [rbx + 0x50]
mov rcx, rdi
call rax
test eax, eax
je 0x180001697
cmp rdi, 1
jne 0x180001673
cmp word [rbx + 0x48], 0x12
jne 0x180001678
mov rax, qword [rbx + 0x50]
cmp qword [rax], rbp
jmp 0x180001676
test rdi, rdi
je 0x180001697
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x180001620
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x180001682

Function at 0x1800018d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
lea rdx, [rcx + 0x20]
cmp rdx, 0x400000
jbe 0x180001997
lea rax, [rcx + 0x28]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180001997
mov rax, qword [rdx]
lea r10, [rax + 0x20]
cmp r10, 0x400000
jbe 0x180001997
add rax, 0x28
cmp rax, rcx
jae 0x180001997
mov r10, qword [r10]
lea rax, [r10 + 0x10]
cmp rax, 0x400000
jbe 0x180001997
add r10, 0x14
cmp r10, rcx
jae 0x180001997
mov r9d, dword [rax]
test r9d, r9d
je 0x180001997
test r10, r10
je 0x180001997
mov r11d, 0xffff
movzx r8d, r11w
add r9w, r9w
je 0x18000198e
mov qword [rsp], rbx
lea rbx, [0x1800839c0]
nop dword [rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
movzx edx, r8w
movzx ecx, r8w
shr rdx, 8
xor rdx, rax
shl cx, 8
movzx r8d, word [rbx + rdx*2]
xor r8w, cx
add r9w, r11w
jne 0x180001960
mov rbx, qword [rsp]
movzx eax, r8w
add rsp, 8
ret
xor eax, eax
add rsp, 8
ret
Function at 0x180021ce0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x180021d7a
cmp edx, 1
jne 0x180021da5
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rdi, [0x180093be0]
mov r8d, 0x200
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x180021d25
test rax, rax
je 0x180021d46
cmp byte [rax + rdi], 0x5c
je 0x180021d41
sub rax, 1
jne 0x180021d33
jmp 0x180021d46
mov byte [rax + rdi + 1], 0
xor eax, eax
lea r8, [0x180021a60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180003520
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rbx
ret
call fcn.18005b550
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.18005ba80
lea rdx, [0x180021630]
lea rcx, [0x180093b88]
call fcn.18005b1b0
call fcn.18005b5d0
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1800235b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
call fcn.180030570
movss xmm0, dword [rsi]
lea rdx, [rsp + 0x20]
movss xmm1, dword [rsi + 4]
lea rcx, str.btn
movss dword [rsp + 0x20], xmm0
xorps xmm2, xmm2
movss xmm0, dword [rsi + 8]
mov r8d, 0x40
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm2
movss dword [rsp + 0x24], xmm1
movq r9, xmm0
movss xmm1, dword [0x1800894e8]
movss dword [rsp + 0x2c], xmm1
call fcn.180053a60
movss xmm1, dword [0x180089598]
movzx ebx, al
call fcn.180030b40
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.180046e00
lea rdi, [0x1800888f1]
lea r14, [0x180083d00]
test bl, bl
je 0x1800236e2
mov r11, qword [0x180093dd8]
mov r8, rdi
mov r9b, 0x23
mov rax, qword [r11 + 0x1af0]
movsxd rcx, dword [rax + 0xc0]
mov rax, qword [rax + 0xc8]
mov r10d, dword [rax + rcx*4 - 4]
not r10d
mov edx, r10d
cmp r9b, 0x23
jne 0x180023697
cmp byte [r8], r9b
jne 0x180023697
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
mov eax, edx
inc r8
shr eax, 8
mov edx, dword [r14 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x180023684
not edx
cmp dword [r11 + 0x1b38], edx
jne 0x1800236ca
mov dword [r11 + 0x1b3c], edx
cmp dword [r11 + 0x1b78], edx
jne 0x1800236db
mov byte [r11 + 0x1b7c], 1
mov ecx, edx
call fcn.180031420
mov r8, qword [0x180093dd8]
mov eax, dword [r8 + 0x1c50]
cmp dword [r8 + 0x1c40], eax
jg 0x180023709
mov dword [r8 + 0x1b90], 0
jmp 0x1800237b6
mov rax, qword [r8 + 0x1af0]
mov r9b, 0x23
movsxd rcx, dword [rax + 0xc0]
mov rax, qword [rax + 0xc8]
mov r10d, dword [rax + rcx*4 - 4]
not r10d
mov edx, r10d
nop dword [rax]
cmp r9b, 0x23
jne 0x180023743
cmp byte [rdi], r9b
jne 0x180023743
cmp byte [rdi + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [rdi]
xor rcx, rax
mov eax, edx
inc rdi
shr eax, 8
mov edx, dword [r14 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x180023730
not edx
cmp dword [r8 + 0x1b38], edx
jne 0x180023776
mov dword [r8 + 0x1b3c], edx
cmp dword [r8 + 0x1b78], edx
jne 0x180023787
mov byte [r8 + 0x1b7c], 1
mov ecx, edx
call fcn.1800317c0
test al, al
je 0x1800237af
xor r9d, r9d
lea rcx, [0x1800888f8]
mov r8d, 0x183101a0
mov rdx, rsi
call fcn.180051cd0
call fcn.1800318d0
mov r8, qword [0x180093dd8]
mov rax, qword [r8 + 0x1af0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
dec dword [rax + 0xc0]
add rsp, 0x30
pop r14
ret
Function at 0x180024fe0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180025041
lea rbx, [0x180083d00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180025024
cmp r10, 2
jb 0x180025024
cmp byte [r9], r8b
jne 0x180025024
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
mov ecx, eax
xor rdx, r8
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r10, r10
jne 0x180025000
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180025087
lea rbx, [0x180083d00]
cmp r8b, 0x23
jne 0x180025067
cmp byte [r9], r8b
jne 0x180025067
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
mov ecx, eax
inc r9
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r8b, r8b
jne 0x180025054
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800251c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800251da
mov qword [r8], 0
lea rdx, [0x180062cd8]
call fcn.180025090
mov rbx, rax
test rax, rax
jne 0x1800251fa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800252d1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800252d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800252d1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800252d1
cmp rdi, 0xffffffffffffffff
je 0x1800252d1
mov rax, qword [0x180093dd8]
test rax, rax
je 0x18002526e
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800252d1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1800252be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180093dd8]
test rax, rax
je 0x1800252b3
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800252da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800252cc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800252dc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret