joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008d7f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14008d82c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14008d836
add rdi, rbx
sub rsi, rbx
jne 0x14008d80a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x14008fb40
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14008fb8c
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14008fb97
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14008fb7a
mov qword [rdi], rsi
call fcn.140061fd0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140061fd0
mov r14, qword [rdi]
cmp qword [0x140142d48], 0
je 0x14008fbc8
mov rcx, qword [0x140142d48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140150008]
mov qword [rdi], 0
jmp 0x14008fb68
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14011a090]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008fc09
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14008fc03
call qword [0x140150008]
mov rcx, rax
xor edx, edx
call fcn.140021bd0
jmp 0x14008fba9
xor ecx, ecx
mov dl, 1
jmp 0x14008fbfc
xor ecx, ecx
jmp 0x14008fbfa

Function at 0x140091510
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], rdx
mov eax, dword [0x140144720]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009157b
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400915c5
mov rcx, qword [0x140144710]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x140144718]
mov rdx, qword [0x140144710]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140144720]
call fcn.140096578
cmp dword [0x140144720], 0xffffffff
jne 0x14009153c
mov qword [0x140144718], 0
lea rcx, [0x140144710]
mov qword [0x140144710], 0xffffffffffffffff
xor edx, edx
call fcn.140005670
lea rcx, [0x140144720]
call fcn.1400966f0
jmp 0x14009153c
test rsi, rsi
je 0x140091572
call fcn.1400051d0
jmp 0x14009154e
Function at 0x1400915e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140144720]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140091657
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140091643
mov rcx, qword [0x140144710]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140144718]
mov rdx, qword [0x140144710]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140091651
lock dec dword [rcx + 8]
je 0x1400916a1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140144720]
call fcn.140096578
cmp dword [0x140144720], 0xffffffff
jne 0x140091609
mov qword [0x140144718], 0
lea rcx, [0x140144710]
mov qword [0x140144710], 0xffffffffffffffff
xor edx, edx
call fcn.140005670
lea rcx, [0x140144720]
call fcn.1400966f0
jmp 0x140091609
add rsp, 0x20
pop rsi
jmp fcn.140075c60

Function at 0x140091bf0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [0x140144850]
cmp rbx, 1
jbe 0x140091c4c
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140091c40
mov rcx, qword [rbx]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rbx + 8]
mov rdx, qword [rbx]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140091c35
call fcn.1400051d0
jmp 0x140091c1c
lea rcx, [0x140144850]
call fcn.1400099e0
test al, al
je 0x140091c8f
mov qword [0x140144860], 0
lea rbx, [0x140144858]
mov qword [0x140144858], 0xffffffffffffffff
mov rcx, rbx
xor edx, edx
call fcn.140005670
mov qword [0x140144850], rbx
jmp 0x140091c0a
mov rbx, qword [0x140144850]
jmp 0x140091c0a

Function at 0x140091ca0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, qword [0x140144850]
cmp rsi, 1
jbe 0x140091ce7
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140091ce1
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140144850]
call fcn.1400099e0
test al, al
je 0x140091d27
mov qword [0x140144860], 0
lea rsi, [0x140144858]
mov qword [0x140144858], 0xffffffffffffffff
mov rcx, rsi
xor edx, edx
call fcn.140005670
mov qword [0x140144850], rsi
jmp 0x140091cb2
mov rsi, qword [0x140144850]
jmp 0x140091cb2
Function at 0x1400921e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov byte [rcx], dl
mov rdi, qword [0x140146210]
cmp rdi, 1
jbe 0x14009222d
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14009226d
mov rcx, qword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 8]
mov rdx, qword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140146210]
call fcn.1400099e0
test al, al
je 0x140092279
mov qword [0x140146220], 0
lea rdi, [0x140146218]
mov qword [0x140146218], 0xffffffffffffffff
mov rcx, rdi
xor edx, edx
call fcn.140005670
mov qword [0x140146210], rdi
jmp 0x1400921f8
test rsi, rsi
je 0x140092223
call fcn.1400051d0
jmp 0x14009220a
mov rdi, qword [0x140146210]
jmp 0x1400921f8

Function at 0x140092290
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, qword [0x140146210]
cmp rsi, 1
jbe 0x1400922d7
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400922d1
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140146210]
call fcn.1400099e0
test al, al
je 0x140092317
mov qword [0x140146220], 0
lea rsi, [0x140146218]
mov qword [0x140146218], 0xffffffffffffffff
mov rcx, rsi
xor edx, edx
call fcn.140005670
mov qword [0x140146210], rsi
jmp 0x1400922a2
mov rsi, qword [0x140146210]
jmp 0x1400922a2
Function at 0x140095130
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, 1
lock xadd dword [0x14014655c], eax
mov dword [rcx + 4], eax
mov eax, dword [0x140146558]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140095219
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400952b5
mov rcx, qword [0x140146548]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x140146550]
mov rdx, qword [0x140146548]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x140146570]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140095267
lea rdi, [rsi + 4]
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400952c8
mov rcx, qword [0x140146560]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [0x140146568]
mov rdx, qword [0x140146560]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140146558]
call fcn.140096578
cmp dword [0x140146558], 0xffffffff
jne 0x140095172
mov qword [0x140146550], 0
lea rcx, [0x140146548]
mov qword [0x140146548], 0xffffffffffffffff
xor edx, edx
call fcn.140005670
lea rcx, [0x140146558]
call fcn.1400966f0
jmp 0x140095172
lea rcx, [0x140146570]
call fcn.140096578
cmp dword [0x140146570], 0xffffffff
jne 0x1400951d1
mov qword [0x140146568], 0
lea rcx, [0x140146560]
mov qword [0x140146560], 0xffffffffffffffff
xor edx, edx
call fcn.140005670
lea rcx, [0x140146570]
call fcn.1400966f0
jmp 0x1400951d1
test rsi, rsi
je 0x1400951ac
call fcn.1400051d0
jmp 0x140095188
test rdi, rdi
je 0x14009520f
call fcn.1400051d0
jmp 0x1400951eb
Function at 0x1400952e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140146558]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400953a7
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140095343
mov rcx, qword [0x140146548]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140146550]
mov rdx, qword [0x140146548]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x140146570]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400953f5
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400953a2
mov rcx, qword [0x140146560]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140146568]
mov rdx, qword [0x140146560]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
ret
lea rcx, [0x140146558]
call fcn.140096578
cmp dword [0x140146558], 0xffffffff
jne 0x140095309
mov qword [0x140146550], 0
lea rcx, [0x140146548]
mov qword [0x140146548], 0xffffffffffffffff
xor edx, edx
call fcn.140005670
lea rcx, [0x140146558]
call fcn.1400966f0
jmp 0x140095309
lea rcx, [0x140146570]
call fcn.140096578
cmp dword [0x140146570], 0xffffffff
jne 0x140095368
mov qword [0x140146568], 0
lea rcx, [0x140146560]
mov qword [0x140146560], 0xffffffffffffffff
xor edx, edx
call fcn.140005670
lea rcx, [0x140146570]
call fcn.1400966f0
jmp 0x140095368
Function at 0x1400c03d8
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
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400c0408
xor eax, eax
jmp 0x1400c04cb
mov rbp, rbx
cmp word [rax], si
je 0x1400c042d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c0414
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c0410
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400c0328
movsxd r14, eax
test eax, eax
jne 0x1400c046b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c0401
mov rcx, r14
call fcn.1400550e0
mov rdi, rax
test rax, rax
jne 0x1400c0484
xor ecx, ecx
call fcn.14008e6f0
jmp 0x1400c0460
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400c0328
test eax, eax
jne 0x1400c04b5
mov rcx, rdi
call fcn.14008e6f0
jmp 0x1400c04bf
xor ecx, ecx
call fcn.14008e6f0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400c04e8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400c056f
mov rsi, rbx
cmp word [rax], bp
je 0x1400c052e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c0518
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c0514
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400550e0
mov rdi, rax
test rax, rax
je 0x1400c055c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14009a050
mov rbp, rdi
xor ecx, ecx
call fcn.14008e6f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c6bcc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400a46cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400c6c56
cmp byte [rbp - 0x21], r15b
je 0x1400c6c51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400c6c8c
call fcn.1400b9594
test eax, eax
jne 0x1400c6c78
cmp byte [rbp - 0x21], r15b
je 0x1400c6c70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400c6c8c
cmp byte [rbp - 0x21], r15b
je 0x1400c6c89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400a9b88
test eax, eax
jne 0x1400c6d2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400a46cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400c6ccb
cmp byte [rbp - 0x21], r15b
je 0x1400c6d00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400c6d00
call fcn.1400b9594
test eax, eax
jne 0x1400c6cec
cmp byte [rbp - 0x21], r15b
je 0x1400c6ce5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400c6d00
cmp byte [rbp - 0x21], r15b
je 0x1400c6cfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400a9b88
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400c6d2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400c6d2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400c6d3d
mov rcx, rdi
call fcn.14008e6f0
cmp byte [rbp + 0x3f], r15b
je 0x1400c6d4c
mov rcx, qword [rbp + 0x27]
call fcn.14008e6f0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400c81a0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14012c028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14013e5a0], 0
je 0x1400c81e6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400985e0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14013e598]
test rdi, rdi
je 0x1400c827a
cmp byte [rdi + 0x17], 0
jns 0x1400c81ff
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14013e5a0], rax
inc rax
cmp rax, 1
ja 0x1400c81c9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14009a700
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400c82e8
xor esi, esi
jmp 0x1400c81c9
mov ecx, 0x18
call fcn.14009633c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14009a700
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140114940]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14001c420
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400c83ac
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
jmp 0x1400c83b2
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140096858
mov rcx, qword [0x14013e598]
mov rdx, rdi
mov r8, rax
call fcn.140010b50
mov rcx, qword [0x14013e598]
call fcn.140054930
cmp word [rax], 0x5c
je 0x1400c8332
mov rcx, qword [0x14013e598]
lea rdx, [0x14011784c]
mov r8d, 1
call fcn.14000b640
mov rcx, qword [0x14013e598]
lea rdx, [0x140117850]
mov r8d, 9
call fcn.14000b640
mov rcx, qword [0x14013e598]
cmp byte [rcx + 0x17], 0
jns 0x1400c835b
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14013e5a0], rax
inc rax
cmp rax, 1
ja 0x1400c81c9
mov qword [0x14013e5a0], 0
jmp 0x1400c8273
and eax, 0x7f
mov rcx, rdi
test rax, rax
jne 0x1400c83d8
lea rdx, [0x140117850]
mov r8d, 9
mov rcx, rdi
call fcn.14000b640
mov qword [0x14013e598], rdi
jmp 0x1400c81f6
lea r8, [rax + rax]
test r8, r8
je 0x1400c83b7
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1400c83dc
cmp rdx, 0xfffffffffffffffe
je 0x1400c83b7
sar rdx, 1
inc rdx
cmp rax, rdx
jb 0x1400c840c
mov rcx, rdi
call fcn.1400c8ee0
jmp 0x1400c83b7
call fcn.1400ae5f0
int3
Function at 0x1400e07c0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.14009633c
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400e0830]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.1400a9d04
mov qword [rbx], rax
test rax, rax
je 0x1400e0817
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400f47f0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x1400f482a
test rax, rax
je 0x1400f48d0
mov rcx, qword [rbx]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rax, qword [rsi]
mov rdi, rax
sar rdi, 3
lea rcx, [rdi + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1400f48fc
movabs rdx, 0x1fffffffffffffff
mov r14, rax
sar r14, 2
cmp r14, rcx
cmovbe r14, rcx
movabs rcx, 0x7ffffffffffffff8
cmp rax, rcx
cmovae r14, rdx
test r14, r14
jne 0x1400f48c6
xor eax, eax
shl rdi, 3
add rdi, rax
je 0x1400f48d0
lea r14, [rax + r14*8]
mov rax, qword [rbx]
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub rdi, r8
mov rcx, rdi
call fcn.14009a050
mov rcx, qword [rsi]
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r14
test rcx, rcx
je 0x1400f4820
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400f4d80
mov rcx, r14
call fcn.1400f52f0
jmp 0x1400f4875
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400c9120
call fcn.1400ae5f0
int3

Function at 0x140100710
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14012c028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
mov rbx, 0xfffffffffffffffe
sub rbx, rdx
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x28]
mov qword [rsp + 0x28], r14
mov rcx, rdi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140100792
mov rax, qword [rsp + 0x28]
cmp rax, rbx
ja 0x140100750
xor edx, edx
div rsi
mov rsi, rdx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400985e0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x140100b70
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14012c028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x140100bf8
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x140100bf1
mov rdx, rcx
add rdi, rdx
cmp al, 1
jne 0x140100bb2
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400985e0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret