joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e100
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45e1af
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, [0x0045e200]
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 + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00467360
xorps xmm15, xmm15
mov r14, qword [0x0069f4b8]
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.00467480
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.0045e100
Function at 0x469280
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404523
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a2c0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00467480
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404500
cmp byte [0x0069f28b], 0
je 0x469295
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x4664c0
jmp 0x404500

Function at 0x4692a0
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 [0x0069f5a0]
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 [0x0069f28b], 0
je 0x4692d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0069f900]
aesenc xmm0, xmmword [0x0069f910]
aesenc xmm0, xmmword [0x0069f920]
movq rax, xmm0
ret
jmp 0x40a4e0

Function at 0x4692e0
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 [0x0069f5a0]
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 [0x0069f28b], 0
je 0x469316
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0069f900]
aesenc xmm0, xmmword [0x0069f910]
aesenc xmm0, xmmword [0x0069f920]
movq rax, xmm0
ret
jmp 0x40a540

Function at 0x46b0c0
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 0x46b0f4
mov rcx, 0x28
jmp 0x46b0ff
shl rcx, 3
add rcx, 0x1480
mov qword [0x0069f4b8], rcx
pop rbp
ret
Function at 0x483520
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48375b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x4835ba
mov qword [rsp + 0x88], rax
lea rbx, [0x00515fc0]
mov rcx, rax
lea rax, [0x0061a780]
call fcn.0047d940
test cl, cl
jne 0x4835a3
mov rax, qword [rsp + 0x88]
call fcn.00482820
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x0054d2d8]
call fcn.00451ba0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.004849e0
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x4835d7
lea rdx, [0x00513060]
cmp rax, rdx
jne 0x4835c5
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.00465160
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004fb560]
call fcn.0040b340
inc rdx
cmp rbx, rdx
jle 0x483621
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x4835d4
lea rax, [0x0061a780]
lea rbx, [0x00515fc0]
lea rdi, [0x00513060]
nop dword [rax + rax]
call fcn.0047db00
lea rdx, [0x00513060]
cmp rax, rdx
jne 0x48374b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x004f35a0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x00500a40]
call fcn.0040e640
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x0069f4f0], 0
nop
je 0x48367b
mov rbx, rax
lea rax, [0x00500a40]
call fcn.00413ba0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
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
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.004014c0
call fcn.00465220
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x4836e2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x4836d4
mov dword [rsi + 0x10], edx
cmp dword [0x0069f4f0], 0
je 0x483703
call fcn.004693c0
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x0061a780]
lea rbx, [0x00515fc0]
lea rdi, [0x00513060]
nop dword [rax]
call fcn.0047db00
lea rdx, [0x00513060]
cmp rax, rdx
jne 0x48373c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004fb560]
call fcn.0040b340
mov rbx, rdx
lea rcx, [0x004fb560]
call fcn.0040b340
nop
mov qword [rsp + 8], rax
call fcn.00467480
mov rax, qword [rsp + 8]
jmp fcn.00483520
Function at 0x493980
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x493a4a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403a00
xorps xmm15, xmm15
mov r14, qword [0x0069f4b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x493a2f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004f6fe0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044de00
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.00494700
inc rbx
cmp rcx, rbx
jae 0x493a1e
mov edi, 1
lea rsi, [0x004f6fe0]
call fcn.0044dee0
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, [0x0054f218]
lea rsi, [0x0054e410]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00467480
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00493980

Function at 0x4bebe0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4bf31f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4bec0d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4bee91
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4beebd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00551640]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004f6ee0]
lea rbx, [0x0054ee90]
call fcn.00437140
inc rax
cmp rax, r8
jge 0x4beee2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4bef17
lea rdi, [0x004f6f60]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4bec03
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4beefb
jmp 0x4beed0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00467480
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004bebe0

Function at 0x4bf4c0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4bf4d7
inc rax
cmp rax, 4
jge 0x4bf4ef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4bf4d4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4bf500
inc rax
cmp rax, 4
jge 0x4bf50e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4bf537
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4bf51b
jmp 0x4bf4fd
Function at 0x4dd1e0
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x4dd1f8
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x4dd1f8
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x4dd200
xor eax, eax
ret
cmp rbx, 3
je 0x4dd20c
cmp rbx, 4
jne 0x4dd239
cmp al, 0x2c
ja 0x4dd226
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x4dd236
cmp al, 0x24
je 0x4dd236
nop dword [rax]
cmp al, 0x26
jae 0x4dd236
jmp 0x4dd239
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x4dd236
cmp al, 0x5b
je 0x4dd236
cmp al, 0x5d
jne 0x4dd239
xor eax, eax
ret
cmp al, 0x2f
ja 0x4dd272
nop dword [rax]
cmp al, 0x26
ja 0x4dd251
cmp al, 0x24
je 0x4dd291
cmp al, 0x26
je 0x4dd291
jmp 0x4dd30b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x4dd291
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x4dd308
cmp al, 0x2f
je 0x4dd291
jmp 0x4dd30b
cmp al, 0x3d
ja 0x4dd289
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x4dd291
nop
cmp al, 0x3d
je 0x4dd291
jmp 0x4dd30b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x4dd300
cmp rbx, 2
jg 0x4dd2c7
cmp rbx, 1
je 0x4dd2c1
nop dword [rax]
cmp rbx, 2
jne 0x4dd30b
cmp al, 0x2f
je 0x4dd2b2
cmp al, 0x3b
je 0x4dd2b2
cmp al, 0x2c
jne 0x4dd2b9
mov ecx, 1
jmp 0x4dd2be
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x4dd2ea
cmp al, 0x40
je 0x4dd2d9
cmp al, 0x2f
je 0x4dd2d9
cmp al, 0x3f
jne 0x4dd2e2
mov ecx, 1
nop
jmp 0x4dd2e7
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x4dd2f9
cmp rbx, 7
jne 0x4dd30b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x4dd308
cmp al, 0x7e
jne 0x4dd30b
xor eax, eax
ret
cmp rbx, 7
jne 0x4dd321
cmp al, 0x21
je 0x4dd31d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x4dd321
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x18031b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18031b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18031b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18031b06f
add dl, dl
jne 0x18031b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18031b0f6
xor eax, eax
add dl, dl
jne 0x18031b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18031b1ad
add dl, dl
jne 0x18031b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18031b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18031b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18031b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18031b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18031b07e
mov eax, 1
add dl, dl
jne 0x18031b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18031b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18031b0fb
sub eax, ebx
mov ebx, 1
jne 0x18031b14c
mov ecx, 1
add dl, dl
jne 0x18031b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18031b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18031b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18031b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18031b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18031b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18031b15d
cmp eax, 0x7d00
jae 0x18031b19b
cmp eax, 0x500
jb 0x18031b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18031b07e
cmp eax, 0x7f
ja 0x18031b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18031b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18031b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18031b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x6dacb8a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6daec5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6dacba28
mov rax, qword [0x6daec5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6dacb8ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6dacb975
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6dacb8d0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6dacba5d
mov rax, qword [0x6daec5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6daec5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6dacba40
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6dacb96e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6dacb9d0
add dword [0x6daec5e4], 1
cmp edi, 8
jae 0x6dacb9a3
test dil, 4
jne 0x6dacba14
test edi, edi
je 0x6dacb998
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6dacba2f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6dacb998
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6dacb9bc
jmp 0x6dacb998
add rsi, qword [0x6daec5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6dacb96e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6dacb998
xor esi, esi
jmp 0x6dacb8f7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6dacb998
mov rax, qword [0x6daec5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6dacc1b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6daec8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6daec8a0]
test rbx, rbx
je 0x6dacc204
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6dacc1fb
test rsi, rsi
je 0x6dacc1fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6dacc1e0
lea rcx, [0x6daec8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6dacc440
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6dacc450
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6dacc460
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6dacc4a1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6dacc498
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6dacc4a3
add rax, 0x28
cmp rax, r9
jne 0x6dacc484
xor eax, eax
ret

Function at 0x6dacc540
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dae91f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6dacc5ad
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6dacc5ad
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6dacc5ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6dacc5a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6dacc5af
add rax, 0x28
cmp rax, r9
jne 0x6dacc590
xor eax, eax
add rsp, 0x28
ret

Function at 0x6dacc6b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dae91f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6dacc6d0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6dacc6c8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6dacc72d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6dacc724
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6dacc734
add rax, 0x28
cmp rax, r9
jne 0x6dacc710
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6dacc750
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6dae91f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6dacc7be
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6dacc7be
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6dacc7be
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6dacc7be
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6dacc7b5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6dacc7c5
add rcx, 0x28
cmp rcx, rax
jne 0x6dacc7a0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6dacc7d8
jmp 0x6dacc7be
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6dacc7e6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6dacc7be
test r9d, r9d
jg 0x6dacc7d0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6daccb20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140622058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406221df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140622089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062206f
add dl, dl
jne 0x140622096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406220f6
xor eax, eax
add dl, dl
jne 0x1406220a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406221ad
add dl, dl
jne 0x1406220b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406220c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406220d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406220dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406220ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062207e
mov eax, 1
add dl, dl
jne 0x140622106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140622113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406220fb
sub eax, ebx
mov ebx, 1
jne 0x14062214c
mov ecx, 1
add dl, dl
jne 0x14062212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140622123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140622168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140622175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062215d
cmp eax, 0x7d00
jae 0x14062219b
cmp eax, 0x500
jb 0x140622196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062207e
cmp eax, 0x7f
ja 0x14062219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406221d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14062207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0xf26a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x0022d5c4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0xf27c0
mov rax, qword [0x0022d5c8]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0xf26ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0xf27a6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0xf26d0
mov rcx, rsi
call fcn.000f32e0
test rax, rax
mov r12, rax
je 0xf27f8
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x0022d5c8]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.000f3430
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov qword [r13 + 0x18], rax
mov rax, qword [0x0022d5c8]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0xf27db
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0xf279f
sub eax, 0x40
and eax, 0xffffffbf
je 0xf279f
add rbx, qword [0x0022d5c8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0xf27c7
add dword [0x0022d5c4], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0xf3670
xor ebx, ebx
jmp 0xf26f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.000f2630
mov rax, qword [0x0022d5c8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.000f2630
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.000f2630
nop
nop dword [rax + rax]
jmp qword [sym.imp.msvcrt.dll_memcpy]

Function at 0xf2f50
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0022d8a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0022d880]
test rbx, rbx
je 0xf2fa4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0xf2f9b
test rsi, rsi
je 0xf2f9b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0xf2f80
lea rcx, [0x0022d8a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]