joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012720
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x1400127c2
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400128cc]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140012798
lea rdx, str.CreateThread_failed
lea rcx, [0x14004a6e0]
call fcn.140007648
lea rcx, [0x14004a6e0]
call fcn.140023b88
lea edx, [rsi + 2]
lea rcx, [0x14004a6e0]
call fcn.140007640
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x1400519b8]
test edx, edx
je 0x1400127b8
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x14001273c
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001cec0
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x14001cf5f
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001cf56
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x140039f60]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x14001cf46
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x14001cf3b
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
test ebx, ebx
js 0x14001cf5f
test rcx, rcx
jne 0x14001cfd0
cmp qword [rdi + 0x10], 0
je 0x14001cfd0
cmp qword [rdi + 0x40], 0
jne 0x14001cfd0
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14001cfd0
mov rcx, rdi
call fcn.14001d6a8
mov rsi, rax
test rax, rax
je 0x14001cfd0
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.140027274
mov rsi, qword [rsp + 0x60]
not ebx
shr ebx, 0x1f
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001e0ac
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14001e10c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x140039010]
mov rcx, qword [0x14004a5d0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14001e13a
xor eax, eax
jmp 0x14001e271
mov rcx, qword [0x14004a5d0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001e133
mov rcx, qword [0x14004a5d0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001e133
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14001e133
and qword [rsp + 0x58], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14001e26c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001e263
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.140024410
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x14001e25a
mov rsi, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x14001e215
and qword [rsp + 0x50], 0
lea rax, [0x140038fe0]
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rsi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 8], rax
jmp 0x14001e217
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rbx, rbx
je 0x14001e25a
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x14001e24d
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x14001e24d
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001e680
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14001e8ac
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1070
call fcn.1400234a0
sub rsp, rax
xor ebx, ebx
cmp word [0x140052c72], bx
je 0x14001e954
lea rcx, [0x140052c72]
call fcn.14000d080
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.140013788
test eax, eax
jne 0x14001e954
lea rcx, [0x140051c70]
call fcn.14001e680
mov r8d, 0x800
lea rdx, [0x140052c72]
lea rcx, [rsp + 0x60]
call fcn.140011ad0
lea rcx, [rsp + 0x60]
call fcn.140027258
xor edx, edx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
call fcn.140024260
lea eax, [rbx + 0x14]
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x1070
pop rbx
ret
Function at 0x14001e9bc
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x170
xor ebp, ebp
mov rdi, r8
cmp qword [0x1400477c8], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x14001ea24
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rax - 0xd8]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x1400686c0], ax
lea rax, [0x1400686c0]
mov qword [0x1400477c8], rax
mov word [0x1400686c2], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140011938
lea r9, [0x1400477b0]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea r11, [rsp + 0x170]
mov word [rbx + rdi*2 - 2], bp
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001ec70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f40]
mov eax, 0x2040
call fcn.1400234a0
sub rsp, rax
xor esi, esi
mov rdi, rdx
cmp byte [0x140053c78], sil
mov rbx, rcx
je 0x14001ed57
mov r8d, 0x800
lea rdx, [rbp + 0xf40]
call fcn.140020550
lea rax, [rsp + 0x30]
xor r8d, r8d
lea r9d, [rsi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWinRAR_SFX
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ed57
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1f70]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1f78]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x1f70], 0x1000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ed4c
mov edx, dword [rbp + 0x1f70]
mov ecx, 0x7ff
shr edx, 1
mov r8, rdi
cmp edx, ecx
mov eax, edx
mov dword [rbp + 0x1f70], edx
lea rdx, [rsp + 0x40]
cmovb ecx, eax
mov word [rsp + rcx*2 + 0x40], si
mov rcx, rbx
call fcn.140011ad0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2040
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001ee44
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov eax, 0x2020
call fcn.1400234a0
sub rsp, rax
xor r14d, r14d
mov rsi, r8
mov rbx, rcx
test r9, r9
je 0x14001ee77
mov byte [r9], r14b
mov rcx, qword [rsp + 0x2050]
test rcx, rcx
je 0x14001ee87
mov byte [rcx], r14b
test rbx, rbx
je 0x14001ef3c
movzx eax, word [rbx]
test ax, ax
je 0x14001ef3c
movsxd rbp, dword [rsp + 0x2058]
mov rdi, r14
mov r8d, r14d
add rbx, 2
cmp ax, 0x3d
jne 0x14001eecc
test rsi, rsi
je 0x14001eed8
test rdi, rdi
jne 0x14001eed8
test r9, r9
je 0x14001eec7
mov byte [r9], 1
mov rdi, rdx
jmp 0x14001eee7
cmp ax, 0xd
je 0x14001eef9
cmp ax, 0xa
je 0x14001eefd
mov word [rdx], ax
add rdx, 2
lea eax, [rbp - 2]
cmp r8d, eax
jge 0x14001eef4
movzx eax, word [rbx]
inc r8d
test ax, ax
jne 0x14001eeaa
jmp 0x14001eefd
mov byte [rcx], 1
jmp 0x14001eefd
add rbx, 2
mov word [rdx], r14w
test rsi, rsi
je 0x14001ef37
mov word [rsi], r14w
test rdi, rdi
je 0x14001ef37
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140011ad0
mov word [rdi], r14w
mov rax, rbx
jmp 0x14001ef3e
xor eax, eax
lea r11, [rsp + 0x2020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14001ef5c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
test eax, eax
sete bl
test bl, bl
je 0x14001efc1
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x58]
cmp eax, 1
mov rdx, qword [rsp + 0x50]
sete bl
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14001efc4
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140021a98
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x140051c60], 0
mov edx, 1
mov rbx, rcx
mov byte [0x140051c50], 1
mov byte [0x140051c51], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.14000135c
cmp qword [0x140051c28], 0
jne 0x140021ae3
cmp byte [0x140051c56], 0
je 0x140021aec
cmp dword [0x140051c44], 0
jne 0x140021b01
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret

Function at 0x140021bdc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.1400234a0
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x140053c78], dil
je 0x140021cae
cmp word [0x140053c7a], di
je 0x140021cae
mov r8d, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [0x140053c7a]
call fcn.140020550
lea rax, [rsp + 0x1068]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareWinRAR_SFX
lea rax, [rsp + 0x1070]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140021cae
mov rcx, rbx
call fcn.140027258
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1070]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret

Function at 0x140021cc0
Capabilities:
Set environment variable

Disassembly:
push rbx
mov eax, 0x2020
call fcn.1400234a0
sub rsp, rax
mov rbx, rcx
mov rdx, rcx
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400117d8
mov rbx, rax
test rax, rax
je 0x140021d22
movzx ecx, word [rax]
jmp 0x140021d09
add rbx, 2
movzx ecx, word [rbx]
call fcn.140011910
test al, al
jne 0x140021d02
mov rdx, rbx
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x2020
pop rbx
ret
Function at 0x14002b970
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14002b744
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002b744
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002b744
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002b744
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002b744
cmp dword [rcx + 0x84], 0xe
jbe 0x14002b744
cmp dword [rcx + 0xf8], esi
je 0x14002b744
mov ecx, r14d
call fcn.14002b88c
mov ecx, 2
call fcn.14002ef0c
nop
cmp byte [0x14006a978], 0
jne 0x14002b80e
mov r15d, 1
mov eax, r15d
xchg dword [0x14006a968], eax
test ebx, ebx
jne 0x14002b7b7
mov rdi, qword [0x140047868]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14006a970]
cmp rcx, rax
je 0x14002b7ae
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140023b88]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14006aaa8]
jmp 0x14002b7c3
cmp ebx, r15d
jne 0x14002b7c9
lea rcx, [0x14006aac0]
call fcn.14002c300
nop
test ebx, ebx
jne 0x14002b7e0
lea rdx, [0x1400375a8]
lea rcx, [0x140037588]
call fcn.14002c638
lea rdx, [0x1400375b8]
lea rcx, [0x1400375b0]
call fcn.14002c638
movzx eax, byte [0x14006a978]
test esi, esi
cmove eax, r15d
mov byte [0x14006a978], al
jmp 0x14002b80e
mov ecx, 2
call fcn.14002ef60
test esi, esi
jne 0x14002b825
mov ecx, r14d
call fcn.14002b840
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002b6d4
Function at 0x140003970
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14004f0c8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov qword [rsp + 0x28], rsi
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x140003bf7
lea r9, [rsp + 0x20]
lea r8d, [rsi + 8]
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140003bf7
mov ecx, dword [rsp + 0x20]
shr rcx, 3
mov eax, 8
mul rcx
mov rbx, rax
mov rax, 0xffffffffffffffff
cmovo rbx, rax
mov rcx, rbx
call fcn.14000cfcc
mov r14, rax
test rax, rax
je 0x140003a26
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14000f4f0
jmp 0x140003a29
mov r14, rsi
mov qword [rsp + 0x38], r14
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, r14
mov rcx, r13
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140003bea
mov r15d, esi
mov eax, dword [rsp + 0x20]
test rax, 0xfffffffffffffff8
jbe 0x140003bea
mov r12, r14
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14000f4f0
mov r9d, 0x208
lea r8, [rsp + 0x60]
mov rdx, qword [r12]
mov rcx, r13
call sub.KERNEL32.dll_K32GetModuleFileNameExW
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140003ab0
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
ja 0x140003c27
mov qword [rsp + 0x58], 7
cmp rbx, 8
jae 0x140003afd
mov qword [rsp + 0x50], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000ee40
mov word [rsp + rbx + 0x40], si
jmp 0x140003b59
mov rsi, rbx
or rsi, 7
cmp rsi, rax
jbe 0x140003b0e
mov rsi, rax
jmp 0x140003b1b
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.140002f80
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14000ee40
xor esi, esi
mov word [rbx + rdi], si
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
lea r8, [rax + rax]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400045d0
mov r8d, 2
lea rdx, [0x14003a958]
mov rcx, rdi
call fcn.1400045d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140003bcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c21
call fcn.14000cfc4
inc r15d
add r12, 8
mov ecx, dword [rsp + 0x20]
shr rcx, 3
movsxd rax, r15d
cmp rax, rcx
jb 0x140003a61
test r14, r14
je 0x140003bf7
mov rcx, r14
call fcn.14000cfc4
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14000d0e0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140013820
nop
call fcn.140002f00
int3
Function at 0x140004770
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400047a1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000481b
mov rdi, r14
mov rcx, rbx
call fcn.140002bf0
test rax, rax
jle 0x1400047f3
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14000ee40
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000480b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140004813
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400047b5
sub r14, rdi
jmp 0x1400048ff
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140004832
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004834
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004866
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14000ee40
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400048fc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400048a1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400048dd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140015468
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400048fc
cmp rbp, rax
ja 0x1400048b0
test rbp, rbp
je 0x1400048fc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140015468
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140004e30
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea eax, [rcx - 1]
mov r14, rdx
movsxd r13, eax
cmp r13, 1
jle 0x140004f62
movsxd r12, ecx
xor ebx, ebx
mov r15d, 1
nop word [rax + rax]
mov rcx, qword [r14 + r15*8]
call fcn.1400160f8
mov r8d, eax
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140004f87
mov rcx, qword [r14 + r12*8 - 8]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140004ea1
lea rbp, [rax*2 + 2]
mov dword [rsp + 0x20], 4
mov r8, rbp
mov r9d, 0x3000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140004f87
mov r8, qword [r14 + r12*8 - 8]
mov r9, rbp
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0x2710
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15
mov ebx, 0
cmp r15, r13
jl 0x140004e70
mov eax, 1
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x140004f67