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

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

Function at 0x140004f8c
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 0x140004ffb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004ffb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004ffb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004ffb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004ffb
cmp dword [rcx + 0x84], 0xe
jbe 0x140004ffb
cmp dword [rcx + 0xf8], 0
je 0x140004ffb
mov ecx, ebx
call fcn.1400050a0
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.140004e94
nop
cmp dword [rbp + 0x20], 0
jne 0x14000505c
call fcn.1400087e4
cmp eax, 1
jne 0x14000504c
xor dl, dl
jmp 0x140005056
call fcn.1400087b0
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140005067
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005070
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140004f8c

Function at 0x140005174
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004f8c
Function at 0x1400081a0
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 0x1400081d0
xor eax, eax
jmp 0x140008293
mov rbp, rbx
cmp word [rax], si
je 0x1400081f5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400081dc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400081d8
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.1400080c0
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x140008236
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400081c9
call fcn.140009090
mov rdi, rax
test rax, rax
jne 0x14000824c
xor ecx, ecx
call fcn.1400066a0
jmp 0x14000822b
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.1400080c0
test eax, eax
jne 0x14000827d
mov rcx, rdi
call fcn.1400066a0
jmp 0x140008287
xor ecx, ecx
call fcn.1400066a0
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 0x14000bb9c
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.140007178
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000bc26
cmp byte [rbp - 0x21], r15b
je 0x14000bc21
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000bc5c
call fcn.1400098d4
test eax, eax
jne 0x14000bc48
cmp byte [rbp - 0x21], r15b
je 0x14000bc40
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000bc5c
cmp byte [rbp - 0x21], r15b
je 0x14000bc59
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.14000670c
test eax, eax
jne 0x14000bcfc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140007178
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000bc9b
cmp byte [rbp - 0x21], r15b
je 0x14000bcd0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000bcd0
call fcn.1400098d4
test eax, eax
jne 0x14000bcbc
cmp byte [rbp - 0x21], r15b
je 0x14000bcb5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000bcd0
cmp byte [rbp - 0x21], r15b
je 0x14000bccd
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.14000670c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000bcfc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000bcff
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000bd0d
mov rcx, rdi
call fcn.1400066a0
cmp byte [rbp + 0x3f], r15b
je 0x14000bd1c
mov rcx, qword [rbp + 0x27]
call fcn.1400066a0
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 0x14000db20
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbp, qword [rbx + 0x10]
xor r8d, r8d
mov rsi, qword [rbx + 8]
mov r9, rbp
and qword [rsp + 0x30], 0
mov rcx, rax
and dword [rsp + 0x28], 0
xor edx, edx
mov r14, qword [rbx]
mov rdi, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x18000d1e5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [rsp + 0xa0], 0
lea rdx, [rsp + 0xa0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0xa0], 0x103
jne 0x18000d214
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x40]
call sub.VCRUNTIME140.dll_memset
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x60]
cmp rbx, 0x404040
je 0x18000d1e5
cmp rbx, 0x505050
jne 0x18000d1cd
lea rcx, str.warning_at_exception_check
call fcn.18000d008
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x18000d153
mov al, 1
jmp 0x18000d216
mov ebx, 0x8000
xor edx, edx
mov r8d, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8d, ebx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180014314
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rdi, rdx
mov rbp, rcx
mov rcx, r8
mov rax, 0xfffffffffffff000
and rcx, rax
mov rsi, r8
mov qword [rdx], rcx
mov rdx, r8
sub rdx, rcx
lea r9, [rdi + 0x10]
add rdx, 0x1004
mov r8d, 0x40
and rdx, rax
mov qword [rdi + 8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180014394
mov r9, qword [rdi + 8]
lea rdx, str.__unprotect_memory__p__size_llu______p__size_llu__n
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180013890
xor eax, eax
jmp 0x1800143e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180013d38
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi + 8]
lea rdx, str.Failed_to_unprotect_memory__p__size_llu______p__size_llu__error_lu__s__
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.18001389c
mov eax, 9
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180014ae0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180014b21
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x180014b2c]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180014b21
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180014d28
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.allahfortnite
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x180047b30]
mov rcx, rbx
mov r9, rax
lea rdx, str.CONOUT_
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
Function at 0x180014f50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov r10d, 0x811c9dc5
mov al, byte [rdx]
test al, al
je 0x180014f86
mov r8, rdx
movzx eax, al
xor eax, r10d
imul r10d, eax, 0x1000193
inc r8
mov al, byte [r8]
test al, al
jne 0x180014f6f
mov dword [rsp + 0x40], r10d
lea rcx, [rsp + 0x40]
call fcn.1800156c0
mov r11, rax
and r11, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x18]
mov rcx, r11
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, qword [rdi + 8]
je 0x180014fcb
add r11, r11
mov rcx, qword [rdx + r11*8]
jmp 0x180014fc3
cmp rax, rcx
je 0x180014fcb
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x180014fba
jmp 0x180014fcd
xor eax, eax
test rax, rax
je 0x180014fe1
cmp rax, qword [rdi + 8]
je 0x180014fe1
add rax, 0x18
jmp 0x18001507b
mov ecx, 0x38
call fcn.180015d08
mov qword [rsp + 0x48], rax
mov rdx, rbx
mov rcx, rax
call fcn.18000cd4c
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.18000cdc8
test al, al
je 0x180015034
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180015110
mov rdi, qword [rax]
add rdi, 0x18
mov rbx, qword [rsp + 0x48]
jmp 0x18001505e
mov ecx, dword [0x18004e874]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18004ef88], eax
jg 0x180015086
lea rdi, [0x18004ef10]
test rbx, rbx
je 0x180015078
mov rcx, rbx
call fcn.18000ccc8
mov edx, 0x38
mov rcx, rbx
call fcn.180015cf8
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x18004ef88]
call fcn.180015910
cmp dword [0x18004ef88], 0xffffffff
jne 0x180015057
lea rcx, [0x180016e3c]
call fcn.180015ce0
lea rcx, [0x18004ef88]
call fcn.1800158a4
jmp 0x180015057

Function at 0x1800156c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [rdx + r8]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 4
jb 0x18001569d
mov rax, rcx
ret
mov rdx, rcx
jmp 0x180015690
Function at 0x18000abf0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xc8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18000ac33
jmp 0x18000adf3
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
mov rdx, qword [rsp + 0x38]
mov ecx, 0xc8
call fcn.180011070
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.18000db70
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 8
mov qword [rsp + 0x60], rax
mov ecx, 0x50
call fcn.18001adf0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x18000acb5
mov rcx, qword [rsp + 0x40]
call fcn.18000fb00
mov qword [rsp + 0x48], rax
jmp 0x18000acbe
mov qword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call fcn.18000c390
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x40]
sub rax, 0x50
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jne 0x18000adb6
mov rax, qword [rsp + 0x30]
add rax, 8
mov rcx, rax
call fcn.1800051b0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.180018b50
mfence
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
cmp qword [rax + 0x40], rcx
je 0x18000ad7e
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x40]
sub rax, 0x50
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.18000c260
mov rax, qword [rsp + 0x20]
add rax, 0x50
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.18000c260
mov rcx, qword [rsp + 0x50]
call fcn.180019fe0
jmp 0x18000adf3
mfence
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
cmp qword [rax + 0x40], rcx
je 0x18000addd
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x20]
add rax, 0x50
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.18000c260
add rsp, 0x78
ret
Function at 0x18000ae00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xd8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18000ae43
jmp 0x18000b003
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
mov rdx, qword [rsp + 0x38]
mov ecx, 0xd8
call fcn.180011070
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.18000e0a0
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 8
mov qword [rsp + 0x60], rax
mov ecx, 0x50
call fcn.18001adf0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x18000aec5
mov rcx, qword [rsp + 0x40]
call fcn.18000fb00
mov qword [rsp + 0x48], rax
jmp 0x18000aece
mov qword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call fcn.18000c390
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x40]
sub rax, 0x50
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jne 0x18000afc6
mov rax, qword [rsp + 0x30]
add rax, 8
mov rcx, rax
call fcn.1800051b0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.180018b50
mfence
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
cmp qword [rax + 0x40], rcx
je 0x18000af8e
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x40]
sub rax, 0x50
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.18000c260
mov rax, qword [rsp + 0x20]
add rax, 0x50
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.18000c260
mov rcx, qword [rsp + 0x50]
call fcn.180019fe0
jmp 0x18000b003
mfence
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
cmp qword [rax + 0x40], rcx
je 0x18000afed
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x20]
add rax, 0x50
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.18000c260
add rsp, 0x78
ret
Function at 0x18000c260
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18000c291
xor al, al
jmp 0x18000c2d0
mfence
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000c2c6
mov byte [rsp + 0x20], 1
jmp 0x18000c2cb
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1800192a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.180019c20
lea rcx, [rsp + 0x68]
call fcn.1800106c0
lea rcx, [section..data]
call fcn.1800051b0
add rax, 0x10
mov rcx, rax
call fcn.180008310
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180019304
mov rax, qword [rsp + 0x20]
movsx eax, word [rax]
cmp eax, 0x5a4d
je 0x18001930b
xor al, al
jmp 0x1800194a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
je 0x180019338
xor al, al
jmp 0x1800194a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x20]
movsx eax, word [rax + 0x14]
add eax, 0x18
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x78]
call fcn.18000ba00
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [0x18003c010]
call fcn.1800110b0
lea rcx, [rsp + 0x78]
call fcn.1800106c0
mov dword [rsp + 0x2c], 0
jmp 0x1800193a2
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movsx eax, word [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jge 0x18001949f
mov ecx, 0x30
call fcn.18001adf0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1800193d9
mov rcx, qword [rsp + 0x40]
call fcn.18000f5c0
mov qword [rsp + 0x48], rax
jmp 0x1800193e2
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.180011080
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.18000fae0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov rcx, rax
call fcn.180016cb0
cdqe
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov edx, eax
lea rcx, [rsp + 0x3c]
call fcn.18000fae0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x2c], ecx
lea rcx, [0x18003c010]
call fcn.1800051b0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1800168f0
mov rax, qword [rsp + 0x20]
add rax, 0x28
mov qword [rsp + 0x20], rax
jmp 0x180019398
mov al, 1
add rsp, 0x98
ret
Function at 0x180026a4c
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 0x180026a7c
xor eax, eax
jmp 0x180026b3f
mov rbp, rbx
cmp word [rax], si
je 0x180026aa1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180026a88
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180026a84
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.18002696c
movsxd r14, eax
test eax, eax
jne 0x180026adf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180026a75
mov rcx, r14
call fcn.180024f1c
mov rdi, rax
test rax, rax
jne 0x180026af8
xor ecx, ecx
call fcn.180023f9c
jmp 0x180026ad4
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.18002696c
test eax, eax
jne 0x180026b29
mov rcx, rdi
call fcn.180023f9c
jmp 0x180026b33
xor ecx, ecx
call fcn.180023f9c
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 0x18002aea0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18002aec8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18002aec8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret