joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400949f0
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.140006bd0
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 ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006c20
test ebx, ebx
jne 0x140094a64
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x140094a8b
lea rcx, [0x1401ee458]
call fcn.140004f50
mov rbx, rax
mov rcx, rbx
call fcn.1400b5a50
mov rcx, rbx
call fcn.1400054d0
lea rcx, [0x1401edc80]
call fcn.140004f50
mov rbx, rax
mov rcx, rbx
call fcn.1400b10a0
mov rcx, rbx
call fcn.1400054d0
int3

Function at 0x140094f70
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
je 0x140094f8d
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.140131840
mov ecx, eax
test ecx, ecx
jne 0x14009501a
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.1401317e0
mov ecx, eax
lea rdx, [0x1401bda58]
xor r8d, r8d
call fcn.140102fe0
mov rcx, rax
call fcn.1400054d0
int3
Function at 0x1400a7b20
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x1400a7d3c
lea r14, [0x1405f84f8]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x1400a7b67
lea r15d, [rbx - 4]
jmp 0x1400a7b7e
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x1400a7c21
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
je 0x1400a7bbc
mov r9d, 0xffffffff
jmp 0x1400a7bee
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0x12
movsxd r9, eax
movsx rax, byte [r14 + r9]
or edx, eax
movsxd rax, r13d
movsx rax, byte [r14 + rax]
shl eax, 0xc
or edx, eax
movsxd rax, r12d
movsx rax, byte [r14 + rax]
shl eax, 6
or edx, eax
mov r9d, edx
test r9d, r9d
jl 0x1400a7d59
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add edi, 4
cmp edi, r15d
jl 0x1400a7b87
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x1400a7d59
cmp edi, ebx
je 0x1400a7d59
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x1400a7d59
cdqe
movsx rax, byte [r14 + rax]
shl eax, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x1400a7ce0
movsxd rdx, r10d
movsx rdx, byte [r14 + rdx]
or eax, edx
movsxd r9, r9d
movsx rdx, byte [r14 + r9]
shl edx, 6
or eax, edx
jl 0x1400a7d59
add esi, 0xfffffffd
cmp ebp, esi
jg 0x1400a7d59
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x1400a7d35
cmp r9d, 0x3d
je 0x1400a7d1e
movsxd rdx, r9d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or edx, eax
mov eax, edx
test eax, eax
jl 0x1400a7d59
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x1400a7d59
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x1400a7d35
test eax, eax
jl 0x1400a7d59
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x1400a7d59
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x1400a7d59
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400b1240
Capabilities:
Encode data using xor

Disassembly:
cmp edx, 8
jae 0x1400b124f
cmp edx, 4
jae 0x1400b12ac
jmp 0x1400b1324
mov eax, edx
shr eax, 3
add r8d, dword [rcx]
mov r10d, dword [rcx + 4]
xor r9d, r8d
rol r8d, 0x14
add r8d, r9d
rol r9d, 9
xor r9d, r8d
rol r8d, 0x1b
add r8d, r9d
rol r9d, 0x13
add r10d, r8d
mov r8d, r9d
xor r8d, r10d
rol r10d, 0x14
add r10d, r8d
rol r8d, 9
xor r8d, r10d
rol r10d, 0x1b
add r10d, r8d
rol r8d, 0x13
mov r9d, r8d
add rcx, 8
dec eax
mov r8d, r10d
jne 0x1400b1254
test dl, 4
je 0x1400b12cb
add r8d, dword [rcx]
xor r9d, r8d
rol r8d, 0x14
add r8d, r9d
rol r9d, 9
xor r9d, r8d
rol r8d, 0x1b
add r8d, r9d
rol r9d, 0x13
mov eax, edx
and rax, 7
mov eax, dword [rcx + rax - 4]
shr eax, 8
or eax, 0x80000000
mov ecx, edx
not ecx
shl ecx, 3
shr eax, cl
add eax, r8d
mov edx, r9d
xor edx, eax
rol eax, 0x14
add eax, edx
rol edx, 9
xor edx, eax
rol eax, 0x1b
add eax, edx
rol edx, 0x13
mov r8d, edx
xor r8d, eax
rol eax, 0x14
add eax, r8d
rol r8d, 9
xor r8d, eax
rol eax, 0x1b
add eax, r8d
mov r9d, r8d
rol r9d, 0x13
xor eax, r9d
ret
mov eax, 0x80
test dl, 1
je 0x1400b133d
mov eax, edx
and rax, 2
movzx eax, byte [rcx + rax]
or eax, 0x8000
test dl, 2
je 0x1400b12e6
shl eax, 0x10
movzx ecx, word [rcx]
or eax, ecx
jmp 0x1400b12e6

Function at 0x1400c0570
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x1400c059a
lea rcx, [0x140234250]
mov edx, 0x55
call fcn.140005070
mov rdx, rax
mov rcx, rbx
call fcn.1400051d0
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x1400c0608
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x1400c0608
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x1400c0608
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x1400c0608
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x1400c0608
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.14012cd00
int3

Function at 0x1400c8e70
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
lea rdi, [0x1401e55b0]
cmp qword [rdi - 8], 0
jne 0x1400c8ee4
cmp byte [rdi], 0
je 0x1400c8e9b
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
lea rbp, [0x1401e52e8]
cmp qword [rbp - 8], 0
jne 0x1400c8eeb
cmp byte [rbp], 0
jne 0x1400c8ec1
mov rcx, rbx
mov edx, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp 0x1400c98a0
mov edx, esi
or esi, 0x80000000
cmp byte [rbx + 0x1b8], 0
cmove edx, esi
mov rcx, qword [rbx + 8]
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.1400c9fe0
call fcn.140001366
jmp 0x1400c8e8b
call fcn.140001179
jmp 0x1400c8ea9
Function at 0x1400c8f00
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
lea rdi, [0x1401e55b0]
cmp qword [rdi - 8], 0
jne 0x1400c8f7f
cmp byte [rdi], 0
je 0x1400c8f2b
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
lea rbp, [0x1401e52e8]
cmp qword [rbp - 8], 0
jne 0x1400c8f86
cmp byte [rbp], 0
jne 0x1400c8f5c
movzx ecx, byte [rbx + 0x1b8]
test ecx, ecx
jne 0x1400c8f5c
mov rcx, rbx
mov edx, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp 0x1400c98a0
mov edx, esi
or esi, 0x80000000
cmp byte [rbx + 0x1b8], 0
cmove edx, esi
mov rcx, qword [rbx + 8]
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.1400c9fe0
call fcn.140001366
jmp 0x1400c8f1b
call fcn.140001179
jmp 0x1400c8f39
sub rsp, 0x28
cmp edx, 0x1009
jne 0x1400c98b3
xor eax, eax
add rsp, 0x28
ret
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov rcx, qword [rcx + 0x10]
lea r8, [rsp + 0x20]
call fcn.140131740
mov eax, dword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x1400c9f10
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 [0x1406920c0]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x430
lea rbx, [rsp + 0x20]
test rcx, rcx
je 0x1400c9f50
add rcx, 0xc
jmp 0x1400c9f52
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], edx
mov r8, rbx
mov qword [rbp + 0x30], r8
mov r9d, 0x212
mov dword [rbp + 0x40], r9d
lea rcx, [rbp + 8]
call fcn.140006bd0
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 esi, eax
lea rcx, [rbp + 8]
call fcn.140006c20
xor ecx, ecx
mov qword [rbp + 0x50], rcx
test esi, esi
jle 0x1400c9faa
mov rcx, rbx
call fcn.14009c6e0
jmp 0x1400c9fac
xor eax, eax
lea rcx, [0x1406920c0]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x1400c9fc1
call fcn.140004ad0
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c9fe0
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 0x1400ca016
add rcx, 0xc
jmp 0x1400ca018
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.140006bd0
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.140006c20
xor eax, eax
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 0x1400f6d80
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub rsp, 0x28
mov eax, 0x1505
xor edx, edx
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x1400f6dbd
nop dword [rax]
nop dword [rax + rax]
mov r10d, eax
shl r10d, 5
add eax, r10d
mov r10d, edx
movzx r10d, word [rcx + r10*2 + 0xc]
xor eax, r10d
inc edx
cmp r8d, edx
jg 0x1400f6da0
add rsp, 0x28
ret

Function at 0x14012d4c0
Capabilities:
Create directory

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 rbx, rdx
test rcx, rcx
je 0x14012d4ef
add rcx, 0xc
mov rsi, rcx
jmp 0x14012d4f1
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
mov rdx, rbx
mov qword [rbp - 0x50], rdx
lea rcx, [rbp - 0x78]
call fcn.140006bd0
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
call sub.KERNEL32.DLL_CreateDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012d57a
mov dword [rdi + 0x98], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012d560

Function at 0x14012da60
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 0x14012da8c
add rcx, 0xc
mov rbx, rcx
jmp 0x14012da8e
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140006bd0
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.DLL_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012db0c
mov dword [rdi + 0x98], esi
movzx eax, bl
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012daf2
Function at 0x14012e1d0
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 ebx, ecx
mov qword [rbp - 0x40], rdx
mov rsi, rdx
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov ecx, ebx
mov dword [rbp - 0x44], ecx
mov rdx, rsi
mov qword [rbp - 0x4c], rdx
lea rcx, [rbp - 0x78]
call fcn.140006bd0
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.DLL_GetCurrentDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012e270
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012e257

Function at 0x14012e810
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 ebx, edx
mov qword [rbp - 0x40], rcx
mov rsi, rcx
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rsi
mov qword [rbp - 0x4c], rcx
mov edx, ebx
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.140006bd0
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012e8b0
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012e897
Function at 0x14012f040
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 - 0x48], rax
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
mov r14, r9
mov r15, qword [rbp + 0x38]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov byte [rbp - 0x4c], 0
lea rcx, [0x1401e3c70]
call fcn.1401b83d0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], r15
mov r13d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], r15
mov rdx, rsi
mov qword [rbp - 0x60], rdx
mov r8, rdi
mov qword [rbp - 0x68], r8
mov r9, r14
mov qword [rbp - 0x70], r9
mov rcx, rbx
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0xa0]
call fcn.140006bd0
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.DLL_CreateThread
mov rbx, rax
lea rcx, [rbp - 0xa0]
call fcn.140006c20
nop
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x4c], 1
mov rax, qword [rbp - 0x58]
mov qword [rax + 8], rbx
mov rcx, rax
mov rax, rcx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14012f190
Capabilities:
Resume thread

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 - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14010c660
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x78]
call fcn.140006bd0
mov rcx, qword [rbp - 0x50]
call sub.KERNEL32.DLL_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006c20
nop
cmp byte [rbp - 0x40], 0
je 0x14012f201
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14010c6a0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14012f6d0
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 rbx, rcx
mov rsi, rdx
mov edi, 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, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140006bd0
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 ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012f79f
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012f786

Function at 0x14012f7b0
Capabilities:
Write 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 rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14010c660
mov rcx, qword [rbp - 0x48]
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 - 0x54], rcx
mov rdx, rbx
mov qword [rbp - 0x5c], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
mov r9, rdi
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.140006bd0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.DLL_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x14012f86d
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14010c6a0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012f8a9
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012f88d
Function at 0x14012f8f0
Capabilities:
Write 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]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14010c660
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
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 - 0x5c], rcx
mov rdx, rsi
mov qword [rbp - 0x64], rdx
mov r8d, edi
mov dword [rbp - 0x54], r8d
mov r9, rbx
mov qword [rbp - 0x6c], r9
lea rcx, [rbp - 0x98]
call fcn.140006bd0
mov rcx, qword [rbp - 0x5c]
mov rdx, qword [rbp - 0x64]
mov r8d, dword [rbp - 0x54]
mov r9, qword [rbp - 0x6c]
call sub.KERNEL32.DLL_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14012f9bf
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14010c6a0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012f9fb
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012f9df

Function at 0x14012ff00
Capabilities:
Query environment variable

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 qword [rbp - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
je 0x14012ff3a
add rcx, 0xc
mov rdi, rcx
jmp 0x14012ff3c
xor edi, edi
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rsi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.140006bd0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140006c20
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406a1818]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14012ffd1
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1401298d0]
call rax
mov rdi, rax
jmp 0x14012ffb8