joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5cc0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b5f0b
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov ebx, dword [rax + 0x2c]
nop dword [rax + rax]
test ebx, ebx
jne 0x4b5d6c
mov qword [rsp + 0x88], rax
lea rbx, [0x006334a0]
mov rcx, rax
lea rax, [0x007a0c20]
call fcn.0046d540
test cl, cl
jne 0x4b5d51
mov rax, qword [rsp + 0x88]
call fcn.004b3d20
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x006982b8]
call fcn.0044e8e0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
nop dword [rax]
call fcn.004b7100
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x4b5d8d
lea rdx, [0x006331e0]
cmp rax, rdx
jne 0x4b5d7b
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
call fcn.00461120
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x00600e80]
call fcn.0040afe0
inc rdx
cmp rbx, rdx
jle 0x4b5dd8
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x4b5d8a
lea rax, [0x007a0c20]
lea rbx, [0x006334a0]
lea rdi, [0x006331e0]
call fcn.0046d700
lea rdx, [0x006331e0]
nop dword [rax]
cmp rax, rdx
jne 0x4b5efb
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rcx, [0x005f6b40]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x00613040]
nop
call fcn.0040ddc0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x007f4ad0], 0
jne 0x4b5e3a
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x4b5e49
mov rbx, rax
lea rax, [0x00613040]
call fcn.00413fc0
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
nop dword [rax]
call fcn.004b37e0
call fcn.004611e0
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x4b5e96
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
cmp rax, 1
jl 0x4b5e88
mov dword [rsi + 0x10], edx
cmp dword [0x007f4ad0], 0
jne 0x4b5eae
mov qword [rsi + 0x30], rcx
jmp 0x4b5eb7
lea rdi, [rsi + 0x30]
call fcn.00465a40
lea rax, [0x007a0c20]
lea rbx, [0x006334a0]
lea rdi, [0x006331e0]
call fcn.0046d700
lea rdx, [0x006331e0]
cmp rax, rdx
jne 0x4b5eec
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x00600e80]
call fcn.0040afe0
mov rbx, rdx
lea rcx, [0x00600e80]
call fcn.0040afe0
nop
mov qword [rsp + 8], rax
call fcn.00463760
mov rax, qword [rsp + 8]
jmp fcn.004b5cc0
Function at 0x526de0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x526f3b
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x0079ee38]
call fcn.004d7120
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x00526f60]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.00403780
xorps xmm15, xmm15
mov r14, qword [0x007f4968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x526efb
mov rdx, qword [rsp + 0x28]
cmp rdx, rcx
jb 0x526f35
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x526f2a
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rbx
sar rbx, 0x3f
and rcx, rbx
mov r8, qword [rsp + 0x38]
lea rax, [r8 + rcx]
mov rbx, rdi
lea rdx, [rsp + 0x50]
nop
call rsi
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rax, rcx
mov rcx, rbx
call fcn.00465ea0
call fcn.00465e20
nop
nop dword [rax + rax]
call fcn.00463760
jmp fcn.00526de0
Function at 0x544440
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x5446a1
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x544685
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x54448d
xor ebx, ebx
xor ecx, ecx
jmp 0x5444a0
mov rax, rdx
call fcn.00534a80
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x5445b8
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.00470480
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x00698250]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044e980
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00403780
xorps xmm15, xmm15
mov r14, qword [0x007f4968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x54457b
xor eax, eax
lea rbx, [0x00698458]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00638fae]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044ea60
jmp 0x5445a8
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x00698308]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044e980
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop dword [rax]
call fcn.00470480
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00403780
xorps xmm15, xmm15
mov r14, qword [0x007f4968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x544648
xor eax, eax
lea rbx, [0x00698458]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x00638fae]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call fcn.0044ea60
jmp 0x544675
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x00698308]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call fcn.0044e980
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x006394a7]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.00463760
mov rax, qword [rsp + 8]
jmp fcn.00544440
Function at 0x55bf60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x55c0a6
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x80], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x18], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x18]
nop
call fcn.0055bc00
movups xmmword [rsp + 0x40], xmm15
movups xmmword [rsp + 0x48], xmm15
movups xmmword [rsp + 0x58], xmm15
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x80]
xor eax, eax
jmp 0x55c000
inc rax
mov rcx, rbx
nop dword [rax + rax]
cmp rax, 5
jge 0x55c043
imul rdx, rax, 0x33
mov rsi, rdx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rsi
mov rdi, rdx
and rdx, 0xfffffffffffffff8
sub rsi, rdx
cmp rsi, 0x40
sbb rdx, rdx
mov r8, qword [rsp + rax*8 + 0x40]
mov rbx, rcx
mov rcx, rsi
shl r8, cl
and r8, rdx
mov qword [rsp + 0x10], r8
xor ecx, ecx
jmp 0x55c06c
test byte [rcx], al
mov rax, rcx
mov ebx, 0x20
mov rcx, rbx
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
movzx r8d, byte [rbx + rdi]
or r8d, edx
mov byte [rbx + rdi], r8b
inc rcx
mov rdi, rsi
cmp rcx, 8
jge 0x55bff5
movzx edx, byte [rsp + rcx + 0x10]
mov rsi, rdi
sar rdi, 3
add rdi, rcx
cmp rdi, 0x20
jge 0x55bff5
test byte [rbx], al
cmp rdi, 0x20
jb 0x55c05a
mov rax, rdi
mov ecx, 0x20
nop dword [rax + rax]
call fcn.00465de0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463760
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.0055bf60
Function at 0x55d500
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x55d585
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x55d6e6
cmp rcx, 0xe
jne 0x55d600
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x55d6e6
cmp rcx, 0xf
jne 0x55d677
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x55d6e6
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x568180
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x568198
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x568198
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x5681a0
xor eax, eax
ret
cmp rbx, 3
je 0x5681ac
cmp rbx, 4
jne 0x5681d9
cmp al, 0x2c
ja 0x5681c6
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x5681d6
cmp al, 0x24
je 0x5681d6
nop dword [rax]
cmp al, 0x26
jae 0x5681d6
jmp 0x5681d9
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x5681d6
cmp al, 0x5b
je 0x5681d6
cmp al, 0x5d
jne 0x5681d9
xor eax, eax
ret
cmp al, 0x2f
ja 0x568212
nop dword [rax]
cmp al, 0x26
ja 0x5681f1
cmp al, 0x24
je 0x568231
cmp al, 0x26
je 0x568231
jmp 0x5682ab
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x568231
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x5682a8
cmp al, 0x2f
je 0x568231
jmp 0x5682ab
cmp al, 0x3d
ja 0x568229
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x568231
nop
cmp al, 0x3d
je 0x568231
jmp 0x5682ab
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x5682a0
cmp rbx, 2
jg 0x568267
cmp rbx, 1
je 0x568261
nop dword [rax]
cmp rbx, 2
jne 0x5682ab
cmp al, 0x2f
je 0x568252
cmp al, 0x3b
je 0x568252
cmp al, 0x2c
jne 0x568259
mov ecx, 1
jmp 0x56825e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x56828a
cmp al, 0x40
je 0x568279
cmp al, 0x2f
je 0x568279
cmp al, 0x3f
jne 0x568282
mov ecx, 1
nop
jmp 0x568287
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x568299
cmp rbx, 7
jne 0x5682ab
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x5682a8
cmp al, 0x7e
jne 0x5682ab
xor eax, eax
ret
cmp rbx, 7
jne 0x5682c1
cmp al, 0x21
je 0x5682bd
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x5682c1
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x5a8280
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x007f8cb0], rax
test rax, rax
je 0x5a82b5
lea rcx, [0x007f8cc0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.005a9eb0]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop

Function at 0x5a8b50
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.005a9eb0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.005a9eb0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x5a8bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x007f92f4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x5a8d68
mov rax, qword [0x007f92f8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x5a8c0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x5a8c97
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x5a8bf0
mov rcx, r12
call fcn.005a9920
mov rbp, rax
test rax, rax
je 0x5a8da2
mov rax, qword [0x007f92f8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.005a9a50
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x007f92f8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x5a8db1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x5a8c90
sub eax, 4
and eax, 0xfffffffb
jne 0x5a8d20
add dword [0x007f92f4], 1
cmp ebx, 8
jae 0x5a8cc8
test bl, 4
jne 0x5a8d70
test ebx, ebx
je 0x5a8cb9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x5a8d90
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x5a8cb9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x5a8cfa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x007f92f8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x5a8c90
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.005a8b50
nop dword [rax]
xor edi, edi
jmp 0x5a8c17
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x5a8cb9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x5a8cb9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.005a8b50
mov rax, qword [0x007f92f8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.005a8b50
nop
nop dword [rax]
Function at 0x5a9590
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x007f95e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x007f95c0]
test rbx, rbx
je 0x5a95e4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x5a95db
test r12, r12
je 0x5a95db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x5a95c0
lea rcx, [0x007f95e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x5a9920
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x0079ae90]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x5a9999
mov rcx, r10
call fcn.005a97f0
test eax, eax
je 0x5a9999
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x5a9996
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x5a998d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x5a9999
add r8, 0x28
cmp r8, r9
jne 0x5a9978
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140132ea0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140132ead
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140132ebd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140132ea5
lea eax, [rcx + 1]
jmp 0x140132ecb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140132ede
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140132ec4
sub eax, 3
jb 0x140132efe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140132f4d
sar eax, 1
movsxd rbp, eax
jb 0x140132f34
jmp 0x140132f0c
add ebx, ebx
jne 0x140132f0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140132f34
inc ecx
add ebx, ebx
jne 0x140132f1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140132f34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140132f2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140132f1c
add ecx, 2
jmp 0x140132f39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140132e62
jmp 0x140132ead
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd4800
mov dl, 0x1a
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140132f9d
cmp rsi, rcx
jae 0x140132fa5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140132f84
cmp al, 0x8f
ja 0x140132f84
cmp byte [rsi - 2], 0xf
je 0x140132f8a
sub al, 0xe8
cmp al, 1
ja 0x140132f6e
cmp rsi, rcx
jae 0x140132fa5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140132f74
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140132fa5
lodsb al, byte [rsi]
jmp 0x140132f84
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x12e000]
mov eax, dword [rdi]
or eax, eax
je 0x140133002
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1334ec]
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 0x140132fb2
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 0x140132ffc
mov qword [rbx], rax
add rbx, 8
jmp 0x140132fd2
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 0x14013303c
cmp al, 0xef
ja 0x14013302e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14013300e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14013301d
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 + 0x1af]
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
mov byte [fcn.1401330bb], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1401330bb
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401330ab
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x14001125d
Capabilities:
Terminate process

Disassembly:
jmp 0x140014350
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112fd
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400156a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400156c0
xor al, al
jmp 0x140015741
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400156d3
xor al, al
jmp 0x140015741
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400156fd
xor al, al
jmp 0x140015741
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015711
xor al, al
jmp 0x140015741
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015723
xor al, al
jmp 0x140015741
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001573f
xor al, al
jmp 0x140015741
mov al, 1
add rsp, 0x38
ret
Function at 0x140001460
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [entry0]
lea rcx, [0x140002d50]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, rbx
call fcn.1400014fc
lea rax, [0x1400014b0]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x28]
or dword [rax + 0x68], 0x20
call fcn.14000179c
call fcn.1400019a4
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400014fc
Capabilities:
Create device object
Print debug messages

Disassembly:
push rbx
sub rsp, 0x60
lea rax, section..text
mov rbx, rcx
mov qword [rcx + 0x70], rax
lea rdx, [0x140002c70]
lea rax, section..text
mov qword [rcx + 0x80], rax
lea rax, [0x140001020]
mov qword [rcx + 0xe0], rax
lea rax, [0x1400014b0]
mov qword [rcx + 0x68], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x70]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x1400015c3
lea rdx, [0x140002c90]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test eax, eax
jns 0x1400015ae
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, ebx
jmp 0x1400015c3
lea rdx, [0x140002c70]
lea rcx, [0x140002cb0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x140001694
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, rdx
mov rbx, rdx
call fcn.140002230
test rax, rax
jne 0x1400016ba
lea rcx, [0x140002e90]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x1400016d6
lea rcx, [rax + 0x428]
call fcn.1400019e8
mov edx, ebx
lea rcx, [0x140002eb0]
call sub.ntoskrnl.exe_DbgPrint
mov al, 1
add rsp, 0x20
pop rbx
ret