joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002520
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002540
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140002548
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140002560
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002580
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002588
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002580
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002580
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400025cc
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400025e0
add rdx, 0x28
cmp rdx, r9
jne 0x1400025b8
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400025f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002612
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002620
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002612
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002612
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002612
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000266d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002680
add rdx, 0x28
cmp r10, rdx
jne 0x140002658
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000268f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000269f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002676
test ecx, ecx
jg 0x140002688
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001be4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c2e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c30
xor al, al
add rsp, 0x28
ret
Function at 0x414c90
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x414c08
movsx edx, byte [rdx]
test dl, dl
je 0x414b56
xor eax, eax
nop
add rax, 1
cmp byte [rbx + rax], 0
jne 0x414b40
cmp rax, 0xf9c
ja 0x414c43
mov rdi, qword [rsi]
mov eax, 1
xchg byte [rdi], al
test al, al
je 0x414b6c
mov rcx, rdi
call fcn.00438d60
mov rcx, qword [rsi + 8]
lea rax, [rcx - 1]
cmp rax, 1
jbe 0x414c30
cmp rcx, 0xffffffffffffffff
je 0x414c30
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsi + 8], 0xffffffffffffffff
cmp byte [rbx], 0x73
jne 0x414bed
lea r8, str.stdout
mov rax, rbx
jmp 0x414bb5
test r10d, r10d
je 0x414c10
add rax, 1
add r8, 1
movzx ecx, byte [rax]
cmp byte [r8], cl
movsx r10d, byte [rax]
je 0x414bb0
lea rdx, str.stderr
mov rax, rbx
jmp 0x414bda
test r8d, r8d
je 0x414c20
add rax, 1
add rdx, 1
movzx ecx, byte [rax]
cmp byte [rdx], cl
movsx r8d, byte [rax]
je 0x414bd5
lea rcx, [rsi + 0x10]
mov r9, rbx
mov edx, 0x1000
lea r8, [0x0059ecf3]
call fcn.0040bf10
mov byte [rdi], 0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov qword [rsi + 8], 1
jmp 0x414c05
mov qword [rsi + 8], 2
jmp 0x414c05
mov qword [rsi + 8], 0xffffffffffffffff
cmp byte [rbx], 0x73
je 0x414b9b
jmp 0x414bed
movsx eax, byte [rbx + 7]
lea rcx, str.ERROR:_Path_is_too_long:__c_c_c_c_c_c_c_c..._n
movsx r9d, byte [rbx + 2]
movsx r8d, byte [rbx + 1]
mov dword [rsp + 0x40], eax
movsx eax, byte [rbx + 6]
mov dword [rsp + 0x38], eax
movsx eax, byte [rbx + 5]
mov dword [rsp + 0x30], eax
movsx eax, byte [rbx + 4]
mov dword [rsp + 0x28], eax
movsx eax, byte [rbx + 3]
mov dword [rsp + 0x20], eax
call fcn.0040d370
call fcn.00406930
nop
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
test rax, rax
mov qword [rdx], 0
mov qword [r8], 0
mov qword [r9], 0
je 0x414cb4
jmp fcn.0040e930
mov eax, 1
ret
Function at 0x441080
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rax + 0x30]
cmp qword [rcx + 0x90], rax
jne 0x441224
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rbx, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rbx + 0xd8], rcx
mov rcx, qword [rax + 0x30]
movups xmm0, xmmword [rcx + 0x2e0]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x2f0]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x300]
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rax + 0x78]
mov qword [rsp + 0x18], rdx
call fcn.004a1860
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe8], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x350], edx
mov rcx, qword [rsp + 0x78]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x10], rcx
call fcn.00441280
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x58], rcx
jmp 0x4411af
nop
mov rax, qword [0x0063fc60]
mov qword [rsp], rax
mov dword [rsp + 8], 0
call fcn.004a8c60
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, rax
xor eax, eax
mov ebx, 1
lock cmpxchg dword [rcx + 0x350], ebx
sete sil
test sil, sil
je 0x44118c
mov rax, qword [rdx + 0x30]
mov byte [rax + 0xe8], 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x18]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0047f320
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x2e0], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x2f0], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x300], xmm0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
call fcn.004762e0
lea rax, [0x0056789e]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1e
nop dword [rax]
call fcn.00476d60
call fcn.00476380
mov dword [rsp], 2
call fcn.004703c0
mov rax, qword [rsp + 0x60]
nop dword [rax + rax]
jmp 0x4410b4
Function at 0x45ef60
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x006831f2], 0
jne 0x45f0c5
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x45f06e
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x45f0ba
lea rbx, [0x00665098]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x45f02f
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x45f08a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x45ef95
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x45ef95
mov ecx, 0x40
nop
call fcn.004a7020
lea rax, [0x00569dcc]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00474b00
nop
int3
Function at 0x466500
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x46676e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x0066ba50]
mov qword [rsp], rax
call fcn.00448f80
lea rax, [0x0066b9c0]
mov qword [rsp], rax
call fcn.004572a0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x0066ba50]
mov qword [rsp], rcx
call fcn.004491e0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x006834b0], 0
jne 0x46675f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x006834b0], 0
nop dword [rax]
jne 0x466738
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00466060
cmp byte [rsp + 0x10], 0
je 0x4666d6
cmp dword [0x00683230], 0
jne 0x4665f4
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.00451c00
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.0045e000
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x006242c1]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.0045de60
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x4665e2
cmp byte [rax + 0xb1], 0
je 0x4665e2
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x4665e2
nop
nop
lea rax, [0x0066ba50]
mov qword [rsp], rax
call fcn.00448f80
nop
mov rax, qword [0x0066b9f0]
sub rax, qword [0x0066b9c0]
mov qword [0x0066b9f0], rax
mov rax, qword [0x0066b9d8]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x0066b9d8], rcx
nop
nop
lea rax, [0x0066ba50]
mov qword [rsp], rax
call fcn.004491e0
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.004a6ca0
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.004a6c60
jmp 0x4665bb
mov rcx, qword [rsp + 0x68]
call fcn.004a6c60
jmp 0x466588
call fcn.004a4e00
jmp fcn.00466500
Function at 0x4a69e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x43fa80
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.004475a0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.004a4e00
jmp 0x43fa20
cmp byte [0x006831f1], 0
je 0x4a69ff
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp 0x4a3e20
jmp 0x43fa20

Function at 0x4a6a20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x006834e0]
nop
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*4]
xor rax, rcx
shl rcx, 0x20
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rcx, rax
movabs rax, 0x83cf8eadf876d2d7
imul rax, rcx
mov rcx, rax
shr rax, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x006831f1], 0
je 0x4a6a5c
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x006837c0]
aesenc xmm0, xmmword [0x006837d0]
aesenc xmm0, xmmword [0x006837e0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x447820

Function at 0x4a6a80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x006834e0]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x006831f1], 0
je 0x4a6abd
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x006837c0]
aesenc xmm0, xmmword [0x006837d0]
aesenc xmm0, xmmword [0x006837e0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x4478a0

Function at 0x4a8940
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle_1]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00683740]
mov qword [rsp + 8], rdx
lea r8d, [0x00683208]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile_1]
call rax
add rsp, 0x30
ret
Function at 0x4b9480
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4b96c0
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp], rax
call fcn.004a8440
mov rax, qword [rsp + 0x58]
test byte [rax], al
lea rcx, [rax + 8]
mov qword [rsp + 0x40], rcx
mov qword [rsp], rcx
call fcn.004a8320
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
add rcx, 0x2e
imul rcx, rcx, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
imul rcx
sar rdx, 5
sar rcx, 0x3f
sub rdx, rcx
lea rax, [rdx + 0x15c]
sar rax, 0x3f
shr rax, 0x3d
lea rax, [rax + rdx]
lea rax, [rax + 0x15c]
sar rax, 3
mov qword [rsp + 0x18], rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp], rcx
call fcn.004a8320
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x18]
nop word [rax + rax]
cmp rdx, 0x57
jae 0x4b96ae
mov qword [rsp + 0x38], rcx
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x30], rax
lea rcx, [0x00630400]
lea rbx, [rcx + rax*8]
lea rbx, [rbx + 8]
mov qword [rsp], rbx
call fcn.004a8320
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea rdx, [0x00630400]
add rax, qword [rdx + rcx*8 + 8]
add rax, 0x40
cmp rax, 0xffffffffffffffc4
jge 0x4b95a0
mov rax, qword [rsp + 0x18]
inc rax
jmp 0x4b9516
cmp rax, 0xffffffffffffffe0
jle 0x4b95b4
mov rcx, qword [rsp + 0x18]
lea rax, [rcx - 1]
jmp 0x4b9516
lea rax, [rdx + rcx*8]
mov qword [rsp], rax
mov qword [rsp + 8], 0x18
call fcn.004a83a0
mov rax, qword [rsp + 0x30]
lea rcx, [0x00630400]
mov rdx, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x38], rdx
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp], rcx
call fcn.004a8320
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
mov rdx, rax
mov rax, rcx
mov rbx, qword [rsp + 0x28]
mov rcx, rdx
mul rbx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x10], rax
mov qword [rsp], rcx
nop
call fcn.004a8360
mov rax, qword [rsp + 0x10]
shr rax, 0x3f
mov rcx, qword [rsp + 0x20]
add rax, rcx
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.004a8320
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x40]
mov qword [rsp], rdx
call fcn.004a8360
mov rax, qword [rsp + 0x38]
add rax, 0x40
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 8], rax
nop
call fcn.004a8460
mov rax, qword [rsp + 0x18]
mov rcx, rax
shl rax, 3
add rax, 0xfffffffffffffea4
neg rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rdx
mov ecx, 0x57
call fcn.004a7000
nop
nop dword [rax]
call fcn.004a4e00
jmp fcn.004b9480
Function at 0x14001ba30
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
je 0x14001ba72
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14001ba57
mov rcx, rdi
int3
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14001ba79
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140090d40
mov edi, 2
jmp 0x14001ba57
jb 0x14001ba83
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x14001ba93
cvtsi2ss xmm0, rax
jmp 0x14001baa8
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.14008f190
cvttss2si rcx, xmm0
movss xmm1, dword [0x1400d5cc8]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
btc rax, 0x3f
ucomiss xmm0, xmm1
cmovb rax, rcx
cmp rbx, 3
jb 0x14001bb5a
mov rcx, rbx
shr rcx, 1
movabs r8, 0x5555555555555555
and r8, rcx
mov rdx, rbx
sub rdx, r8
movabs r8, 0x3333333333333333
mov rcx, rdx
shr rcx, 2
and rdx, r8
and rcx, r8
add rcx, rdx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x14001bb5a
cmp rax, 2
jb 0x14001bb62
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x14001bb62
mov rcx, rax
int3
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jae 0x14001ba7b
jmp 0x14001ba60
Function at 0x14002b430
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x1400ec028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140069150
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002b4cf
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.14007cc48
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
int3
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140066890
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002b500
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1400ec028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140069150
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002b595
cmp word [rsp + 0x70], 0
je 0x14002b595
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14007cc48
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
int3
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140066890
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400d5930]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400476e0
mov rcx, rdi
call fcn.14002b430
test al, al
je 0x14002b5d5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140047700
jmp 0x14002b5f4
lea rax, [0x1400d969a]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
int3
lea rcx, [rsp + 0x40]
call fcn.140047800
jmp 0x14002b577
Function at 0x1400313e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400ef1e8]
cmp ecx, 0xffffffff
je 0x140031405
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x140031400

Function at 0x140031410
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov ecx, dword [0x1400ef1e8]
cmp ecx, 0xffffffff
je 0x1400314ee
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400314ee
mov eax, dword [0x1400f5228]
mov ecx, dword [0x1400ef384]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400314f8
mov rbx, qword [0x1400f5220]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003153e
mov rax, qword [0x1400f3a18]
inc rax
xor ecx, ecx
lea rdx, [0x1400f3a20]
lea edi, [rax + rcx]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rdx + rsi*8], 0
jne 0x14003154b
lea rax, [rdx + rsi*8]
mov dword [rax], 1
mov qword [rax + 8], r14
mov qword [0x1400f3a18], rdi
mov dword [r15], edi
mov eax, dword [rax + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x140031560
cmp eax, 0x100
jge 0x140031563
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140031570
jmp 0x14003143e
lea rcx, [0x1400f5228]
int3
mov rcx, rbx
int3
inc rcx
cmp rcx, 0x100
jne 0x14003148e
jmp 0x1400314c2
int3
int3

Function at 0x1400343e0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r14, r8
mov ebx, edx
mov rdi, rcx
mov esi, dword [0x1400f5420]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test ebp, ebp
jne 0x1400344f2
cmp rsi, 1
je 0x1400344ee
mov eax, dword [rdi + 0x1518]
test eax, eax
jne 0x1400344ee
mov eax, 1
lock xadd dword [rdi + 0x1518], eax
cmp eax, 0x7fffffff
je 0x1400344ff
mov rcx, rdi
int3
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x1400344d5
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140034413
int3

Function at 0x140034940
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, dword [0x1400f5420]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test edi, edi
jne 0x140034977
cmp rsi, 2
jb 0x140034981
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400550c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140034963
add rsp, 0x28
pop rdi
pop rsi
ret