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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47772a
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.004034c0
xorps xmm15, xmm15
mov r14, qword [0x0063ce18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47770f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004d7740]
xor ebx, ebx
mov rcx, rdx
call fcn.00446aa0
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.00478c00
inc rbx
cmp rcx, rbx
jae 0x4776fe
mov edi, 1
lea rsi, [0x004d7740]
call fcn.00446b80
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, [0x00526748]
lea rsi, [0x00525ea8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b880
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00477660

Function at 0x49a4a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49abdf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x49a4cd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x49a751
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x49a77d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x005280c0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004d7640]
lea rbx, [0x005265d8]
call fcn.004328c0
inc rax
cmp rax, r8
jge 0x49a7a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x49a7d7
lea rdi, [0x004d76c0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x49a4c3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x49a7bb
jmp 0x49a790
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045b880
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0049a4a0

Function at 0x49ad80
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 0x49ad97
inc rax
cmp rax, 4
jge 0x49adaf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x49ad94
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x49adc0
inc rax
cmp rax, 4
jge 0x49adce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x49adf7
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 0x49addb
jmp 0x49adbd
Function at 0x4aa880
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4aa9ce
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x38], xmm15
mov qword [rsp + 0x28], 0
mov rax, qword [0x005af870]
call fcn.0049b000
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x004aa9e0]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.004034c0
xorps xmm15, xmm15
mov r14, qword [0x0063ce18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4aa992
mov rdx, qword [rsp + 0x20]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x4aa9c8
mov qword [rsp + 0x30], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x30]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x20]
cmp rbx, rcx
jb 0x4aa9bd
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x48]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.0045dc20
call fcn.0045dba0
nop
call fcn.0045b880
jmp fcn.004aa880
Function at 0x4b8f40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b9120
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
cmp rsi, 2
jne 0x4b8fb6
cmp word [rdi], 0x7069
jne 0x4b9012
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov byte [rsp + 0x10], 0x3a
call fcn.004031a0
xorps xmm15, xmm15
mov r14, qword [0x0063ce18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
setg al
mov rbx, qword [rsp + 0x68]
mov ecx, eax
mov rax, qword [rsp + 0x60]
jmp 0x4b9014
cmp rsi, 3
jne 0x4b9012
cmp word [rdi], 0x6374
jne 0x4b8fc9
cmp byte [rdi + 2], 0x70
je 0x4b8fd6
cmp word [rdi], 0x6475
jne 0x4b9012
cmp byte [rdi + 2], 0x70
jne 0x4b9012
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov byte [rsp + 0x10], 0x5b
call fcn.004031a0
xorps xmm15, xmm15
mov r14, qword [0x0063ce18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
setg al
mov rbx, qword [rsp + 0x68]
mov ecx, eax
mov rax, qword [rsp + 0x60]
jmp 0x4b9014
xor ecx, ecx
test cl, cl
je 0x4b9025
mov rdx, rax
mov rcx, rbx
nop
jmp 0x4b90c6
mov rsi, rax
mov rcx, rbx
jmp 0x4b9048
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov rbx, qword [rsp + 0x30]
dec rbx
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
test rbx, rbx
jle 0x4b908b
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rax
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x38], rbx
mov rsi, qword [fcn.004b8de0]
lea rdx, fcn.004b8de0
mov rax, rcx
call rsi
test al, al
je 0x4b902d
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
jmp 0x4b9097
test rcx, rcx
jbe 0x4b90a1
mov rcx, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rcx
add rsp, 0x50
pop rbp
nop
ret
xor eax, eax
mov rcx, rax
call fcn.0045db60
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov rbx, qword [rsp + 0x30]
dec rbx
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rbx, rbx
jle 0x4b9100
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rax
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x40], rbx
mov rax, rcx
call fcn.004b8de0
test al, al
jne 0x4b90ab
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x40]
jmp 0x4b910c
test rcx, rcx
jbe 0x4b9115
mov rcx, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, rcx
add rsp, 0x50
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.0045db60
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.0045b880
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.004b8f40
Function at 0x1408fbc00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1408fbc0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1408fbc1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1408fbc05
lea eax, [rcx + 1]
jmp 0x1408fbc2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1408fbc3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1408fbc24
sub eax, 3
jb 0x1408fbc5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1408fbcad
sar eax, 1
movsxd rbp, eax
jb 0x1408fbc94
jmp 0x1408fbc6c
add ebx, ebx
jne 0x1408fbc6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1408fbc94
inc ecx
add ebx, ebx
jne 0x1408fbc7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1408fbc94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1408fbc8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1408fbc7c
add ecx, 2
jmp 0x1408fbc99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1408fbbc2
jmp 0x1408fbc0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x198800
mov dl, 0x3d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1408fbcf9
cmp rsi, rcx
jae 0x1408fbd01
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1408fbce0
cmp al, 0x8f
ja 0x1408fbce0
cmp byte [rsi - 2], 0xf
je 0x1408fbce6
sub al, 0xe8
cmp al, 1
ja 0x1408fbcca
cmp rsi, rcx
jae 0x1408fbd01
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1408fbcd0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1408fbd01
lodsb al, byte [rsi]
jmp 0x1408fbce0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8ed000]
mov eax, dword [rdi]
or eax, eax
je 0x1408fbd6a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x923fbc]
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 0x1408fbd0e
jns 0x1408fbd43
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1408fbd4d
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 0x1408fbd64
mov qword [rbx], rax
add rbx, 8
jmp 0x1408fbd2e
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 0x1408fbdae
cmp al, 0xef
ja 0x1408fbd96
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1408fbd76
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1408fbd85
mov eax, dword [rdi]
add rdi, 4
jmp 0x1408fbd85
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 + 0x1a7]
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 1
cmp rsp, rax
jne 0x1408fbe02
sub rsp, 0xffffffffffffff80
jmp 0x1401972d8
Function at 0x1400111e0
Capabilities:
Terminate process

Disassembly:
jmp 0x140012e20
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 0x14001125d
Capabilities:
Create directory
Delete directory

Disassembly:
jmp 0x140011860
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14002100f]
call fcn.140011361
xor edx, edx
lea rcx, str.C:mydir
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400118a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateDirectory_failed__error_no__ul_n
call fcn.14001118b
jmp 0x1400118b5
lea rcx, str.CreateDirectory_Success__n
call fcn.14001118b
lea rcx, str.C:mydir
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400118e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.RemoveDirectory_failed__error_no__ul_n
call fcn.14001118b
jmp 0x1400118ed
lea rcx, str.RemoveDirectory_Success__n
call fcn.14001118b
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011267
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014170
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014190
xor al, al
jmp 0x140014211
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400141a3
xor al, al
jmp 0x140014211
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 0x1400141cd
xor al, al
jmp 0x140014211
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400141e1
xor al, al
jmp 0x140014211
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400141f3
xor al, al
jmp 0x140014211
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001420f
xor al, al
jmp 0x140014211
mov al, 1
add rsp, 0x38
ret
Function at 0x140011127
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400229a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400400fc]
call fcn.140011adc
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1400229f8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140022b0a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140022aa3
cmp qword [rbp + 0x28], 0
jle 0x140022aa3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140022a41
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011a4b
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140022af9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140022af9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400111e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14001a700
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400400fb]
call fcn.140011adc
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x14001a73e
mov rcx, qword [rbp + 0x100]
call fcn.140011221
nop
jmp 0x14001a75a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14001a75a
mov rcx, qword [rbp + 0x100]
call fcn.14001153c
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001153c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14001ccb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400400fb]
call fcn.140011adc
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x14001ccf5
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x14001cd86
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 0x14001cd4b
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001cd55
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 0x14001ccea
mov qword [rbp + 0x88], 0xe3
jmp 0x14001cda4
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14001ce4d
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 0x14001ce09
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001ce13
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 0x14001cd93
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 0x14001cead
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001ceb7
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 0x140011609
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140026bc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140026be0
xor al, al
jmp 0x140026c61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140026bf3
xor al, al
jmp 0x140026c61
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 0x140026c1d
xor al, al
jmp 0x140026c61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140026c31
xor al, al
jmp 0x140026c61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140026c43
xor al, al
jmp 0x140026c61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140026c5f
xor al, al
jmp 0x140026c61
mov al, 1
add rsp, 0x38
ret
Function at 0x140011abe
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001b6b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140036040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400400fc]
call fcn.140011adc
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14001b717
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001b71e
mov al, 1
jmp 0x14001b86e
call fcn.140011307
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140011307
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400118ac
movzx eax, al
test eax, eax
je 0x14001b76f
xor al, al
jmp 0x14001b86e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14001b7d4
cmp dword [rbp + 0x154], 1
je 0x14001b7df
cmp dword [rbp + 0x154], 3
je 0x14001b85d
jmp 0x14001b86c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001b82f
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001b82f
xor al, al
jmp 0x14001b86e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001b84a
mov dword [rbp + 0x154], 1
jmp 0x14001b854
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001b86e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001b86e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002eb70]
call fcn.140011910
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140011519
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret