joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007ef58
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movups xmmword [rbp - 0x68], xmm4
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rsi, r8
mov edi, r9d
xor edx, edx
mov dword [rbp - 0x3c], edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
lea rcx, [0x14023a5c8]
call fcn.140004360
mov rbx, rax
mov rcx, rbx
call fcn.14008ba08
mov qword [rbp - 0x60], rbx
lea rcx, [0x14023a5c8]
call fcn.140004360
mov r14, rax
mov rcx, r14
call fcn.14008ba08
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x74], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x7c], rdx
mov r8, rsi
mov qword [rbp - 0x84], r8
mov r9d, edi
mov dword [rbp - 0x6c], r9d
lea rcx, [rbp - 0xb0]
call fcn.140004790
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x6c]
call sub.KERNEL32.dll_CreatePipe
mov esi, eax
lea rcx, [rbp - 0xb0]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor edx, edx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x3c], 1
test esi, esi
setne sil
movzx esi, sil
mov rbx, qword [rbp - 0x50]
mov r14, qword [rbp - 0x68]
mov qword [r14 + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rdx, r14
call fcn.140004660
mov r15, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x60]
mov qword [rbx + 8], r15
mov rcx, qword [rbp + 0x10]
mov rdx, rbx
call fcn.140004660
call fcn.140003073
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140089b08
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x48]
test rcx, rcx
jne 0x140089b3d
xor ecx, ecx
jmp 0x140089b49
add rcx, 0xc
mov qword [rbp - 0x40], rcx
mov rcx, qword [rbp - 0x40]
test rdx, rdx
jne 0x140089b52
xor edx, edx
jmp 0x140089b5e
add rdx, 0xc
mov qword [rbp - 0x48], rdx
mov rdx, qword [rbp - 0x48]
xor r10d, r10d
cmp byte [rbp + 0x30], 0
setne r10b
test rax, rax
jne 0x140089b73
xor r11d, r11d
jmp 0x140089b7f
add rax, 0xc
mov qword [rbp - 0x50], rax
mov r11, qword [rbp - 0x50]
mov dword [rsp + 0x20], r10d
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r11
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140004790
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.KERNEL32.dll_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.1400047e0
xor eax, eax
test esi, esi
setne al
movzx eax, al
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14008b8b8
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140004790
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.1400047e0
test esi, esi
jne 0x14008b92c
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp esi, 0xc0000017
jne 0x14008b953
lea rcx, [0x14023dd80]
call fcn.140004320
mov rsi, rax
mov rcx, rsi
call fcn.1400be4dc
mov rcx, rsi
call fcn.140004e00
lea rcx, [0x14023d1c8]
call fcn.140004320
mov rsi, rax
mov rcx, rsi
call fcn.1400b1b04
mov rcx, rsi
call fcn.140004e00
int3
Function at 0x14008be28
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rsi, rcx
mov eax, dword [rsi + 0x40]
cmp eax, 0xffffffff
je 0x14008be45
add rsp, 0x48
pop rsi
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rsi
mov r9d, 4
call fcn.1401351a4
mov ecx, eax
test ecx, ecx
jne 0x14008bebd
xor eax, eax
test byte [rbp - 0x10], 0x30
jne 0x14008be76
mov eax, 0x40000000
test byte [rbp - 0x10], 2
je 0x14008be81
or eax, 0x80000000
test dword [rbp - 0x10], 0x800
je 0x14008be8f
or eax, 0x10000000
test byte [rbp - 0x10], 4
je 0x14008be9a
or eax, 0x8000000
test dword [rbp - 0x10], 0x1000
je 0x14008bea8
or eax, 0x4000000
test byte [rbp - 0x10], 8
je 0x14008beb3
or eax, 0x20000000
mov dword [rsi + 0x40], eax
add rsp, 0x48
pop rsi
pop rbp
ret
call fcn.140135148
mov ecx, eax
lea rdx, [0x1402f8008]
call fcn.1401084c4
mov rcx, rax
call fcn.140004e00
int3

Function at 0x140096920
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm4
mov rax, qword [0x14031f880]
mov qword [rbp], rax
mov rsi, rcx
mov edi, dword [rsi + 8]
xor ebx, ebx
cmp edi, 0x40
jae 0x140096973
test dword [rsp], esp
sub rsp, 0x80
lea r14, [rsp + 0x20]
mov r15d, 0x40
jmp 0x14009699d
call fcn.1400029af
mov rcx, qword [rax + 8]
lea edx, [rdi + 1]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
test rbx, rbx
jne 0x140096995
xor r14d, r14d
xor r15d, r15d
jmp 0x14009699d
lea r14, [rbx + 0x10]
mov r15d, dword [rbx + 8]
lea rcx, [rsi + 0xc]
mov edx, dword [rsi + 8]
mov edx, edi
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], edx
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r15d
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 8]
call fcn.1400e0730
cmp edi, r15d
jae 0x140096a8c
mov eax, edi
mov word [r14 + rax*2], 0
mov esi, 0x15051505
mov r12d, 0x15051505
xor eax, eax
test r15d, r15d
je 0x1400969e9
mov rax, r14
mov qword [rbp + 0x28], rax
cmp edi, 2
jle 0x140096a24
add edi, 0xfffffffc
mov edx, esi
rol edx, 5
add esi, edx
mov edx, dword [rax]
or edx, 0x200020
xor esi, edx
mov edx, r12d
rol edx, 5
add r12d, edx
mov edx, dword [rax + 4]
or edx, 0x200020
xor r12d, edx
add rax, 8
cmp edi, 2
jg 0x1400969f2
test edi, edi
jle 0x140096a3e
mov edx, r12d
rol edx, 5
add edx, r12d
mov r12d, dword [rax]
or r12d, 0x200020
xor r12d, edx
xor eax, eax
mov qword [rbp + 0x28], rax
test rbx, rbx
je 0x140096a5e
call fcn.1400029af
mov rcx, qword [rax + 8]
mov rdx, rbx
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
imul eax, r12d, 0x5d588b65
add eax, esi
lea rcx, [0x14031f880]
mov rcx, qword [rcx]
cmp qword [rbp], rcx
je 0x140096a7c
call fcn.140004b60
nop
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r12
pop r14
pop r15
pop rbp
ret
call fcn.1400c0594
int3
Function at 0x14009c7d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.14012e4ac
xor edx, edx
xor ecx, ecx
mov r8d, eax
sar r8d, 0x1f
and r8d, 3
add eax, r8d
sar eax, 2
test eax, eax
jle 0x14009c80a
mov r8d, ecx
shl r8d, 2
movsxd r8, r8d
xor edx, dword [rsi + r8]
inc ecx
cmp eax, ecx
jg 0x14009c7f6
mov eax, edx
add rsp, 0x20
pop rsi
ret

Function at 0x1400c91e8
Capabilities:
Hash data using sha1

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp qword [rsi], 0
jne 0x1400c9212
lea rcx, [0x14028e130]
mov edx, 0x55
call fcn.140004440
mov rdx, rax
mov rcx, rsi
call fcn.140004660
xor eax, eax
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], eax
mov rax, qword [rsi]
cmp dword [rax + 8], 0x50
jbe 0x1400c9280
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rsi]
cmp dword [rax + 8], 0x51
jbe 0x1400c9280
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rsi]
cmp dword [rax + 8], 0x52
jbe 0x1400c9280
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rsi]
cmp dword [rax + 8], 0x53
jbe 0x1400c9280
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rsi]
cmp dword [rax + 8], 0x54
jbe 0x1400c9280
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rsi
ret
call fcn.1400c0594
int3

Function at 0x1400d2ab4
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov rsi, rcx
mov edi, edx
call fcn.14000147a
cmp byte [rax], 0
je 0x1400d2ad2
xor eax, eax
add rsp, 0x28
pop rsi
pop rdi
ret
call fcn.140001200
cmp byte [rax], 0
jne 0x1400d2aec
mov rcx, rsi
mov edx, edi
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400d3180
mov edx, edi
cmp byte [rsi + 0x1b8], 0
jne 0x1400d2afd
or edx, 0x80000000
mov rcx, qword [rsi + 8]
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400d3780

Function at 0x1400d2b0c
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov rsi, rcx
mov edi, edx
call fcn.14000147a
cmp byte [rax], 0
je 0x1400d2b2a
xor eax, eax
add rsp, 0x28
pop rsi
pop rdi
ret
call fcn.140001200
cmp byte [rax], 0
jne 0x1400d2b4f
movzx ecx, byte [rsi + 0x1b8]
test ecx, ecx
jne 0x1400d2b4f
mov rcx, rsi
mov edx, edi
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400d3180
mov edx, edi
cmp byte [rsi + 0x1b8], 0
jne 0x1400d2b60
or edx, 0x80000000
mov rcx, qword [rsi + 8]
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400d3780
Function at 0x1400d36b8
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x50], rax
mov rax, qword [0x14031f880]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x430
lea rsi, [rsp + 0x20]
test rcx, rcx
je 0x1400d36f8
add rcx, 0xc
jmp 0x1400d36fa
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], edx
mov r8, rsi
mov qword [rbp + 0x30], r8
mov r9d, 0x212
mov dword [rbp + 0x40], r9d
lea rcx, [rbp + 8]
call fcn.140004790
mov rcx, qword [rbp + 0x38]
mov edx, dword [rbp + 0x44]
mov r8, qword [rbp + 0x30]
mov r9d, dword [rbp + 0x40]
call sub.KERNEL32.dll_GetLocaleInfoEx
mov edi, eax
lea rcx, [rbp + 8]
call fcn.1400047e0
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x50], rcx
test edi, edi
jle 0x1400d3756
mov rcx, rsi
call fcn.1400935e4
jmp 0x1400d3758
xor eax, eax
lea rcx, [0x14031f880]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x1400d376d
call fcn.140004b60
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400d3780
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x48], rax
or edx, 0x20000000
xor r8d, r8d
mov dword [rbp - 0x40], r8d
test rcx, rcx
je 0x1400d37b6
add rcx, 0xc
jmp 0x1400d37b8
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x58], rcx
lea r8, [rbp - 0x40]
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x4c], edx
mov r9d, 4
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x88]
call fcn.140004790
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov edx, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0x88]
call fcn.1400047e0
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x48], rax
mov eax, dword [rbp - 0x40]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400d53ac
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.14000147a
cmp byte [rax], 0
jne 0x1400d53e0
xor ecx, ecx
mov edx, 0x5c
call fcn.1400d36b8
test rax, rax
jne 0x1400d53f4
lea rcx, [0x1402f8470]
mov edx, 0x5c
add rsp, 0x28
jmp fcn.1400d36b8
call fcn.140001a82
mov rcx, qword [rax + 0x18]
cmp dword [rcx], ecx
add rsp, 0x28
jmp fcn.1400d49cc
add rsp, 0x28
ret
Function at 0x1400fed00
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor edx, edx
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x1400fed2d
mov r9d, eax
shl r9d, 5
add eax, r9d
mov r9d, edx
movzx r9d, word [rcx + r9*2 + 0xc]
xor eax, r9d
inc edx
cmp r8d, edx
jg 0x1400fed10
ret

Function at 0x140131e34
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, r8
mov rdi, r9
mov rbx, qword [rbp + 0x30]
test rcx, rcx
je 0x140131e71
add rcx, 0xc
jmp 0x140131e73
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov r14, rcx
test rdx, rdx
je 0x140131e88
add rdx, 0xc
mov r15, rdx
jmp 0x140131e8b
xor r15d, r15d
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], rbx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov rcx, r14
mov qword [rbp - 0x58], rcx
mov rdx, r15
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140004790
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.KERNEL32.dll_CopyFileExW
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.140003073
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1401320a0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x1401320cc
add rcx, 0xc
mov rsi, rcx
jmp 0x1401320ce
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140004790
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.140003073
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1401326ac
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov esi, ecx
mov qword [rbp - 0x40], rdx
mov rdi, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, esi
mov dword [rbp - 0x44], ecx
mov rdx, rdi
mov qword [rbp - 0x4c], rdx
lea rcx, [rbp - 0x78]
call fcn.140004790
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003073
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140132b8c
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov esi, edx
mov qword [rbp - 0x40], rcx
mov rdi, rcx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x4c], rcx
mov edx, esi
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.140004790
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.dll_GetSystemDirectoryW
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003073
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140132d04
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14011262c
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, rbx
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140004790
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_ReadFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp byte [rbp - 0x40], 0
je 0x140132db4
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1401126b4
call fcn.140003073
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140132e04
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rdi, rdx
mov ebx, r8d
mov rsi, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14011262c
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
mov qword [rbp - 0x48], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x54], rcx
mov rdx, rdi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
mov r9, rsi
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.140004790
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.dll_ReadFile
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x140132ec7
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1401126b4
call fcn.140003073
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1401331e0
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov rsi, rcx
mov rdi, rdx
mov rbx, r8
mov r14, r9
mov r15, qword [rbp + 0x38]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rcx
lea rcx, [0x14023a628]
call fcn.140004360
xor ecx, ecx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], 4
mov byte [rax + 0x14], 1
mov byte [rax + 0x15], 1
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9, r14
mov esi, dword [rbp + 0x30]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x78], r9
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], r15
lea rcx, [rbp - 0xa0]
call fcn.140004790
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
mov r9, qword [rbp - 0x78]
call sub.KERNEL32.dll_CreateThread
mov rsi, rax
lea rcx, [rbp - 0xa0]
call fcn.1400047e0
mov qword [rbp - 0x48], rsi
xor eax, eax
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x3c], 1
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x58]
mov qword [rdx + 8], rax
mov rax, rdx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140133330
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x10], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14011262c
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx + 8]
mov rcx, rax
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140004790
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_ResumeThread
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.1400047e0
nop
cmp byte [rbp - 0x40], 0
je 0x14013339a
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1401126b4
mov eax, esi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1401337b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rcx
mov rdi, rdx
mov ebx, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov qword [rbp - 0x4c], rcx
mov rdx, rdi
mov qword [rbp - 0x54], rdx
mov r8d, ebx
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140004790
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003073
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140133864
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14011262c
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, rbx
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140004790
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.1400047e0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp byte [rbp - 0x40], 0
je 0x140133914
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1401126b4
call fcn.140003073
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret