joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4449c0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x444b27
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x4449d2
cmp edx, ecx
jne 0x444b15
nop word [rax + rax]
test rsi, rsi
jne 0x444b15
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x444a34
nop
call fcn.004645c0
xorps xmm15, xmm15
mov r14, qword [0x005c7610]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.004448e0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x444b10
mov rdx, qword [0x00542968]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x444b05
mov rcx, qword [0x00542960]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00543a10]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00543a10], rax
nop
mov edx, 1
lea rsi, [0x00543a18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x444af3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004ae087]
mov ebx, 0x28
nop
call fcn.00434a00
mov rax, rsi
mov rcx, rdx
call fcn.00462cc0
call fcn.004335e0
lea rax, [0x004ad3c2]
mov ebx, 0x23
call fcn.00434a00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004609e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004449c0
Function at 0x448580
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x4485c8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x4485c8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x4485d8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00432400
xorps xmm15, xmm15
mov r14, qword [0x005c7610]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x4486b1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00432680
xorps xmm15, xmm15
mov r14, qword [0x005c7610]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x4486b1
cmp qword [rcx + 8], rax
ja 0x4485d3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x450120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x450297
movzx edx, byte [rax]
test edx, edx
jne 0x450154
nop dword [rax]
test r8b, r8b
jne 0x450154
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x450167
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x450257
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x450245
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x450237
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x4501bd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x450200
mov eax, 1
cmp rax, rbx
ja 0x4501eb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00462d80
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45022f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4501f3
mov rcx, r11
mov eax, r12d
jmp 0x4501c2
mov rcx, rbx
call fcn.00462cc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462cc0
mov eax, r8d
mov rcx, rbx
call fcn.00462d80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45028d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x450250
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x45016d
mov eax, edx
mov rcx, rbx
call fcn.00462cc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462cc0
nop
int3

Function at 0x455e60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455f15
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00453ae0
nop
test bl, bl
je 0x455f0f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00455f60]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.004608c0
xorps xmm15, xmm15
mov r14, qword [0x005c7610]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.004609e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00455e60
Function at 0x458e60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458f0f
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, [0x00458f60]
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.004608c0
xorps xmm15, xmm15
mov r14, qword [0x005c7610]
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.004609e0
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.00458e60
Function at 0x4627e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403d63
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409b00
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004609e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403d40
cmp byte [0x005c740b], 0
je 0x4627f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45fa20
jmp 0x403d40

Function at 0x462800
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 [0x005c76e0]
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 [0x005c740b], 0
je 0x462835
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c7a00]
aesenc xmm0, xmmword [0x005c7a10]
aesenc xmm0, xmmword [0x005c7a20]
movq rax, xmm0
ret
jmp 0x409d20

Function at 0x462840
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 [0x005c76e0]
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 [0x005c740b], 0
je 0x462876
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c7a00]
aesenc xmm0, xmmword [0x005c7a10]
aesenc xmm0, xmmword [0x005c7a20]
movq rax, xmm0
ret
jmp 0x409d80

Function at 0x464600
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 0x464634
mov rcx, 0x28
jmp 0x46463f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c7610], rcx
pop rbp
ret
Function at 0x46e8a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46e99e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
nop dword [rax]
test r8, r8
je 0x46e922
cmp rdi, r8
jb 0x46e992
cmp rbx, rsi
je 0x46e905
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
nop
nop
cmp rdi, rbx
jb 0x46e902
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x46e97f
mov rbx, rdx
mov rsi, rdi
nop
jmp 0x46e905
mov rbx, rdx
lea rdx, [r8 - 1]
cmp rcx, rdx
jbe 0x46e977
movzx ecx, byte [rax + 0x400]
movzx edx, byte [rax + 0x401]
xor edi, edi
nop
jmp 0x46e960
add rsp, 0x10
pop rbp
ret
movzx r9d, byte [rsi + rdi]
inc ecx
movzx r10d, cl
mov r11d, dword [rax + r10*4]
add edx, r11d
movzx r12d, dl
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rdi], r9b
inc rdi
nop dword [rax]
cmp r8, rdi
jg 0x46e928
mov byte [rax + 0x400], cl
mov byte [rax + 0x401], dl
add rsp, 0x10
pop rbp
ret
mov rax, rdx
call fcn.00462cc0
lea rax, [0x00492c80]
lea rbx, [0x004ca0d0]
call fcn.00433e40
mov rcx, r8
mov rdx, rdi
call fcn.00462d40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.004609e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.0046e8a0
Function at 0x47c040
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47c10a
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.00403300
xorps xmm15, xmm15
mov r14, qword [0x005c7610]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47c0ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00492d80]
xor ebx, ebx
mov rcx, rdx
call fcn.00449140
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.0047c620
inc rbx
cmp rcx, rbx
jae 0x47c0de
mov edi, 1
lea rsi, [0x00492d80]
call fcn.00449220
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, [0x004ca658]
lea rsi, [0x004c9fc0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004609e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047c040
Function at 0x140001120
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
call fcn.140001060
test al, al
je 0x14000117e
and qword [rsp + 0x30], 0
lea rax, [0x140002230]
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
jns 0x14000116e
mov rcx, qword [0x140004030]
jmp 0x140001178
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000117e
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, 0xc0000001
add rsp, 0x48
ret

Function at 0x140001f78
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
movzx edi, cx
lea rdx, [0x140002860]
lea rcx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor ebx, ebx
mov dword [rbp + 0xf], 0x30
lea rax, [rbp - 1]
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rax
lea r8, [rbp + 0xf]
lea rax, [rbp + 0x6f]
mov dword [rbp + 0x27], 0x40
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x7f]
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov edx, 0xf003f
movdqu xmmword [rbp + 0x2f], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
je 0x140001ff3
xor eax, eax
jmp 0x1400020bb
lea rdx, [0x1400028b0]
lea rcx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rax, qword [rbp + 0x7f]
lea r8, [rbp + 0xf]
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 9]
lea rax, [rbp - 1]
mov dword [rbp + 0xf], 0x30
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
lea rax, [rbp + 0x6f]
mov dword [rbp + 0x27], 0x40
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0xf003f
mov qword [rsp + 0x20], rbx
movdqu xmmword [rbp + 0x2f], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
je 0x140002062
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140001fec
lea rdx, [0x1400028d0]
lea rcx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rbp - 9]
lea rdx, [rbp - 1]
movzx eax, di
mov r9d, 4
mov dword [rbp + 0x77], eax
xor r8d, r8d
lea rax, [rbp + 0x77]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
test eax, eax
jne 0x1400020a5
lea ebx, [rax + 1]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret
Function at 0x140001d30
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14002d738], rbx
je 0x140001d97
cmp rax, rbx
jne 0x140001d8a
mov ebx, 1
mov esi, ebx
jmp 0x140001d9c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001d6f
mov ebx, 1
mov eax, dword [0x14002d740]
cmp eax, ebx
jne 0x140001db4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x140001e2a
mov eax, dword [0x14002d740]
test eax, eax
jne 0x140001e1f
mov dword [0x14002d740], ebx
lea r15, [0x14001f718]
lea rdi, [0x14001f700]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140001e11
test eax, eax
jne 0x140001e15
cmp qword [rdi], r14
je 0x140001e06
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x14001f658]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140001dde
test eax, eax
je 0x140001e25
mov eax, 0xff
jmp 0x140001f8a
mov dword [0x14002cff0], ebx
mov edi, 0x1f
mov eax, dword [0x14002d740]
cmp eax, ebx
jne 0x140001e51
lea rdx, [0x14001f6f8]
lea rcx, [0x14001f668]
call sub.msvcrt.dll__initterm
mov dword [0x14002d740], 2
test esi, esi
jne 0x140001e5f
mov rax, r14
xchg qword [0x14002d738], rax
cmp qword [0x14002d758], r14
je 0x140001e9c
lea rcx, [0x14002d758]
call fcn.140002440
test eax, eax
je 0x140001e9c
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14002d758]
mov r9, qword [0x14001f658]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140001eb5
mov eax, 0xff
jmp 0x140001f8a
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140001f3b
test ax, ax
je 0x140001ed0
test edx, edx
jne 0x140001f3b
sub ax, bx
cmp ax, di
ja 0x140001ee6
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001ed0
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140005e98
mov dword [0x14002cfec], eax
cmp dword [0x14002d010], r14d
jne 0x140001f24
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002cff0], r14d
jne 0x140001f39
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002cfec]
jmp 0x140001f8a
cmp ax, 0x22
jne 0x140001f4f
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140001ebe
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400c0000
add rsp, 0x28
jmp 0x140001d30
Function at 0x1400111ea
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140012d00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012d20
xor al, al
jmp 0x140012da1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012d33
xor al, al
jmp 0x140012da1
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 0x140012d5d
xor al, al
jmp 0x140012da1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012d71
xor al, al
jmp 0x140012da1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012d83
xor al, al
jmp 0x140012da1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012d9f
xor al, al
jmp 0x140012da1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400187fe
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [0x1400410f8]
movabs rcx, 0x638502362e8d4edc
movabs r10, 0x83c5535e981823a6
add r10, qword [rax + rcx]
mov rcx, rsi
mov r8d, 0xffffffff
mov r9d, 0x6c078965
call r10
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x14001d46c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001d4b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001d4b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001d4b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001d4b6
cmp dword [rcx + 0x84], 0xe
jbe 0x14001d4b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001d4b8
xor al, al
add rsp, 0x28
ret

Function at 0x14001eb40
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
sub rsp, 0x60
mov rbx, rcx
mov dword [rax - 0x28], 0
mov qword [rax - 0x20], rcx
mov qword [rax - 0x18], r8
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 0x118]
shl eax, 0x10
or eax, dword [rdx + 0x11c]
cmp eax, 0x60000
jb 0x14001eb9b
call fcn.14001e6a0
mov r8, qword [rax + 0xe0]
jmp 0x14001eba7
call fcn.14001e6a0
mov r8, qword [rax + 0xd8]
lea rdx, [rsp + 0x48]
mov ecx, dword [rbx]
call r8
mov dword [rsp + 0x40], 0
jmp 0x14001ebbb
mov eax, dword [rsp + 0x40]
add rsp, 0x60
pop rbx
ret
Function at 0x14001ebd0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword gs:[0x30]
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x14001ec28
call fcn.14001e6a0
add rax, 0x138
jmp 0x14001ec36
mov ecx, 1
call fcn.14002c3c0
add rax, 0x10
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rax + 0x60]
mov rdi, qword [rbx + 8]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14001ec72
call fcn.14001e6a0
add rax, 0x128
jmp 0x14001ec80
mov ecx, 1
call fcn.14002c3c0
add rax, 0x18
mov qword [rax], rdi
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14001ecba
call fcn.14001e6a0
add rax, 0x130
jmp 0x14001ecc8
mov ecx, 1
call fcn.14002c3c0
add rax, 0x20
mov ecx, 1
mov qword [rax], rdi
call fcn.14002c3c0
mov rcx, rax
mov byte [rsp + 0x38], 1
mov eax, dword [rsp + 0x80]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov r9, rbx
mov dword [rsp + 0x28], edi
mov r8, rbp
mov dword [rcx + 0x2c], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14002b190
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14001ed3d
call fcn.14001e6a0
add rax, 0x138
jmp 0x14001ed4b
mov ecx, 1
call fcn.14002c3c0
add rax, 0x10
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov qword [rax], rdi
mov eax, 1
mov rdi, qword [rsp + 0x68]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret

Function at 0x140028940
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002899c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002899c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002899c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002899c
cmp dword [rcx + 0x84], 0xe
jbe 0x14002899c
cmp dword [rcx + 0xf8], 0
je 0x14002899c
mov ecx, ebx
call fcn.140028bb0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x141164800]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140028d30
cmp dword [rsp + 0x60], 0
jne 0x1400289df
mov ecx, ebx
call fcn.140028c30
int3
add rsp, 0x40
pop rbx
ret