joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400151b8
Capabilities:
Write file on windows

Disassembly:
jmp 0x140038d80
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, [0x1400621ca]
call fcn.1400161a8
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140038dd8
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 0x140038eea
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 0x140038e83
cmp qword [rbp + 0x28], 0
jle 0x140038e83
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140038e21
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.140016072
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 0x140038ed9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140038ed9
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 0x1400152fd
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14002af10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400621b9]
call fcn.1400161a8
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x14002af4e
mov rcx, qword [rbp + 0x100]
call fcn.140015375
nop
jmp 0x14002af6a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14002af6a
mov rcx, qword [rbp + 0x100]
call fcn.140015884
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 0x140015726
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
jmp 0x1400339f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140054480]
xor rax, rbp
mov qword [rbp + 0x180], rax
lea rcx, [0x1400621e7]
call fcn.1400161a8
nop
mov edx, 0x20
lea rcx, [rbp + 8]
call fcn.1400150ff
lea rcx, [rbp + 0x124]
call fcn.14001581b
mov qword [rbp + 0x168], rax
mov rcx, qword [rbp + 0x1b8]
call fcn.14001572b
add rax, 0x10
mov rcx, qword [rbp + 0x168]
mov r8, rcx
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140015a37
nop
lea rcx, [rbp + 8]
call fcn.14001572b
mov qword [rbp + 0x168], rax
lea rcx, [rbp + 8]
call fcn.140016329
mov qword [rbp + 0x170], rax
mov rcx, qword [rbp + 0x1b8]
call fcn.14001572b
mov qword [rbp + 0x178], rax
mov rcx, qword [rbp + 0x1b8]
call fcn.140016329
mov dword [rsp + 0x48], 1
lea rcx, [rbp + 0x44]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp + 0x168]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rbp + 0x170]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x178]
mov r8d, ecx
mov rdx, rax
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 8]
call fcn.140015ea1
test eax, eax
je 0x140033b4a
lea rdx, str.Encryption_failed
lea rcx, [rbp + 0x148]
call fcn.140015f05
lea rdx, [0x140053d60]
lea rcx, [rbp + 0x148]
call fcn.140016338
nop
mov eax, dword [rbp + 0x44]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.1400158ed
nop
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1b8]
call fcn.140015bdb
nop
lea rcx, [rbp + 8]
call fcn.14001554b
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x140046930]
call fcn.140015e7e
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.14001585c
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x140015884
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14002fb20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400621b9]
call fcn.1400161a8
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x14002fb65
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x14002fbf6
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 0x14002fbbb
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002fbc5
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 0x14002fb5a
mov qword [rbp + 0x88], 0xe3
jmp 0x14002fc14
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14002fcbd
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 0x14002fc79
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002fc83
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 0x14002fc03
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 0x14002fd1d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002fd27
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 0x1400159c4
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14003b3b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b3d0
xor al, al
jmp 0x14003b451
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003b3e3
xor al, al
jmp 0x14003b451
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 0x14003b40d
xor al, al
jmp 0x14003b451
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14003b421
xor al, al
jmp 0x14003b451
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14003b433
xor al, al
jmp 0x14003b451
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003b44f
xor al, al
jmp 0x14003b451
mov al, 1
add rsp, 0x38
ret

Function at 0x140015c2b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14001b8e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400621e7]
call fcn.1400161a8
nop
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xc4], 0
jmp 0x14001b9b6
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
cmp dword [rbp + 0xc4], eax
jae 0x14001ba2c
mov eax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0xa8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0xe8]
call fcn.140016383
test eax, eax
jne 0x14001ba27
mov eax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0x88]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
jmp 0x14001ba2e
jmp 0x14001b9a8
xor eax, eax
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140015d3e
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
jmp 0x140033740
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a8]
mov rax, qword [0x140054480]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1400621e7]
call fcn.1400161a8
nop
mov edx, 0x20
lea rcx, [rbp + 8]
call fcn.1400150ff
lea rcx, [rbp + 0x144]
call fcn.14001581b
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x258]
call fcn.14001572b
mov rcx, qword [rbp + 0x208]
mov r8, rcx
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140015a37
nop
lea rcx, [rbp + 8]
call fcn.14001572b
mov qword [rbp + 0x208], rax
lea rcx, [rbp + 8]
call fcn.140016329
mov qword [rbp + 0x210], rax
mov rcx, qword [rbp + 0x258]
call fcn.14001572b
mov qword [rbp + 0x218], rax
mov rcx, qword [rbp + 0x258]
call fcn.140016329
mov dword [rsp + 0x48], 1
lea rcx, [rbp + 0x44]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp + 0x208]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rbp + 0x210]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x218]
mov r8d, ecx
mov rdx, rax
mov rax, qword [rbp + 0x250]
mov rcx, qword [rax + 8]
call fcn.14001517c
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x14003390b
mov edx, dword [rbp + 0x64]
lea rcx, [rbp + 0x198]
call fcn.140015e06
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x210], rax
mov r8, qword [rbp + 0x210]
lea rdx, str.Decryption_failed._Status:
lea rcx, [rbp + 0x1d8]
call fcn.14001620c
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x218]
mov qword [rbp + 0x220], rax
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0x168]
call fcn.140015654
lea rdx, [0x140053d60]
lea rcx, [rbp + 0x168]
call fcn.140016338
nop
lea rcx, [rbp + 0x1d8]
call fcn.140015352
lea rcx, [rbp + 0x198]
call fcn.140015352
nop
mov eax, dword [rbp + 0x44]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.1400158ed
nop
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x258]
call fcn.140015bdb
nop
lea rcx, [rbp + 8]
call fcn.14001554b
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x140046a10]
call fcn.140015e7e
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.14001585c
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x140015f28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14001b730
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400621e7]
call fcn.1400161a8
nop
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xc4], 0
jmp 0x14001b806
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
cmp dword [rbp + 0xc4], eax
jae 0x14001b87c
mov eax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0xa8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0xe8]
call fcn.140016383
test eax, eax
jne 0x14001b877
mov eax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0x88]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
jmp 0x14001b87e
jmp 0x14001b7f8
xor eax, eax
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140016162
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002d510
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 [0x140054480]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400621ca]
call fcn.1400161a8
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14002d577
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002d57e
mov al, 1
jmp 0x14002d6ce
call fcn.1400154d8
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.1400154d8
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140015dd4
movzx eax, al
test eax, eax
je 0x14002d5cf
xor al, al
jmp 0x14002d6ce
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 0x14002d634
cmp dword [rbp + 0x154], 1
je 0x14002d63f
cmp dword [rbp + 0x154], 3
je 0x14002d6bd
jmp 0x14002d6cc
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 0x14002d68f
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 0x14002d68f
xor al, al
jmp 0x14002d6ce
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002d6aa
mov dword [rbp + 0x154], 1
jmp 0x14002d6b4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14002d6ce
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14002d6ce
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140047e10]
call fcn.140015e7e
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001585c
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140016310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14001ba90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400621e7]
call fcn.1400161a8
nop
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xc4], 0
jmp 0x14001bb66
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
cmp dword [rbp + 0xc4], eax
jae 0x14001bbdc
mov eax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0xa8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0xe8]
call fcn.140016383
test eax, eax
jne 0x14001bbd7
mov eax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0x88]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x1e0]
add rcx, rax
mov rax, rcx
jmp 0x14001bbde
jmp 0x14001bb58
xor eax, eax
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14003a5f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140016248
movzx eax, al
test eax, eax
jne 0x14003a610
mov ecx, 7
call fcn.140015e97
nop
mov byte [rsp + 0x20], 0
call fcn.140015ef1
mov byte [rsp + 0x21], al
cmp dword [0x140057ea8], 1
jne 0x14003a634
mov ecx, 7
call fcn.140015e97
nop
jmp 0x14003a68c
cmp dword [0x140057ea8], 0
jne 0x14003a687
mov dword [0x140057ea8], 1
lea rdx, [0x140045898]
lea rcx, [0x140045568]
call fcn.14001582a
test eax, eax
je 0x14003a668
mov eax, 0xff
jmp 0x14003a791
lea rdx, [0x140045458]
lea rcx, [section..rdata]
call fcn.140015edd
mov dword [0x140057ea8], 2
jmp 0x14003a68c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140015e65
call fcn.140015c8f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14003a6e9
mov rcx, qword [rsp + 0x30]
call fcn.14001569a
movzx eax, al
test eax, eax
je 0x14003a6e9
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 [0x140064020]
nop
call fcn.140015d84
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14003a71d
mov rcx, qword [rsp + 0x38]
call fcn.14001569a
movzx eax, al
test eax, eax
je 0x14003a71d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140016108
nop
call fcn.14003a800
mov dword [rsp + 0x28], eax
call fcn.140015c21
movzx eax, al
test eax, eax
jne 0x14003a73c
mov ecx, dword [rsp + 0x28]
call fcn.140015159
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003a74b
call fcn.14001613f
nop
xor edx, edx
mov cl, 1
call fcn.14001562c
mov eax, dword [rsp + 0x28]
jmp 0x14003a791
add rsp, 0x68
ret