joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da5e0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4da843
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x4da827
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x4da62d
xor ebx, ebx
xor ecx, ecx
jmp 0x4da640
mov rax, rdx
call fcn.004cc980
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4da75b
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.0047b9a0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x005105f9]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044e240
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x4da71e
xor eax, eax
lea rbx, [0x00510610]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00510689]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044e320
jmp 0x4da74b
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x00510604]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044e240
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop
call fcn.0047b9a0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4da7ea
xor eax, eax
lea rbx, [0x00510610]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x00510689]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call fcn.0044e320
jmp 0x4da817
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x00510604]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call fcn.0044e240
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x00510a4d]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.00460d60
mov rax, qword [rsp + 8]
jmp fcn.004da5e0
Function at 0x23aa113a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
lea rax, [rbp - 4]
mov r9, rax
mov r8d, 0x40
mov edx, 0xa7ca7
lea rcx, [0x23aa13020]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
jne 0x23aa113d5
mov eax, 0
jmp 0x23aa113dc
lea rax, [0x23aa13020]
add rsp, 0x30
pop rbp
ret

Function at 0x23aa11660
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.23aa123a0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.23aa123a0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x23aa116d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x23aabe074]
mov r12, rcx
test ebx, ebx
jle 0x23aa11800
mov rax, qword [0x23aabe078]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x23aa1171c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x23aa117a3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x23aa11700
mov rcx, r12
call fcn.23aa11e50
mov rsi, rax
test rax, rax
je 0x23aa11822
mov rax, qword [0x23aabe078]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.23aa11f80
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x23aabe078]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x23aa11807
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x23aa1179c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x23aa117b0
add dword [0x23aabe074], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x23aabe078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x23aa1179c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.23aa11660
nop dword [rax]
xor ebx, ebx
jmp 0x23aa11727
mov rax, qword [0x23aabe078]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.23aa11660
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.23aa11660
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x23aa11ac0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x23aabe0a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x23aabe080]
test rbx, rbx
je 0x23aa11b14
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x23aa11b0b
test r12, r12
je 0x23aa11b0b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x23aa11af0
lea rcx, [0x23aabe0a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x23aabb1c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x23aa11e70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x23aa11e78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x23aa11e70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x23aa11ec5
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 0x23aa11ebc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x23aa11e70
add rax, 0x28
cmp rax, r9
jne 0x23aa11ea8
xor eax, eax
ret

Function at 0x23aa11ed0
Capabilities:
Parse pe header

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

Function at 0x23aa11f80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x23aabb1c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x23aa11fa0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x23aa11fa8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x180a0d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x180a0d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180a0d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a0d06f
add dl, dl
jne 0x180a0d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a0d0f6
xor eax, eax
add dl, dl
jne 0x180a0d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a0d1ad
add dl, dl
jne 0x180a0d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a0d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a0d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a0d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180a0d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180a0d07e
mov eax, 1
add dl, dl
jne 0x180a0d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a0d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a0d0fb
sub eax, ebx
mov ebx, 1
jne 0x180a0d14c
mov ecx, 1
add dl, dl
jne 0x180a0d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a0d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a0d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a0d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180a0d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a0d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a0d15d
cmp eax, 0x7d00
jae 0x180a0d19b
cmp eax, 0x500
jb 0x180a0d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a0d07e
cmp eax, 0x7f
ja 0x180a0d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a0d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180a0d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180a0d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002a10
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp qword [0x14002bcc8], 0
lea rax, [rbp + 0x1f]
mov r14, qword [rcx + 8]
mov rdi, rcx
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x69], 0x10
mov dword [rbp - 0x65], 0x10
je 0x140002c1c
cmp dword [0x14002bcc0], 0
je 0x140002c1c
cmp dword [rcx], 0x14
jb 0x140002c0c
test r14, r14
je 0x140002c0c
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x118], r15
call qword [sym.imp.cryptdll.dll_MD5Init]
mov r8d, dword [0x14002bcc0]
lea rcx, [rbp - 0x39]
mov rdx, qword [0x14002bcc8]
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, 0x10
lea rcx, [rbp - 0x39]
mov rdx, r14
call qword [sym.imp.cryptdll.dll_MD5Update]
lea rcx, [rbp - 0x39]
call qword [sym.imp.cryptdll.dll_MD5Final]
mov eax, dword [rdi]
lea r15, [r14 + 0x10]
sub eax, 0x10
mov qword [rbp - 0x51], r15
lea rdx, [rbp - 0x69]
mov dword [rbp - 0x55], eax
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x59], eax
call qword [sym.imp.ADVAPI32.dll_SystemFunction032]
test eax, eax
js 0x140002bfc
mov qword [rsp + 0x110], rsi
lea rdx, [rbp - 0x79]
mov esi, dword [rdi]
mov ecx, 0xffffff7c
sub esi, 0x14
mov qword [rsp + 0x108], rbx
call qword [sym.imp.cryptdll.dll_CDLocateCheckSum]
test eax, eax
js 0x140002bee
mov rax, qword [rbp - 0x79]
lea rdx, [rbp - 0x71]
xor ecx, ecx
call qword [rax + 0x10]
test eax, eax
js 0x140002bee
mov rax, qword [rbp - 0x79]
lea r8, [r14 + 0x14]
mov rcx, qword [rbp - 0x71]
mov edx, esi
call qword [rax + 0x18]
mov rax, qword [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp - 0x71]
mov r8, qword [rax + 0x20]
call r8
mov rdx, qword [rbp - 0x79]
lea rcx, [rbp - 0x71]
mov ebx, eax
not ebx
shr ebx, 0x1f
call qword [rdx + 0x28]
test ebx, ebx
je 0x140002bee
mov r8d, dword [r15]
mov edx, dword [rbp - 0x49]
cmp edx, r8d
jne 0x140002bb0
mov r15, qword [rdi + 8]
mov ecx, 0x40
mov edx, esi
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x140002bbc
lea rdx, [r14 + 0x14]
mov r8d, ebx
mov rcx, rax
call fcn.14001a200
mov rcx, r15
mov dword [rdi], esi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x140002bbe
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_Checksums_dont_match__C:0x_08x___R:0x_08x__n
call fcn.140002f00
xor eax, eax
mov rbx, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
mov r15, qword [rsp + 0x118]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140003470
add rsp, 0xe0
pop r14
pop rdi
pop rbp
ret
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_Unable_to_calculate_CRC32_n
call fcn.140002f00
jmp 0x140002bbc
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_RtlEncryptDecryptRC4_n
call fcn.140002f00
xor eax, eax
jmp 0x140002bce
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_No_valid_data_n
call fcn.140002f00
xor eax, eax
jmp 0x140002bd6
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_No_Session_Key_n
call fcn.140002f00
xor eax, eax
jmp 0x140002bd6
Function at 0x140003010
Capabilities:
Get user security identifier

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rsp + 0xb0]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x44]
xor ebx, ebx
lea rax, [rsp + 0x40]
mov rdi, rdx
mov qword [rsp + 0x28], rax
mov rsi, r8
mov qword [rsp + 0x20], rbx
mov rbp, rcx
mov dword [rsp + 0x44], ebx
mov rdx, rcx
mov dword [rsp + 0x40], ebx
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x140003104
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003104
mov edx, dword [rsp + 0x44]
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi], rax
test rax, rax
je 0x140003104
mov edx, dword [rsp + 0x40]
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsi], rax
test rax, rax
je 0x1400030f8
mov r8, qword [rdi]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x30], rdx
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0x40]
mov rcx, r14
mov qword [rsp + 0x28], rdx
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test eax, eax
jne 0x140003106
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsi], rax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi], rax
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003470
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140003e54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003e9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003e9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003e9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003e9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140003e9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003ea0
xor al, al
add rsp, 0x28
ret
Function at 0x14000c76c
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 0x14000c7db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c7db
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c7db
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c7db
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c7db
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c7db
cmp dword [rcx + 0xf8], 0
je 0x14000c7db
mov ecx, ebx
call fcn.14000c88c
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.14000c668
nop
cmp dword [rbp + 0x20], 0
je 0x14000c829
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000c834
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000c76c

Function at 0x14000c970
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c76c
Function at 0x140012a94
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 0x140012ac4
xor eax, eax
jmp 0x140012b87
mov rbp, rbx
cmp word [rax], si
je 0x140012ae9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140012ad0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140012acc
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.1400129b4
movsxd r14, eax
test eax, eax
jne 0x140012b27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140012abd
mov rcx, r14
call fcn.14000f930
mov rdi, rax
test rax, rax
jne 0x140012b40
xor ecx, ecx
call fcn.14000e1d0
jmp 0x140012b1c
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.1400129b4
test eax, eax
jne 0x140012b71
mov rcx, rdi
call fcn.14000e1d0
jmp 0x140012b7b
xor ecx, ecx
call fcn.14000e1d0
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 0x140016530
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140016546
mov al, 1
jmp 0x1400165a6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140016557
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400165a4
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400132fc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400165a4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400165a4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400165a4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400165a6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140017650
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.140006b30
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400176da
cmp byte [rbp - 0x21], r15b
je 0x1400176d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140017710
call fcn.14000e420
test eax, eax
jne 0x1400176fc
cmp byte [rbp - 0x21], r15b
je 0x1400176f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140017710
cmp byte [rbp - 0x21], r15b
je 0x14001770d
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.140011100
test eax, eax
jne 0x1400177b0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140006b30
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001774f
cmp byte [rbp - 0x21], r15b
je 0x140017784
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140017784
call fcn.14000e420
test eax, eax
jne 0x140017770
cmp byte [rbp - 0x21], r15b
je 0x140017769
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140017784
cmp byte [rbp - 0x21], r15b
je 0x140017781
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.140011100
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400177b0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400177b3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400177c1
mov rcx, rdi
call fcn.14000e1d0
cmp byte [rbp + 0x3f], r15b
je 0x1400177d0
mov rcx, qword [rbp + 0x27]
call fcn.14000e1d0
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 0x140019aa0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140019ac8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140019ac8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003820
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000387d
lea rbx, [0x1400e30d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003864
cmp r10, 2
jb 0x140003864
cmp byte [r9], r8b
jne 0x140003864
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003840
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400038bf
lea rbx, [0x1400e30d0]
cmp r8b, 0x23
jne 0x1400038a3
cmp byte [r9], r8b
jne 0x1400038a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003890
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003a80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003aaf
mov r8d, 0x78f
lea rdx, str.D:CFederal_Cheat_New_ImGUiImgui__cheat_teamimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140003abb
mov qword [rdi], 0
lea rdx, [0x1400e2918]
mov rcx, rbx
call fcn.1400038d0
mov rbx, rax
test rax, rax
jne 0x140003add
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003bb6
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003bb6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003bb6
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003bb6
cmp rsi, 0xffffffffffffffff
je 0x140003bb6
mov rax, qword [0x14018cea0]
test rax, rax
je 0x140003b53
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003bb6
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140003ba3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14018cea0]
test rax, rax
je 0x140003b98
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003bbf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003bb1
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003bc1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret