joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001124e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140013440
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400270fa]
call fcn.140011492
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140013485
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x140013516
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1400134db
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400134e5
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001347a
mov qword [rbp + 0x88], 0xe3
jmp 0x140013534
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x1400135dd
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140013599
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400135a3
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140013523
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14001363d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140013647
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x14001129e
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400164f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016510
xor al, al
jmp 0x140016591
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016523
xor al, al
jmp 0x140016591
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 0x14001654d
xor al, al
jmp 0x140016591
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016561
xor al, al
jmp 0x140016591
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016573
xor al, al
jmp 0x140016591
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001658f
xor al, al
jmp 0x140016591
mov al, 1
add rsp, 0x38
ret
Function at 0x1400143d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400114bf
movzx eax, al
test eax, eax
jne 0x1400143f0
mov ecx, 7
call fcn.1400113fc
nop
mov byte [rsp + 0x20], 0
call fcn.140011415
mov byte [rsp + 0x21], al
cmp dword [0x140021888], 1
jne 0x140014414
mov ecx, 7
call fcn.1400113fc
nop
jmp 0x14001446c
cmp dword [0x140021888], 0
jne 0x140014467
mov dword [0x140021888], 1
lea rdx, [0x14001c660]
lea rcx, [0x14001c330]
call fcn.140011230
test eax, eax
je 0x140014448
mov eax, 0xff
jmp 0x140014571
lea rdx, [0x14001c220]
lea rcx, [section..rdata]
call fcn.14001140b
mov dword [0x140021888], 2
jmp 0x14001446c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113e8
call fcn.14001136b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400144c9
mov rcx, qword [rsp + 0x30]
call fcn.1400111b3
movzx eax, al
test eax, eax
je 0x1400144c9
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 [0x140028020]
nop
call fcn.1400113a7
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400144fd
mov rcx, qword [rsp + 0x38]
call fcn.1400111b3
movzx eax, al
test eax, eax
je 0x1400144fd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011479
nop
call fcn.140014620
mov dword [rsp + 0x28], eax
call fcn.140011343
movzx eax, al
test eax, eax
jne 0x14001451c
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001452b
call fcn.140011483
nop
xor edx, edx
mov cl, 1
call fcn.1400111a4
mov eax, dword [rsp + 0x28]
jmp 0x140014571
add rsp, 0x68
ret
Function at 0x14218d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14218d1df
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 0x14218d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14218d06f
add dl, dl
jne 0x14218d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14218d0f6
xor eax, eax
add dl, dl
jne 0x14218d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14218d1ad
add dl, dl
jne 0x14218d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14218d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14218d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14218d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14218d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14218d07e
mov eax, 1
add dl, dl
jne 0x14218d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14218d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14218d0fb
sub eax, ebx
mov ebx, 1
jne 0x14218d14c
mov ecx, 1
add dl, dl
jne 0x14218d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14218d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14218d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14218d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14218d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14218d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14218d15d
cmp eax, 0x7d00
jae 0x14218d19b
cmp eax, 0x500
jb 0x14218d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14218d07e
cmp eax, 0x7f
ja 0x14218d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14218d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14218d1d2
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 0x14218d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140029b84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140f6a118
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f6a122
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f6a14b
pop rbp
sub rbp, 0x33
sub rbp, 0xf6a118
sub rsp, 0x20
jmp 0x140f6a16a
mov rax, 0xf6a118
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xfffffffff7aab75b
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6a189
jmp 0x140f6a1a0
adc edx, edx
mov dl, 0xd0
shl byte [rdi + 0x5b], cl
pop rbx
pop rbx
adc ebx, edx
invalid
Function at 0x140104f10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140104f1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140104f2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140104f15
lea eax, [rcx + 1]
jmp 0x140104f3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140104f4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140104f34
sub eax, 3
jb 0x140104f6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140104fbd
sar eax, 1
movsxd rbp, eax
jb 0x140104fa4
jmp 0x140104f7c
add ebx, ebx
jne 0x140104f7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140104fa4
inc ecx
add ebx, ebx
jne 0x140104f8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140104fa4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140104f9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140104f8c
add ecx, 2
jmp 0x140104fa9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140104ed2
jmp 0x140104f1d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb6c00
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14010500d
cmp rsi, rcx
jae 0x140105015
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140104ff4
cmp al, 0x8f
ja 0x140104ff4
cmp byte [rsi - 2], 0xf
je 0x140104ffa
sub al, 0xe8
cmp al, 1
ja 0x140104fde
cmp rsi, rcx
jae 0x140105015
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140104fe4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140105015
lodsb al, byte [rsi]
jmp 0x140104ff4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x101000]
mov eax, dword [rdi]
or eax, eax
je 0x14010507e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1051dc]
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 0x140105022
jns 0x140105057
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140105061
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 0x140105078
mov qword [rbx], rax
add rbx, 8
jmp 0x140105042
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 0x1401050b8
cmp al, 0xef
ja 0x1401050aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14010508a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140105099
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 + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14010510c
sub rsp, 0xffffffffffffff80
jmp 0x140060600
Function at 0x1400016a4
Capabilities:
Terminate process

Disassembly:
jmp 0x140017360
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 0x140001767
Capabilities:
Print debug messages

Disassembly:
jmp 0x140013d50
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
cmp dword [0x140033de8], 0
je 0x140013d78
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x140033ddc], 0
je 0x140013d8d
mov dword [rsp + 0x20], 1
jmp 0x140013dc4
cmp dword [0x140033de8], 0
jne 0x140013da3
call fcn.140001960
test eax, eax
jne 0x140013da3
jmp 0x140013dc4
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x140031010]
call fcn.1400010a0
test eax, eax
jne 0x140013dbc
jmp 0x140013dc4
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
jne 0x140013e0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x7f
je 0x140013df8
cmp dword [rsp + 0x24], 0x7e
je 0x140013df8
cmp dword [rsp + 0x24], 0x78
je 0x140013df8
cmp dword [rsp + 0x24], 1
je 0x140013df8
cmp dword [rsp + 0x24], 0x32
jne 0x140013e0a
mov dword [0x140033ddc], 1
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140001839
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016720
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016740
xor al, al
jmp 0x1400167c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016753
xor al, al
jmp 0x1400167c1
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 0x14001677d
xor al, al
jmp 0x1400167c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016791
xor al, al
jmp 0x1400167c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400167a3
xor al, al
jmp 0x1400167c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400167bf
xor al, al
jmp 0x1400167c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001be0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140018fec
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.VCRUNTIME140D.dll_memset
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x14002b810]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140001596
test eax, eax
jne 0x140019083
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140019083
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14001907c
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x140033df0], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140013d50
Capabilities:
Print debug messages

Disassembly:
jmp 0x140013d50
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
cmp dword [0x140033de8], 0
je 0x140013d78
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x140033ddc], 0
je 0x140013d8d
mov dword [rsp + 0x20], 1
jmp 0x140013dc4
cmp dword [0x140033de8], 0
jne 0x140013da3
call fcn.140001960
test eax, eax
jne 0x140013da3
jmp 0x140013dc4
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x140031010]
call fcn.1400010a0
test eax, eax
jne 0x140013dbc
jmp 0x140013dc4
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
jne 0x140013e0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x7f
je 0x140013df8
cmp dword [rsp + 0x24], 0x7e
je 0x140013df8
cmp dword [rsp + 0x24], 0x78
je 0x140013df8
cmp dword [rsp + 0x24], 1
je 0x140013df8
cmp dword [rsp + 0x24], 0x32
jne 0x140013e0a
mov dword [0x140033ddc], 1
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140014f40]
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001318
mov ecx, 0x3e8
call rdi
xor eax, eax
lock cmpxchg qword [rbx], rsi
jne 0x1400011b0
mov rsi, qword [0x140014f50]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x14000132f
mov eax, dword [rsi]
test eax, eax
je 0x140001390
mov dword [0x140018008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x140001344
test edi, edi
je 0x140001365
mov rax, qword [0x140014ec0]
mov rax, qword [rax]
test rax, rax
je 0x14000121f
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.140005a20
mov rcx, qword [0x140014ff0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140014f30]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140005830
mov ebx, dword [0x140018028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r12, qword [0x140018020]
mov rbp, rax
test ebx, ebx
jle 0x1400013b0
sub rdi, 8
xor ebx, ebx
nop dword [rax]
mov rcx, qword [r12 + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140018020], rbp
call fcn.140005630
call fcn.14000bc60
mov r8, qword [0x140018018]
mov ecx, dword [0x140018028]
mov qword [rax], r8
mov rdx, qword [0x140018020]
call fcn.140011fe0
mov ecx, dword [0x14001800c]
mov dword [0x140018010], eax
test ecx, ecx
je 0x1400013b8
mov edx, dword [0x140018008]
test edx, edx
je 0x140001370
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140014f50]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011dd
mov ecx, 0x1f
call fcn.14000bd00
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011fc
mov rdx, qword [0x140014f90]
mov rcx, qword [0x140014f80]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001204
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001204
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x140018010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140014fb0]
mov rcx, qword [0x140014fa0]
mov dword [rsi], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f1
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
Function at 0x140001749
Capabilities:
Terminate process
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0xe
mov edx, 1
lea rcx, str.out_of_memory_n
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
Function at 0x1400034c6
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1400130a0]
call fcn.14000c0c0
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.14000335c

Function at 0x1400034ea
Capabilities:
Terminate process

Disassembly:
test rdx, rdx
jne 0x1400034f5
sub rcx, 0x10
jmp 0x140003512
mov r8, rdx
lea rax, [rdx + 0xf]
neg r8
and rax, r8
sub rcx, rax
cmp rdx, 0x10
jle 0x140003512
movzx eax, word [rcx - 2]
sub rcx, rax
jmp fcn.1400034c6

Function at 0x140003514
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rax, qword [rax]
mov rbx, rcx
test rax, rax
jne 0x140003539
mov rax, qword [rbx]
mov rcx, rbx
movsx rdx, word [rax + 0x10]
add rsp, 0x20
pop rbx
jmp fcn.1400034ea
call rax
lea rcx, [0x140013080]
call fcn.14000c0c0
cmp byte [rax], 0
je 0x140003527
add rsp, 0x20
pop rbx
ret

Function at 0x140003661
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
xor esi, esi
mov rdi, qword [rcx]
mov rbx, qword [rcx + 8]
cmp rsi, rdi
jl 0x14000367d
test rbx, rbx
jne 0x14000369e
jmp 0x1400036b3
mov rax, rsi
shl rax, 4
mov rcx, qword [rbx + rax + 0x10]
test rcx, rcx
je 0x140003699
test byte [rcx + 7], 0x40
jne 0x140003699
call fcn.1400034c6
inc rsi
jmp 0x140003671
test byte [rbx + 7], 0x40
jne 0x1400036b3
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1400034c6
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140004708
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140013080]
call fcn.14000c0c0
cmp byte [rax], 0
je 0x140004762
lea rcx, [0x140013020]
call fcn.14000c0c0
mov rcx, qword [rax]
mov rbx, rax
test rcx, rcx
je 0x140004762
call fcn.1400041bc
xor eax, eax
mov rsi, qword [rbx]
mov qword [rbx], rax
mov rcx, rsi
call fcn.140003ddd
test al, al
je 0x140004757
mov rcx, rsi
call fcn.140003514
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
add rsp, 0x28
pop rbx
pop rsi
ret