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

Disassembly:
jmp 0x1400b2df0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140184042]
call fcn.14005efcf
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1400b2e2c
mov rcx, qword [rbp + 0x100]
call fcn.14005bccb
jmp 0x1400b2e47
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x1400b2e47
mov rcx, qword [rbp + 0x100]
call fcn.14005cf36
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 0x14005c324
Capabilities:
Get hostname

Disassembly:
jmp 0x1401009b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x228]
mov rax, qword [0x14016a048]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14018409f]
call fcn.14005efcf
mov rdx, qword [rbp + 0x1e0]
lea rcx, str.___Invoking_RpcRemoteFindFirstPrinterChangeNotification_with_target_path:__ws_r_n
call fcn.14005b235
mov dword [rbp + 0x34], 0x10
lea rdx, [rbp + 0x34]
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edx, 0x208
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x58], rax
lea r9, [rbp + 8]
lea r8, str._hs
mov edx, 0x104
mov rcx, qword [rbp + 0x58]
call fcn.14005d981
mov qword [rbp + 0x78], 0
mov dword [rbp + 0x94], 0
mov edx, 0x10
lea rcx, [rbp + 0xb8]
call fcn.14005dc9c
nop
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0xb8]
xor r8d, r8d
lea rdx, [rbp + 0x78]
mov rcx, qword [rbp + 0x58]
call fcn.14005efed
mov dword [rbp + 0x94], eax
cmp dword [rbp + 0x94], 0
jne 0x140100ae2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x1e0]
xor r8d, r8d
mov edx, pe_nt_image_headers64
mov rcx, qword [rbp + 0x78]
call fcn.14005f402
mov dword [rbp + 0x94], eax
lea rcx, [rbp + 0x78]
call fcn.14005cbc1
jmp 0x140100af4
mov edx, dword [rbp + 0x94]
lea rcx, str.RpcOpenPrinter_failed__d_n
call fcn.14005b235
jmp 0x140100b08
mov eax, dword [rbp + 0x94]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140135600]
call fcn.14005e462
mov rax, rdi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.14005ceaa
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14005c36f
Capabilities:
Get hostname

Disassembly:
jmp 0x140100ba0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x14016a048]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14018409f]
call fcn.14005efcf
mov rdx, qword [rbp + 0x1e0]
lea rcx, str.___Invoking_RpcRemoteFindFirstPrinterChangeNotificationEx_with_target_path:__ws_r_n
call fcn.14005b235
mov dword [rbp + 0x34], 0x10
lea rdx, [rbp + 0x34]
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edx, 0x208
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x58], rax
lea r9, [rbp + 8]
lea r8, str._hs
mov edx, 0x104
mov rcx, qword [rbp + 0x58]
call fcn.14005d981
mov qword [rbp + 0x78], 0
mov dword [rbp + 0x94], 0
mov edx, 0x10
lea rcx, [rbp + 0xb8]
call fcn.14005dc9c
nop
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0xb8]
xor r8d, r8d
lea rdx, [rbp + 0x78]
mov rcx, qword [rbp + 0x58]
call fcn.14005efed
mov dword [rbp + 0x94], eax
cmp dword [rbp + 0x94], 0
jne 0x140100cca
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x1e0]
xor r8d, r8d
mov edx, pe_nt_image_headers64
mov rcx, qword [rbp + 0x78]
call fcn.14005dca6
mov dword [rbp + 0x94], eax
lea rcx, [rbp + 0x78]
call fcn.14005cbc1
jmp 0x140100cdc
mov edx, dword [rbp + 0x94]
lea rcx, str._MS_RPRN______RpcOpenPrinter_failed__d_n
call fcn.14005b235
jmp 0x140100cf8
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1401357e0]
call fcn.14005e462
mov rax, rdi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.14005ceaa
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14005cf36
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1400c7b30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x140184042]
call fcn.14005efcf
mov qword [rbp + 8], 0
jmp 0x1400c7b64
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xe3
jae 0x1400c7bf5
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
and eax, 1
test eax, eax
je 0x1400c7bba
mov dword [rbp + 0x134], 0x9908b0df
jmp 0x1400c7bc4
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x24]
shr eax, 1
xor eax, dword [rbp + 0x134]
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 8]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400c7b59
jmp 0x1400c7c02
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0x26f
jae 0x1400c7c93
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
and eax, 1
test eax, eax
je 0x1400c7c58
mov dword [rbp + 0x134], 0x9908b0df
jmp 0x1400c7c62
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x44]
shr eax, 1
xor eax, dword [rbp + 0x134]
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400c7bf7
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x160]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1400c7cdd
mov dword [rbp + 0x134], 0x9908b0df
jmp 0x1400c7ce7
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x134]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x160]
xor eax, dword [rdx + rcx + 4]
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 8]
mov dword [rcx + rdx*4 + 4], eax
mov rax, qword [rbp + 0x160]
mov dword [rax], 0
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x14005d3b9
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14010bcf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14010bd10
xor al, al
jmp 0x14010bd91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14010bd23
xor al, al
jmp 0x14010bd91
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 0x14010bd4d
xor al, al
jmp 0x14010bd91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14010bd61
xor al, al
jmp 0x14010bd91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14010bd73
xor al, al
jmp 0x14010bd91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14010bd8f
xor al, al
jmp 0x14010bd91
mov al, 1
add rsp, 0x38
ret
Function at 0x14005eebc
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400bf930
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14016a048]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x140184044]
call fcn.14005efcf
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x1400bf996
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400bf99d
mov al, 1
jmp 0x1400bfaf7
call fcn.14005c149
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.14005c149
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.14005e4e4
movzx eax, al
test eax, eax
je 0x1400bf9f8
xor al, al
jmp 0x1400bfaf7
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
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 + 0x1d0]
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 + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x1400bfa5d
cmp dword [rbp + 0x194], 1
je 0x1400bfa68
cmp dword [rbp + 0x194], 3
je 0x1400bfae6
jmp 0x1400bfaf5
mov rax, qword [rbp + 0x1d0]
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 0x1400bfab8
mov rax, qword [rbp + 0x1d0]
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 0x1400bfab8
xor al, al
jmp 0x1400bfaf7
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400bfad3
mov dword [rbp + 0x194], 1
jmp 0x1400bfadd
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x1400bfaf7
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400bfaf7
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140125e00]
call fcn.14005e462
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14005ceaa
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x14005f222
Capabilities:
Create thread

Disassembly:
jmp 0x1400dfaa0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14016a048]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x14018404a]
call fcn.14005efcf
mov qword [rbp + 8], 0
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x138]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x28]
lea r8, [0x14005d3d7]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
mov rdx, qword [rbp + 0x30]
lea rcx, str._PIPESERVER__Creating_a_thread_launching_a_server_pipe_listening_on_Named_Pipe__s._r_n
call fcn.14005b235
mov eax, 1
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14012bb10]
call fcn.14005e462
mov eax, edi
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.14005ceaa
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14060c6a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14060c6ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14060c6bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14060c6a5
lea eax, [rcx + 1]
jmp 0x14060c6cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14060c6de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14060c6c4
sub eax, 3
jb 0x14060c6fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14060c74d
sar eax, 1
movsxd rbp, eax
jb 0x14060c734
jmp 0x14060c70c
add ebx, ebx
jne 0x14060c70a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14060c734
inc ecx
add ebx, ebx
jne 0x14060c71a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14060c734
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14060c72d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14060c71c
add ecx, 2
jmp 0x14060c739
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14060c662
jmp 0x14060c6ad
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1c3600
mov dl, 0x68
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14060c79d
cmp rsi, rcx
jae 0x14060c7a5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14060c784
cmp al, 0x8f
ja 0x14060c784
cmp byte [rsi - 2], 0xf
je 0x14060c78a
sub al, 0xe8
cmp al, 1
ja 0x14060c76e
cmp rsi, rcx
jae 0x14060c7a5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14060c774
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14060c7a5
lodsb al, byte [rsi]
jmp 0x14060c784
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5f6000]
mov eax, dword [rdi]
or eax, eax
je 0x14060c80e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x60c1e4]
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 0x14060c7b2
jns 0x14060c7e7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14060c7f1
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 0x14060c808
mov qword [rbx], rax
add rbx, 8
jmp 0x14060c7d2
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 0x14060c852
cmp al, 0xef
ja 0x14060c83a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14060c81a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14060c829
mov eax, dword [rdi]
add rdi, 4
jmp 0x14060c829
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 + 0x25f]
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 0x14060c8a6
sub rsp, 0xffffffffffffff80
jmp 0x140083ca0
Function at 0x180002bf0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002c22
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002c22
nop word cs:[rax + rax]
jmp 0x180002c20
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002cf8
mov rsi, r10
test r8b, r8b
je 0x180002d10
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002c90
test r9b, r9b
je 0x180002d20
sub rsi, rcx
je 0x180002cf4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002cf0
test ebp, ebp
jne 0x180002cf0
add rbx, 1
cmp rsi, rbx
jne 0x180002cb0
jmp 0x180002cf4
test ebp, ebp
jne 0x180002c7c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002d10
jmp 0x180002d20
Function at 0x140008308
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400080f8
Function at 0x14000d734
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d764
xor eax, eax
jmp 0x14000d827
mov rbp, rbx
cmp word [rax], si
je 0x14000d789
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d770
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d76c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d684
movsxd r14, eax
test eax, eax
jne 0x14000d7c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d75d
mov rcx, r14
call fcn.140009dfc
mov rdi, rax
test rax, rax
jne 0x14000d7e0
xor ecx, ecx
call fcn.140009188
jmp 0x14000d7bc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d684
test eax, eax
jne 0x14000d811
mov rcx, rdi
call fcn.140009188
jmp 0x14000d81b
xor ecx, ecx
call fcn.140009188
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140012b1c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000bc48
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140012ba6
cmp byte [rbp - 0x21], r15b
je 0x140012ba1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012bdc
call fcn.1400093dc
test eax, eax
jne 0x140012bc8
cmp byte [rbp - 0x21], r15b
je 0x140012bc0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012bdc
cmp byte [rbp - 0x21], r15b
je 0x140012bd9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000be00
test eax, eax
jne 0x140012c7c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000bc48
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012c1b
cmp byte [rbp - 0x21], r15b
je 0x140012c50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012c50
call fcn.1400093dc
test eax, eax
jne 0x140012c3c
cmp byte [rbp - 0x21], r15b
je 0x140012c35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012c50
cmp byte [rbp - 0x21], r15b
je 0x140012c4d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000be00
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012c7c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012c7f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012c8d
mov rcx, rdi
call fcn.140009188
cmp byte [rbp + 0x3f], r15b
je 0x140012c9c
mov rcx, qword [rbp + 0x27]
call fcn.140009188
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400029de
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret