joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002680
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006720]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000269f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400026a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002860
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002890
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002db0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400040e0], 0
je 0x140002dcf
mov edx, 1
jmp 0x140002f15
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
xor edx, edx
mov rcx, qword [rax + 0x10]
xor eax, eax
mov r10, qword [rcx + 0x30]
test r10, r10
je 0x140002e33
movsxd rdx, dword [r10 + 0x3c]
mov edx, dword [r10 + rdx + 0x88]
test edx, edx
je 0x140002e2b
lea rax, [rdx + r10]
mov edx, dword [rax + 0xc]
add rdx, r10
mov r8d, dword [rdx]
or r8d, 0x20202020
cmp r8d, 0x6c64746e
jne 0x140002e2b
mov edx, dword [rdx + 4]
or edx, 0x20202020
cmp edx, 0x6c642e6c
je 0x140002e36
mov rcx, qword [rcx]
mov rdx, r10
jmp 0x140002de4
mov r10, rdx
xor edx, edx
test rax, rax
je 0x140002f15
mov ebp, dword [rax + 0x1c]
mov qword [0x1400050a0], r10
xor r11d, r11d
mov esi, dword [rax + 0x24]
lea r13, [0x1400040e4]
mov edx, dword [rax + 0x18]
mov eax, dword [rax + 0x20]
add rbp, r10
add rsi, r10
lea ebx, [rdx - 1]
add rax, r10
lea rdi, [rax + rbx*4]
add rbx, rbx
add rbx, rsi
mov ecx, dword [rdi]
add rcx, r10
cmp word [rcx], 0x775a
jne 0x140002ea9
mov eax, r11d
inc r11d
lea r12, [r13 + rax*8]
call fcn.140002d80
cmp r11d, 0x1f4
mov dword [r12], eax
movzx eax, word [rbx]
mov eax, dword [rbp + rax*4]
mov dword [r12 + 4], eax
je 0x140002ebb
lea rax, [rbx - 2]
sub rdi, 4
cmp rsi, rbx
je 0x140002ebb
mov rbx, rax
jmp 0x140002e74
mov dword [0x1400040e0], r11d
lea r10, [0x1400040e4]
dec r11d
test r11d, r11d
je 0x140002dc5
lea rax, [0x1400040e0]
xor edx, edx
lea ecx, [rdx + 1]
mov r8d, dword [rax + 8]
mov rdx, rcx
lea rcx, [r10 + rcx*8]
mov r9d, dword [rcx + 4]
cmp r9d, r8d
jae 0x140002f07
mov ebx, dword [rax + 4]
mov esi, dword [rcx]
mov dword [rax + 8], r9d
mov dword [rax + 4], esi
mov dword [rcx], ebx
mov dword [rcx + 4], r8d
add rax, 8
cmp edx, r11d
jb 0x140002ede
dec r11d
jmp 0x140002ecc
mov eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140002fe0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x1400067f0]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x14000302b
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002fb0
cmp rsi, 0x100
jne 0x140003055
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x1400030e5
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002fb0
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x140003090
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x1400030f7
call fcn.140002860
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14004a720
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004a72d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14004a73d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14004a725
lea eax, [rcx + 1]
jmp 0x14004a74b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14004a75e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14004a744
sub eax, 3
jb 0x14004a77e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14004a7cd
sar eax, 1
movsxd rbp, eax
jb 0x14004a7b4
jmp 0x14004a78c
add ebx, ebx
jne 0x14004a78a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14004a7b4
inc ecx
add ebx, ebx
jne 0x14004a79a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14004a7b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14004a7ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14004a79c
add ecx, 2
jmp 0x14004a7b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14004a6e2
jmp 0x14004a72d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14004a819
cmp rsi, rcx
jae 0x14004a821
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14004a800
cmp al, 0x8f
ja 0x14004a800
cmp byte [rsi - 2], 0xf
je 0x14004a806
sub al, 0xe8
cmp al, 1
ja 0x14004a7ea
cmp rsi, rcx
jae 0x14004a821
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14004a7f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14004a821
lodsb al, byte [rsi]
jmp 0x14004a800
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x48000]
mov eax, dword [rdi]
or eax, eax
je 0x14004a87e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4b6c0]
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 0x14004a82e
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 0x14004a878
mov qword [rbx], rax
add rbx, 8
jmp 0x14004a84e
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 0x14004a8b8
cmp al, 0xef
ja 0x14004a8aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14004a88a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14004a899
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 + 0x237]
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 0x14004a90c
sub rsp, 0xffffffffffffff80
jmp 0x14000b6d0
Function at 0x14001a1c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001a350
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x14027adb8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.14003a5e0
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x14001a225
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x14001a240
add rsp, 0x48
pop rbp
ret
call fcn.140055a80
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
nop dword [rax]
test rbx, rbx
jbe 0x14001a25f
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x14001a26f
cmp rbx, 0x1000
jae 0x14001a22b
jmp 0x14001a2da
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x14001a282
xor edx, edx
nop
jmp 0x14001a2d1
mov rcx, qword [0x14027adb8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.14003a5e0
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x14001a265
jmp 0x14001a254
call fcn.14006d5a0
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.14003e680
lea rax, [0x1403484e7]
mov ebx, 0x18
call fcn.14003eec0
mov rax, qword [rsp + 0x38]
call fcn.14003ec20
lea rax, [0x140349129]
mov ebx, 0x19
call fcn.14003eec0
mov rax, qword [rsp + 0x30]
call fcn.14003ec20
call fcn.14003e8a0
call fcn.14003e6e0
lea rax, [0x14034ddfb]
mov ebx, 0x21
call fcn.14003ce40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006a000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14001a1c0
Function at 0x14001a380
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001a5aa
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x14027adb0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.14003a680
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x14001a3f3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x14001a41a
add rsp, 0x50
pop rbp
ret
mov rax, rcx
nop dword [rax]
call fcn.140055a80
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x14001a43c
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x14001a44c
cmp rbx, 0x1000
jae 0x14001a3f9
jmp 0x14001a4ce
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x14001a45e
xor esi, esi
jmp 0x14001a4c0
mov rax, qword [0x14027adb0]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.14003a680
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x14001a442
jmp 0x14001a42e
call fcn.14006d5a0
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x14001a549
call fcn.14003e680
lea rax, [0x140349142]
mov ebx, 0x19
call fcn.14003eec0
mov rax, qword [rsp + 0x68]
call fcn.14003ec20
lea rax, [0x140349129]
mov ebx, 0x19
nop dword [rax]
call fcn.14003eec0
mov eax, dword [rsp + 0x34]
call fcn.14003ec20
call fcn.14003e8a0
call fcn.14003e6e0
lea rax, [0x140340ea3]
mov ebx, 0xd
call fcn.14003ce40
cmp eax, 0x5af
je 0x14001a4f1
call fcn.14003e680
lea rax, [0x140349142]
mov ebx, 0x19
call fcn.14003eec0
mov rax, qword [rsp + 0x38]
call fcn.14003ec20
lea rax, [0x140349129]
mov ebx, 0x19
nop dword [rax]
call fcn.14003eec0
mov eax, dword [rsp + 0x34]
call fcn.14003ec20
call fcn.14003e8a0
call fcn.14003e6e0
lea rax, [0x14034cd05]
mov ebx, 0x1f
call fcn.14003ce40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006a000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14001a380
Function at 0x140026bc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140026cc6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x140026c03
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x140026cbb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.140027940
test rax, rax
je 0x140026cbb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x140026d00]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.140069ec0
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x140026ca9
xor eax, eax
jmp 0x140026cb3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x140026bf1
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.14006a000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.140026bc0

Function at 0x140060320
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400603cf
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, [0x140060420]
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.140069ec0
xorps xmm15, xmm15
mov r14, qword [0x1406913c8]
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.14006a000
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.140060320
Function at 0x14006be40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14000b2be
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
call fcn.14000b340
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x1406916e0]
movabs rcx, 0xe7037ed1a0b428db
xor rax, rcx
movabs rcx, 0xa0761d6478bd642f
xor rbx, rcx
call fcn.14000b2e0
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
call fcn.14000b2e0
add rsp, 0x10
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006a000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x14000b260
cmp byte [0x14069100f], 0
je 0x14006be76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140691a40]
aesenc xmm0, xmmword [0x140691a50]
aesenc xmm0, xmmword [0x140691a60]
movq rax, xmm0
ret
jmp 0x14000b260

Function at 0x14023f530
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140620ea0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14023f550
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14023f558
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14023f550
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14023f5a5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14023f59c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14023f550
add rax, 0x28
cmp rax, r9
jne 0x14023f588
xor eax, eax
ret

Function at 0x14023f5b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140620ea0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14023f5d0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14023f5d8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14023f5d0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x14023f660
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140620ea0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14023f680
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14023f688
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
std
mov esi, 0x95779d9f
sti
scasb al, byte [rdi]
xchg esi, eax
cmpsb byte [rsi], byte [rdi]
test dword [rdi], eax
jae 0x1400c3e1d
rol dword [rbp + 0x7b], 0xce
jo 0x1400c3e11
mov dl, 0xb
invalid
cmp ecx, dword [rax - 0x42]
imul dword [rcx - 0x14013857]
sub byte [0xd2f078c7], 0x3c
push 0x1f
jge 0x1400c3de4
cmp al, 0x6a
invalid
push 0x48
invalid
or ebx, dword ds:[rbp + 0x35]
mov edi, 0x6da77fe3
pop rax
mov word [rbp - 0x68824853], fs
lodsd eax, dword [rsi]
mov bh, 0x7d
xchg edi, eax
mov edx, 0xbe18413e
jb 0x1400c3ee0
add byte [rcx + rax*4 + 0x6c], dl
mov ecx, 0xd6b9f9b0
mov al, 0xf9
mov ecx, 0x9dd7dbd6
mov al, 0xf9
mov ecx, 0x9dd7dbd6
xor rbp, qword [rsi + 0x14]
je 0x1400c3e0e
jge 0x1400c3e60
invalid
xor edx, dword [rdx - 0x3a]
adc eax, 0xb7f33e7f
sub dword [rdx + 0x450b8f8c], ecx
pop rsi
push qword [rax + 0x43]
invalid
mov eax, 0x901e8ba3
adc edx, dword [rbp + 0x53740c]
cli
mov dh, 0x6e
lodsb al, byte [esi]
movabs dword gs:[0x42a1ac5ffe650110], eax
lodsd eax, dword [rsi]
ja 0x1400c3e89
invalid

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1800012a0
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18001f040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, qword [0x18001f848]
mov rdi, r8
mov rdx, qword [0x18001fe38]
add rsi, 0x13efec8
test rdx, rdx
jne 0x1800013a9
mov rax, qword gs:[0x60]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x50], 0x7865742e
mov byte [rsp + 0x54], 0x74
mov rbx, qword [rax + 0x10]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r8, [rcx + rbx]
add rax, 0x18
add r8, rax
movzx eax, word [rcx + rbx + 6]
lea rcx, [rax + rax*4]
lea r11, [r8 + rcx*8]
cmp r8, r11
je 0x180001363
lea r9, [rsp + 0x50]
sub r9, r8
nop word [rax + rax]
lea r10, [r8 + 5]
mov rax, r8
cmp r8, r10
je 0x180001363
nop dword [rax]
movsx edx, byte [r9 + rax]
movzx ecx, byte [rax]
cmp ecx, edx
jne 0x180001356
inc rax
cmp rax, r10
jne 0x180001340
jmp 0x180001363
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180001330
mov eax, dword [r8 + 8]
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov word [rsp + 0x30], 0x26ff
mov rbx, qword [rsp + 0x70]
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x1800013a2
movzx eax, word [rsp + 0x30]
lea r8, [rdx - 2]
nop dword [rax]
cmp ax, word [rcx]
je 0x18000139f
cmp rcx, r8
je 0x1800013a2
inc rcx
jmp 0x180001390
mov rdx, rcx
mov qword [0x18001fe38], rdx
xor eax, eax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov r8, rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.180019c40
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180019c90
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1800013f0
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x68
mov rax, qword [0x18001f040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx]
mov rsi, rdx
mov rdx, qword [0x18001fe40]
mov rbp, r8
mov rdi, rcx
mov r14, qword [rax + 0x260]
test rdx, rdx
jne 0x1800014f9
mov rax, qword gs:[0x60]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x50], 0x7865742e
mov byte [rsp + 0x54], 0x74
mov rbx, qword [rax + 0x10]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r8, [rcx + rbx]
add rax, 0x18
add r8, rax
movzx eax, word [rcx + rbx + 6]
lea rcx, [rax + rax*4]
lea r11, [r8 + rcx*8]
cmp r8, r11
je 0x1800014b3
lea r9, [rsp + 0x50]
sub r9, r8
nop dword [rax]
lea r10, [r8 + 5]
mov rax, r8
cmp r8, r10
je 0x1800014b3
nop dword [rax]
movsx edx, byte [r9 + rax]
movzx ecx, byte [rax]
cmp ecx, edx
jne 0x1800014a6
inc rax
cmp rax, r10
jne 0x180001490
jmp 0x1800014b3
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180001480
mov eax, dword [r8 + 8]
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov word [rsp + 0x30], 0x26ff
mov rbx, qword [rsp + 0x60]
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x1800014f2
movzx eax, word [rsp + 0x30]
lea r8, [rdx - 2]
nop dword [rax]
cmp ax, word [rcx]
je 0x1800014ef
cmp rcx, r8
je 0x1800014f2
inc rcx
jmp 0x1800014e0
mov rdx, rcx
mov qword [0x18001fe40], rdx
xor eax, eax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov r8, rbp
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.180019c40
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180019c90
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbp
ret