joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c760
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x00594591], 0
jne 0x41c847
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41c83a
lea rbx, [0x00566978]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41c820
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.0045d8e0
lea rax, [0x004af293]
mov ebx, 0x2c
call fcn.00432f20
nop
int3

Function at 0x41eb20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41ec26
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x41eb63
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41ec1b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.0041f920
test rax, rax
je 0x41ec1b
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x0041ec60]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.0045b500
xorps xmm15, xmm15
mov r14, qword [0x005947a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41ec09
xor eax, eax
jmp 0x41ec13
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41eb51
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.0045b640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.0041eb20
Function at 0x42cc20
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42cea6
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42ce9a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x00594591], 0
jne 0x42cc7a
xor edx, edx
xor ebx, ebx
jmp 0x42ccc0
xor edx, edx
jmp 0x42cca5
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041bfc0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42cc7e
add rax, 0x1268
call fcn.0042cba0
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x42ce34
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x42ccbb
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.00411980
test rax, rax
jne 0x42cd0c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42ccbb
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x42cd4c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42ccbb
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x42ce8d
lea r10, [0x00566978]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x42cdcf
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x42ce05
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42ccbb
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42ce85
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42ccbb
cmp rbx, 0x200
ja 0x42ce74
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00422820
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042cba0
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.0045d940
mov rax, r8
call fcn.0045d8c0
mov rax, r8
mov ecx, 0x40
call fcn.0045d8e0
mov edx, 0x200
nop
call fcn.0045d920
nop
mov qword [rsp + 8], rax
call fcn.00462100
mov rax, qword [rsp + 8]
jmp fcn.0042cc20
Function at 0x441ac0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x441c27
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x441ad2
cmp edx, ecx
jne 0x441c15
nop word [rax + rax]
test rsi, rsi
jne 0x441c15
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x441b34
nop
call fcn.0045f120
xorps xmm15, xmm15
mov r14, qword [0x005947a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.004419e0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x441c10
mov rdx, qword [0x005416b8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x441c05
mov rcx, qword [0x005416b0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00542210]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00542210], rax
nop
mov edx, 1
lea rsi, [0x00542218]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x441bf3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004aea90]
mov ebx, 0x28
nop
call fcn.00432f20
mov rax, rsi
mov rcx, rdx
call fcn.0045d8c0
call fcn.004315c0
lea rax, [0x004ade51]
mov ebx, 0x23
call fcn.00432f20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00441ac0
Function at 0x44c8e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44ca57
movzx edx, byte [rax]
test edx, edx
jne 0x44c914
nop dword [rax]
test r8b, r8b
jne 0x44c914
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44c927
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44ca17
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44ca05
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44c9f7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44c97d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44c9c0
mov eax, 1
cmp rax, rbx
ja 0x44c9ab
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.0045d980
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44c9ef
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44c9b3
mov rcx, r11
mov eax, r12d
jmp 0x44c982
mov rcx, rbx
call fcn.0045d8c0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045d8c0
mov eax, r8d
mov rcx, rbx
call fcn.0045d980
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44ca4d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44ca10
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44c92d
mov eax, edx
mov rcx, rbx
call fcn.0045d8c0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045d8c0
nop
int3
Function at 0x453e20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x453ecf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00453f20]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045b500
xorps xmm15, xmm15
mov r14, qword [0x005947a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045b640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00453e20
Function at 0x45d420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403183
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408dc0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403160
cmp byte [0x0059458a], 0
je 0x45d435
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45a680
jmp 0x403160

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

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00594840]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0059458a], 0
je 0x45d475
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00594b00]
aesenc xmm0, xmmword [0x00594b10]
aesenc xmm0, xmmword [0x00594b20]
movq rax, xmm0
ret
jmp 0x408fe0

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

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00594840]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0059458a], 0
je 0x45d4b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00594b00]
aesenc xmm0, xmmword [0x00594b10]
aesenc xmm0, xmmword [0x00594b20]
movq rax, xmm0
ret
jmp 0x409040

Function at 0x45f180
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45f1b4
mov rcx, 0x28
jmp 0x45f1bf
shl rcx, 3
add rcx, 0x1480
mov qword [0x005947a8], rcx
pop rbp
ret
Function at 0x474940
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x474a0a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403100
xorps xmm15, xmm15
mov r14, qword [0x005947a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4749ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00493c80]
xor ebx, ebx
mov rcx, rdx
call fcn.00445b40
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00474f20
inc rbx
cmp rcx, rbx
jae 0x4749de
mov edi, 1
lea rsi, [0x00493c80]
call fcn.00445c20
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004c9698]
lea rsi, [0x004c8fc8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00474940
Function at 0x140064da0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140064dad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140064dbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140064da5
lea eax, [rcx + 1]
jmp 0x140064dcb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140064dde
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140064dc4
sub eax, 3
jb 0x140064dfe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140064e4d
sar eax, 1
movsxd rbp, eax
jb 0x140064e34
jmp 0x140064e0c
add ebx, ebx
jne 0x140064e0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064e34
inc ecx
add ebx, ebx
jne 0x140064e1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064e34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140064e2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140064e1c
add ecx, 2
jmp 0x140064e39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140064d62
jmp 0x140064dad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140064e99
cmp rsi, rcx
jae 0x140064ea1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140064e80
cmp al, 0x8f
ja 0x140064e80
cmp byte [rsi - 2], 0xf
je 0x140064e86
sub al, 0xe8
cmp al, 1
ja 0x140064e6a
cmp rsi, rcx
jae 0x140064ea1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140064e70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140064ea1
lodsb al, byte [rsi]
jmp 0x140064e80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x62000]
mov eax, dword [rdi]
or eax, eax
je 0x140064f0a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x744bc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140064eae
jns 0x140064ee3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140064eed
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140064f04
mov qword [rbx], rax
add rbx, 8
jmp 0x140064ece
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140064f44
cmp al, 0xef
ja 0x140064f36
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140064f16
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140064f25
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140064f98
sub rsp, 0xffffffffffffff80
jmp 0x14000afa0
Function at 0x140006be4
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400222a0]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r12d, r12d
lea rax, [rsp + 0x30]
mov qword [rdx], r12
lea r8, [rsp + 0x30]
mov r14d, r12d
sub rcx, rax
mov r15, rdx
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140006c59
movzx eax, word [rcx + r8]
test ax, ax
je 0x140006c59
mov word [r8], ax
add r8, 2
sub r9, 1
jne 0x140006c35
lea rax, [r8 - 2]
test r9, r9
lea rcx, [rsp + 0x30]
cmovne rax, r8
lea r8, [0x1400186e0]
mov word [rax], r12w
call fcn.140002d70
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140006cc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140006dd2
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.1400046a8
mov esi, eax
jmp 0x140006daf
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r12d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.1400049d0
mov esi, eax
test eax, eax
jns 0x140006d0d
mov rcx, qword [rbp + 0x178]
lea r8, [0x14001867c]
mov r9d, eax
mov edx, 0xcf
call fcn.140004670
mov rcx, rbx
call fcn.140004740
jmp 0x140006daf
lea r8, [0x1400186e8]
lea rcx, [rsp + 0x30]
call fcn.140002d70
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140006d50
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.1400046a8
mov esi, eax
jmp 0x140006d00
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400049d0
mov esi, eax
test eax, eax
jns 0x140006d8b
mov rcx, qword [rbp + 0x178]
lea r8, [0x14001867c]
mov r9d, eax
mov edx, 0xd7
call fcn.140004670
mov rcx, rdi
call fcn.140004740
jmp 0x140006d00
mov rcx, rdi
call fcn.140004740
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140004740
mov esi, r12d
test esi, esi
jns 0x140006dd2
mov rcx, qword [rbp + 0x178]
lea r8, [0x14001867c]
mov r9d, esi
mov edx, 0x62
call fcn.140004670
mov eax, esi
jmp 0x140006dd7
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400142a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000a168
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400222a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
je 0x14000a1c6
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
cmp byte [rax + 8], 0
jne 0x14000a1c6
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000a1da
mov rax, qword [0x140022ad0]
cmp qword [rcx], rax
jb 0x14000a1da
ja 0x14000a1da
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400142a0
add rsp, 0x50
pop rbx
ret
mov rcx, qword [section..data]
lea rax, section..data
mov ebx, 0x8000ffff
cmp rcx, rax
je 0x14000a210
test byte [rcx + 0x1c], 1
je 0x14000a210
mov rcx, qword [rcx + 0x10]
lea r8, [0x140018928]
mov edx, 0xa
mov r9d, ebx
call fcn.1400055bc
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140008134
lea rdx, [0x14001dbc8]
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
Function at 0x14000a55c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400222a0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov bpl, dl
mov rdi, rcx
cmp byte [0x140022c2c], 0
je 0x14000a65d
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
jne 0x14000a639
lea ebx, [rax + 1]
lock xadd dword [0x140022a38], ebx
inc ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
lea rsi, [rdi + 0x48]
mov rax, qword [rsp + 0x20]
mov qword [rsi], rax
mov byte [rdi + 0x50], bpl
mov rdx, rsi
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
call fcn.14000aefc
mov rdi, rax
mov qword [rsp + 0x28], rax
lea rbx, [rax + 0x10]
mov qword [rsp + 0x30], rbx
mov rdx, qword [rax]
mov rcx, rax
mov rax, qword [rdx + 0x10]
call qword [0x140018000]
nop
mov rdx, rsi
mov rcx, rbx
call fcn.14000aca0
mov qword [rax], rsi
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [0x140018000]
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400142a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x14000a68b
test byte [rcx + 0x1c], 1
je 0x14000a68b
mov edx, 0x13
lea r8, [0x140018928]
mov rcx, qword [rcx + 0x10]
call fcn.140009df0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x38]
call fcn.14000a6c4
lea rdx, [0x14001dcc0]
lea rcx, [rsp + 0x38]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3

Function at 0x14000a7cc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov r9d, dword [rcx + 0x40]
test r9d, r9d
je 0x14000a80b
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x14000a80b
test byte [rcx + 0x1c], 0x10
je 0x14000a80b
mov edx, 0x14
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 0x10]
call fcn.140009ecc
nop
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
nop
lea rcx, [rbx + 0x48]
cmp rax, rcx
jne 0x14000a872
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
nop
cmp byte [rax + 0xa], 0
je 0x14000a84d
call qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
nop dword [rax + rax]
nop
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
call fcn.14000b124
nop
xor edx, edx
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
nop
add rbx, 0x58
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14000a898
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140018000]
nop
and qword [rbx + 0x38], 0
add rsp, 0x30
pop rbx
ret