joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1405ad058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405ad1df
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 0x1405ad089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ad06f
add dl, dl
jne 0x1405ad096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ad0f6
xor eax, eax
add dl, dl
jne 0x1405ad0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ad1ad
add dl, dl
jne 0x1405ad0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ad0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ad0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ad0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405ad0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405ad07e
mov eax, 1
add dl, dl
jne 0x1405ad106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ad113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ad0fb
sub eax, ebx
mov ebx, 1
jne 0x1405ad14c
mov ecx, 1
add dl, dl
jne 0x1405ad12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ad13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ad123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ad07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405ad168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ad175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ad15d
cmp eax, 0x7d00
jae 0x1405ad19b
cmp eax, 0x500
jb 0x1405ad196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ad07e
cmp eax, 0x7f
ja 0x1405ad19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ad07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405ad1d2
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 0x1405ad07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x1400b6973
Capabilities:
Terminate process

Disassembly:
jmp 0x14021f180
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]
nop
add rsp, 0x28
ret

Function at 0x1400b6d56
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400ffd60
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14033f5ef]
call fcn.1400b7e45
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400b6f04
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400ffce0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14033f5ef]
call fcn.1400b7e45
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400b6f1d
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140101c40
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x14033f5ef]
call fcn.1400b7e45
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1402311d0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140101d86
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x140101cda
mov dword [rbp + 0x160], 1
jmp 0x140101ce4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x140101d81
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x140101d5b
cmp qword [rbp + 0x198], 2
jb 0x140101d5b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140101d5b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140101d5b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140101ca5
jmp 0x140101e20
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x140101e20
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x140101df7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140101df7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140101df7
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140101d86
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400b703f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140221700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140221720
xor al, al
jmp 0x1402217a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140221733
xor al, al
jmp 0x1402217a1
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 0x14022175d
xor al, al
jmp 0x1402217a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140221771
xor al, al
jmp 0x1402217a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140221783
xor al, al
jmp 0x1402217a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14022179f
xor al, al
jmp 0x1402217a1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400b7aa8
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140101b20
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x14033f5ef]
call fcn.1400b7e45
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1402311d0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x140101ba0
mov dword [rbp + 0x120], 1
jmp 0x140101baa
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x140101bf3
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x140101b6b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1401a95c0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14033f7ba]
call fcn.1400b7e45
nop
call fcn.1401a7950
mov qword [rbp + 8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 8]
add rax, 0x2c
mov r9d, 4
mov r8, rax
mov edx, 0x20001004
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1401a9633
mov rax, qword [rbp + 8]
mov dword [rax + 0x2c], 0
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140219bc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140325ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14033f974]
call fcn.1400b7e45
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14021b6e0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14021a5c0
nop
lea rax, [0x140219780]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14021b940
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x140219c9c
lea rcx, [rbp + 8]
call fcn.14021baf0
nop
jmp 0x140219cb5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400b5a05
nop
lea rcx, [rbp + 8]
call fcn.14021abf0
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14027fda0]
call fcn.1400b7620
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1400b65d6
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x140219d40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140325ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14033f974]
call fcn.1400b7e45
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14021b720
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14021a690
nop
lea rax, [0x140219890]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14021b990
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x140219e1c
lea rcx, [rbp + 8]
call fcn.14021bb50
nop
jmp 0x140219e35
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400b5a05
nop
lea rcx, [rbp + 8]
call fcn.14021ac80
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14027fe20]
call fcn.1400b7620
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1400b65d6
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140219ec0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140325ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14033f974]
call fcn.1400b7e45
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14021b760
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14021a760
nop
lea rax, [0x1402199a0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14021b9e0
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x140219f9c
lea rcx, [rbp + 8]
call fcn.14021bbb0
nop
jmp 0x140219fb5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400b5a05
nop
lea rcx, [rbp + 8]
call fcn.14021ad10
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14027fea0]
call fcn.1400b7620
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1400b65d6
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14021a040
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140325ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14033f974]
call fcn.1400b7e45
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14021b7a0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14021a830
nop
lea rax, [0x140219ab0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14021ba30
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14021a11c
lea rcx, [rbp + 8]
call fcn.14021bc10
nop
jmp 0x14021a135
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400b5a05
nop
lea rcx, [rbp + 8]
call fcn.14021ada0
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14027ff20]
call fcn.1400b7620
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1400b65d6
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14021fa60
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400b8034
movzx eax, al
test eax, eax
jne 0x14021fa80
mov ecx, 7
call fcn.1400b7657
nop
mov byte [rsp + 0x20], 0
call fcn.1400b7747
mov byte [rsp + 0x21], al
cmp dword [0x14032e270], 1
jne 0x14021faa4
mov ecx, 7
call fcn.1400b7657
nop
jmp 0x14021fafc
cmp dword [0x14032e270], 0
jne 0x14021faf7
mov dword [0x14032e270], 1
lea rdx, [0x14022c7a8]
lea rcx, [0x14022c478]
call fcn.1400b6540
test eax, eax
je 0x14021fad8
mov eax, 0xff
jmp 0x14021fc01
lea rdx, [0x14022c368]
lea rcx, [section..rdata]
call fcn.1400b7724
mov dword [0x14032e270], 2
jmp 0x14021fafc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400b75d5
call fcn.1400b7148
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14021fb59
mov rcx, qword [rsp + 0x30]
call fcn.1400b6135
movzx eax, al
test eax, eax
je 0x14021fb59
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140341020]
nop
call fcn.1400b7332
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14021fb8d
mov rcx, qword [rsp + 0x38]
call fcn.1400b6135
movzx eax, al
test eax, eax
je 0x14021fb8d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400b7cd8
nop
call fcn.14021fc70
mov dword [rsp + 0x28], eax
call fcn.1400b703f
movzx eax, al
test eax, eax
jne 0x14021fbac
mov ecx, dword [rsp + 0x28]
call fcn.1400b5348
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14021fbbb
call fcn.1400b7d78
nop
xor edx, edx
mov cl, 1
call fcn.1400b6031
mov eax, dword [rsp + 0x28]
jmp 0x14021fc01
add rsp, 0x68
ret
Function at 0x140558058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1405581df
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 0x140558089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14055806f
add dl, dl
jne 0x140558096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405580f6
xor eax, eax
add dl, dl
jne 0x1405580a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405581ad
add dl, dl
jne 0x1405580b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405580c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405580d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405580dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405580ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14055807e
mov eax, 1
add dl, dl
jne 0x140558106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140558113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405580fb
sub eax, ebx
mov ebx, 1
jne 0x14055814c
mov ecx, 1
add dl, dl
jne 0x14055812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14055813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140558123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14055807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140558168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140558175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14055815d
cmp eax, 0x7d00
jae 0x14055819b
cmp eax, 0x500
jb 0x140558196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14055807e
cmp eax, 0x7f
ja 0x14055819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14055807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405581d2
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 0x14055807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400113c0
Capabilities:
Terminate process

Disassembly:
jmp 0x14001a600
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 0x1400114bf
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001b130
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001b150
xor al, al
jmp 0x14001b1d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001b163
xor al, al
jmp 0x14001b1d1
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 0x14001b18d
xor al, al
jmp 0x14001b1d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001b1a1
xor al, al
jmp 0x14001b1d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001b1b3
xor al, al
jmp 0x14001b1d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001b1cf
xor al, al
jmp 0x14001b1d1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400011d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13f0
call fcn.140002ef0
sub rsp, rax
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x13e8], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov edi, 0xf
mov qword [rcx + 0x18], rdi
mov byte [rcx], al
mov dword [rsp + 0x20], 1
nop dword [rax]
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movups xmmword [rsp + 0x13c0], xmm0
movups xmm1, xmmword [0x140004418]
movups xmmword [rsp + 0x13d0], xmm1
mov eax, dword [0x140004428]
mov dword [rsp + 0x13e0], eax
movzx eax, byte [0x14000442c]
mov byte [rsp + 0x13e4], al
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov eax, 1
nop word [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x34], edx
inc rax
cmp rax, 0x270
jb 0x140001280
mov dword [rsp + 0x30], 0x270
lea rcx, [rsp + 0x30]
call fcn.140001f00
mov ecx, eax
mov eax, 0xbacf914d
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
cmp eax, 0x6eb3e45
jae 0x1400012a6
mov eax, 0xbacf914d
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x25
sub ecx, eax
movsxd rax, ecx
movzx r9d, byte [rsp + rax + 0x13c0]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14000131a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14000130f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001322
mov rcx, rbx
call fcn.140001a50
sub rdi, 1
jne 0x140001220
mov rax, rbx
mov rcx, qword [rsp + 0x13e8]
xor rcx, rsp
call fcn.1400020a0
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13f0
pop rdi
ret