joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180010970
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x78], 0
je 0x18001099f
mov rax, qword [rsp + 0x78]
mov dword [rax], 0
cmp qword [rsp + 0x80], 0
je 0x1800109b8
mov rax, qword [rsp + 0x80]
mov dword [rax], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x180010a24
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x50]
jmp 0x180010a86
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x80], 0
je 0x180010a5c
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x4c]
mov dword [rcx], eax
cmp qword [rsp + 0x78], 0
je 0x180010a6f
mov rax, qword [rsp + 0x78]
mov dword [rax], 1
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x54]
add rsp, 0x68
ret
Function at 0x180010a90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x180010b1d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x58]
jmp 0x180010bf1
cmp dword [rsp + 0xa0], 0
jbe 0x180010b43
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x98], 0
je 0x180010b6e
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
jmp 0x180010b78
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180010bcc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x5c], 0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x5c]
jmp 0x180010bf1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x60], 1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x180010c00
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.180011050
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x180010cc9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x60]
jmp 0x180010d90
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180010d37
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x64]
jmp 0x180010d90
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x4c], eax
je 0x180010d6b
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x68]
jmp 0x180010d90
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x6c], 1
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x6c]
add rsp, 0x88
ret

Function at 0x180010da0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180010dcc
mov dword [rsp + 0x24], 1
jmp 0x180010dd4
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180010f30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x180010f6a
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x20]
jmp 0x180010f81
mov dword [rsp + 0x24], 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x180010f90
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.180010f30
test eax, eax
je 0x180010fe8
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x38]
jmp 0x18001103f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_888]
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180011020
cmp dword [rsp + 0x20], 0xb7
je 0x180011020
mov dword [rsp + 0x50], 0
jmp 0x180011028
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x3c]
add rsp, 0x68
ret
Function at 0x1800134a0
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.180010880
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WinExec]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1f
jbe 0x18001353c
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x48]
jmp 0x18001355f
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x4c]
add rsp, 0x68
ret
Function at 0x180013570
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, reloc.mfc90.dll_Ordinal_296
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x58], 0
lea rdi, [rsp + 0x60]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0
lea rdi, [rsp + 0x88]
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x68
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + reloc.mfc90.dll_Ordinal_320]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + reloc.mfc90.dll_Ordinal_280], rax
mov rdx, qword [rsp + reloc.mfc90.dll_Ordinal_280]
lea rcx, [rsp + 0xf0]
call fcn.180010e90
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x150], 0
jne 0x18001367b
mov dword [rsp + 0xbc], 7
xor eax, eax
mov word [rsp + 0xc0], ax
mov dword [rsp + 0xa8], 1
mov dword [rsp + 0xac], 1
mov dword [rsp + 0xa0], 0xd431
lea rcx, [rsp + 0xf0]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rbx, rax
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rdi, rax
mov rcx, qword [rsp + reloc.mfc90.dll_Ordinal_320]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x18001370c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
jmp 0x180013715
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
mov rcx, qword [rsp + reloc.mfc90.dll_Ordinal_320]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov rax, qword [rsp + 0x108]
add rsp, reloc.mfc90.dll_Ordinal_296
pop rdi
pop rbx
ret
Function at 0x180013880
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x3b0
mov rax, qword [0x18004b0d0]
xor rax, rsp
mov qword [rsp + 0x3a8], rax
mov dword [rsp + 0x394], 0
mov dword [rsp + 0x390], 0
mov dword [rsp + 0x3a0], 0
mov qword [rsp + reloc.mfc90.dll_Ordinal_320], 0
mov dword [rsp + 0x150], 0
lea rdi, [rsp + 0x154]
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
mov byte [rsp + 0x30], 0
lea rdi, [rsp + 0x31]
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov qword [rsp + 0x398], 0
mov rcx, qword [rsp + 0x3c8]
call fcn.180013fd0
mov r8d, dword [rsp + 0x3c0]
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x398], rax
cmp qword [rsp + 0x398], 0
jne 0x18001394a
jmp 0x1800139d3
mov edx, dword [rsp + 0x3c0]
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + reloc.mfc90.dll_Ordinal_320], rax
cmp qword [rsp + reloc.mfc90.dll_Ordinal_320], 0xffffffffffffffff
jne 0x180013972
jmp 0x1800139d3
mov dword [rsp + 0x150], Ordinal_577
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + reloc.mfc90.dll_Ordinal_320]
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x18001399a
jmp 0x1800139d3
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x3c8]
call fcn.180013ef0
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + reloc.mfc90.dll_Ordinal_320]
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x18001399a
mov dword [rsp + 0x394], 1
cmp qword [rsp + reloc.mfc90.dll_Ordinal_320], 0
je 0x1800139ec
mov rcx, qword [rsp + reloc.mfc90.dll_Ordinal_320]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x398], 0
je 0x180013a05
mov rcx, qword [rsp + 0x398]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x394]
mov rcx, qword [rsp + 0x3a8]
xor rcx, rsp
call fcn.180032590
add rsp, 0x3b0
pop rdi
ret
Function at 0x180013a30
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov rax, qword [0x18004b0d0]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x170], 0
mov qword [rsp + 0x168], 0
mov dword [rsp + 0x30], 0
lea rdi, [rsp + 0x34]
xor eax, eax
mov ecx, reloc.mfc90.dll_Ordinal_300
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x190]
call fcn.180014180
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x168], rax
cmp qword [rsp + 0x168], 0xffffffffffffffff
je 0x180013ab7
cmp qword [rsp + 0x168], 0
jne 0x180013ac1
jmp 0x180013b42
mov dword [rsp + 0x30], Ordinal_306
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x168]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x180013ae3
jmp 0x180013b42
mov dword [rsp + 0x160], 0
mov eax, dword [rsp + 0x198]
cmp dword [rsp + 0x160], eax
jb 0x180013b10
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x190]
call fcn.1800140a0
mov eax, dword [rsp + 0x160]
add eax, 1
mov dword [rsp + 0x160], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x168]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180013aee
mov dword [rsp + 0x170], 1
cmp qword [rsp + 0x168], 0
je 0x180013b5b
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.180032590
add rsp, 0x180
pop rdi
ret
Function at 0x180016c10
Capabilities:
Get routing table
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x18004b0d0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xb4], 0
mov dword [rsp + 0xb0], 0
mov byte [rsp + 0x30], 0
lea rdi, [rsp + 0x31]
xor eax, eax
mov ecx, 0x7f
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0xf0]
call fcn.180017380
mov r8d, 1
lea rdx, [rsp + 0xb4]
mov rcx, qword [rsp + 0xb8]
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x7a
je 0x180016ce4
mov r9d, dword [rsp + 0xb0]
lea r8, [0x18003d0d0]
mov edx, 0x7f
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll__snprintf]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x180016dea
mov ecx, dword [rsp + 0xb4]
call sub.mfc90.dll_Ordinal_265
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
mov r8d, 1
lea rdx, [rsp + 0xb4]
mov rcx, qword [rsp + 0xb8]
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
je 0x180016d68
mov r9d, dword [rsp + 0xb0]
lea r8, str.GetDefaultIpForward:_error_d_r_n
mov edx, 0x7f
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll__snprintf]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x180016dea
mov dword [rsp + 0x20], 0
jmp 0x180016d7d
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x180016ddf
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x38
mov rax, qword [rsp + 0xb8]
cmp dword [rax + rcx + 4], 0
jne 0x180016ddd
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x38
mov rax, qword [rsp + 0xb8]
cmp dword [rax + rcx + 8], 0
jne 0x180016ddd
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x38
mov rax, qword [rsp + 0xb8]
lea rdx, [rax + rcx + 4]
mov rcx, qword [rsp + 0xf0]
call fcn.1800172a0
jmp 0x180016d72
mov dword [rsp + 0xc0], 1
cmp qword [rsp + 0xb8], 0
je 0x180016e12
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1800320d2
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.180032590
add rsp, 0xe0
pop rdi
ret

Function at 0x180018d10
Capabilities:
Log keystrokes

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x40], 0
jne 0x180018d27
jmp 0x180018d7c
movsx rax, byte [rsp + 0x48]
mov qword [rsp + 0x28], rax
movsx ecx, byte [rsp + 0x48]
and ecx, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
and eax, 0xff
shl eax, 0x10
mov eax, eax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
or rax, 1
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov edx, 0x100
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_PostMessageA]
add rsp, 0x38
ret
Function at 0x18001a800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp], 0
mov dword [rsp + 0x10], 0
mov dword [rsp + 0xc], 0
mov dword [rsp + 8], 0
mov dword [rsp + 8], 0
jmp 0x18001a847
mov eax, dword [rsp + 8]
add eax, 1
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 8], eax
jae 0x18001a934
mov eax, dword [rsp]
add eax, 1
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp], eax
movsxd rcx, dword [rsp]
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax + rcx]
mov eax, dword [rsp + 0x10]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x10], eax
movsxd rcx, dword [rsp]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + rcx]
mov byte [rsp + 4], al
movsxd r8, dword [rsp + 0x10]
movsxd rdx, dword [rsp]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + r8]
mov byte [rcx + rdx], al
movsxd rdx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rsp + 4]
mov byte [rcx + rdx], al
movsxd rcx, dword [rsp]
mov rax, qword [rsp + 0x30]
movzx edx, byte [rax + rcx]
movsxd rcx, dword [rsp + 0x10]
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax + rcx]
mov eax, edx
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0xc], eax
mov edx, dword [rsp + 8]
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax + rcx]
mov rax, qword [rsp + 0x38]
movzx edx, byte [rax + rdx]
xor edx, ecx
mov ecx, dword [rsp + 8]
mov rax, qword [rsp + 0x38]
mov byte [rax + rcx], dl
jmp 0x18001a83c
add rsp, 0x28
ret
Function at 0x180020140
Capabilities:
Hash data with crc32

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movsx ecx, byte [rsp + 0x10]
mov rax, qword [rsp + 8]
mov eax, dword [rax]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rcx, [0x18003bd60]
mov rax, qword [rsp + 8]
mov eax, dword [rax]
shr eax, 8
mov ecx, dword [rcx + rdx*4]
xor ecx, eax
mov rax, qword [rsp + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 8]
mov ecx, dword [rax]
and ecx, 0xff
mov rax, qword [rsp + 8]
add ecx, dword [rax + 4]
mov rax, qword [rsp + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 8]
mov ecx, dword [rax + 4]
imul ecx, ecx, 0x8088405
add ecx, 1
mov rax, qword [rsp + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 8]
mov ecx, dword [rax + 4]
shr ecx, 0x18
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
xor eax, ecx
and eax, 0xff
mov edx, eax
lea rcx, [0x18003bd60]
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
shr eax, 8
mov ecx, dword [rcx + rdx*4]
xor ecx, eax
mov rax, qword [rsp + 8]
mov dword [rax + 8], ecx
ret

Function at 0x180021640
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [rsp + 0x68]
imul rax, qword [rsp + 0x70]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
test eax, eax
je 0x1800216bd
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1800216b0
mov rax, qword [rsp + 0x78]
mov byte [rax + 0x10], 1
mov eax, dword [rsp + 0x3c]
xor edx, edx
div qword [rsp + 0x68]
jmp 0x18002172c
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax + 0x2c]
add ecx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x78]
cmp ecx, dword [rax + 0x28]
jbe 0x1800216e9
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax + 0x2c]
mov eax, dword [rdx + 0x28]
sub eax, ecx
mov dword [rsp + 0x34], eax
mov ecx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x78]
mov esi, dword [rax + 0x2c]
mov rax, qword [rsp + 0x78]
add rsi, qword [rax + 0x20]
mov rdi, qword [rsp + 0x60]
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax + 0x2c]
add ecx, dword [rsp + 0x30]
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x2c], ecx
mov eax, dword [rsp + 0x30]
xor edx, edx
div qword [rsp + 0x68]
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1800236c0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
jne 0x1800236f0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 8], 0xffffffff
je 0x1800236fa
mov eax, 0x1000000
jmp 0x180023824
mov rdx, qword [rsp + 0x60]
add rdx, 0x150
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rdi, qword [rsp + 0x60]
add rdi, 0x150
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + rcx + 0x14f]
mov byte [rsp + 0x28], al
movsx eax, byte [rsp + 0x28]
cmp eax, 0x5c
je 0x18002377d
movsx eax, byte [rsp + 0x28]
cmp eax, 0x2f
je 0x18002377d
mov rdi, qword [rsp + 0x60]
add rdi, 0x150
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
sub rdi, 1
lea rsi, [0x18003a42c]
mov ecx, 2
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x78], 1
jne 0x1800237d0
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x1800237af
mov dword [rsp + 0x38], 1
jmp 0x1800237b7
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x1800237d0
mov eax, 0x2000000
jmp 0x180023824
lea r9, [rsp + 0x2c]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.1800211d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800237fb
mov eax, dword [rsp + 0x2c]
jmp 0x180023824
mov rcx, qword [rsp + 0x20]
call fcn.180021af0
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov qword [rax], rdx
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
jne 0x180023822
mov eax, 0x200
jmp 0x180023824
xor eax, eax
add rsp, 0x48
pop rdi
pop rsi
ret