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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400200e6
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x140020023
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x1400200db
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.140020d00
test rax, rax
je 0x1400200db
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x140020120]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call fcn.14005d960
xorps xmm15, xmm15
mov r14, qword [0x140168e50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x1400200c9
xor eax, eax
jmp 0x1400200d3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x140020011
mov rax, qword [rsp + 0x10]
add rsp, 0x48
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.14005da80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.14001ffe0
Function at 0x1400479a0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov rcx, r14
test rcx, rcx
je 0x1400479eb
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x1400479eb
mov qword [rsp + 0x70], rcx
mov rax, rdi
call fcn.140007ea0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
jmp 0x1400479fb
mov eax, 1
add rsp, 0x78
pop rbp
ret
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.140007860
mov rcx, qword [0x140071310]
lea rdx, [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.1400328e0
xorps xmm15, xmm15
mov r14, qword [0x140168e50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140047adf
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x68]
call fcn.140007860
mov rcx, qword [rsp + 0x60]
mov rdx, qword [0x140071318]
mov rbx, qword [rsp + 0x68]
lea rdi, [rsp + 0x50]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.140032c00
xorps xmm15, xmm15
mov r14, qword [0x140168e50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
cmp qword [rdx], rcx
ja 0x140047adf
cmp qword [rdx + 8], rcx
ja 0x1400479f6
mov eax, 1
add rsp, 0x78
pop rbp
ret

Function at 0x140054ce0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140054da2
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x68]
call fcn.14004c600
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
lea rdx, [rcx + 0x10]
mov rbx, qword [rax]
mov rsi, qword [rax + 8]
mov rax, rdx
mov rcx, rsi
call fcn.140052340
test bl, bl
je 0x140054d9c
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x140054de0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.14005d960
xorps xmm15, xmm15
mov r14, qword [0x140168e50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.14005da80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.140054ce0
Function at 0x140057ca0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140057d4f
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, [0x140057da0]
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.14005d960
xorps xmm15, xmm15
mov r14, qword [0x140168e50]
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.14005da80
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.140057ca0
Function at 0x140065210
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.14006fe80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.11111111111111111111111111_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.14006fe80
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 0x140065280
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14016c894]
mov r12, rcx
test ebx, ebx
jle 0x1400653b0
mov rax, qword [0x14016c898]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x1400652cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140065353
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1400652b0
mov rcx, r12
call fcn.140065c20
mov rsi, rax
test rax, rax
je 0x1400653d2
mov rax, qword [0x14016c898]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140065d50
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14016c898]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400653b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14006534c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140065360
add dword [0x14016c894], 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 [0x14016c898]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14006534c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140065210
nop dword [rax]
xor ebx, ebx
jmp 0x1400652d7
mov rax, qword [0x14016c898]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140065210
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140065210
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140065890
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14016c900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14016c8e0]
test rbx, rbx
je 0x1400658e4
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 0x1400658db
test r12, r12
je 0x1400658db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400658c0
lea rcx, [0x14016c900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140065c20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400db780]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140065c40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140065c48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140065c40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140065c95
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 0x140065c8c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140065c40
add rax, 0x28
cmp rax, r9
jne 0x140065c78
xor eax, eax
ret

Function at 0x140065ca0
Capabilities:
Parse pe header

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

Function at 0x140065d50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400db780]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140065d70
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140065d78
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140067710
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1400db800]
mov rax, qword [rsi]
test rax, rax
je 0x1400677a0
cmp qword [rax + 0x30], 0
jne 0x1400677c0
lea rbx, [0x140073578]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140067770
cmp qword [rax + 0x30], 0
jne 0x140067790
lea rdx, [0x140073578]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x14006ff00
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14006c610
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140067752
test rax, rax
jne 0x140067790
call fcn.14006c610
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140067760
call fcn.14006c610
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140067730
test rax, rax
jne 0x1400677c0
call fcn.14006c610
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x14006773b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x1400677d0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1400678e2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x1400678ba
add rax, 1
cmp rax, 0x6b
je 0x1400678d7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x1400678b0
cmp edx, 0x6a
je 0x1400678d7
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x1400678cb
Function at 0x1400682f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x1400db800]
mov rax, qword [rsi]
test rax, rax
je 0x1400684e0
cmp qword [rax + 0x28], 0
jne 0x1400684c8
lea rcx, [0x14016c9b8]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x1400684d5
call fcn.140067900
mov rax, qword [rsi]
test rax, rax
je 0x140068370
cmp qword [rax + 0x30], 0
jne 0x140068390
lea rdx, [0x140073578]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x1400683a4
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14006c610
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140068340
test rax, rax
jne 0x140068390
call fcn.14006c610
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x14006835e
call fcn.140067440
cmp qword [0x14016f050], 0
mov rbx, rax
je 0x14006835e
test rax, rax
je 0x14006835e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14006e4b0
cmp eax, 1
je 0x14006854d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14006ff06
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x140068528
cmp qword [rax + 0x30], 0
je 0x140068510
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14006ff06
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x14006832c
mov rax, qword [rsi]
jmp 0x140068339
call fcn.14006c610
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x140068318
test rax, rax
jne 0x1400684c8
call fcn.14006c610
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x14006832c
jmp 0x140068331
lea rdx, [0x140073578]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x14006849e
call fcn.14006c610
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140068510
test rax, rax
jne 0x14006849a
call fcn.14006c610
jmp 0x14006849a
call fcn.1400677d0
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x1400db800]
mov rdx, qword [rax]
lea rax, [0x14016c9c8]
mov qword [rdx + 0x10], rax
ret
Function at 0x14006c490
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14006c4b0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x14006c4f8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14006c4a4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14006c4e5
Function at 0x14006c610
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x14016caa0]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x14006c633
lea rax, [0x14016caa8]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14006c67b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x14006c678
lea rax, [0x14016cae0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14006c6ab
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x14006c6a8
xor ecx, ecx
mov byte [0x14016caf9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x14016cb02], rdx
lea r8, [0x14016caa0]
lea rbx, [0x14016cafa]
mov qword [0x14016cb12], rdx
mov qword [0x14016cb22], rdx
mov qword [0x14016cb32], rdx
xor edx, edx
mov qword [0x14016cafa], rax
mov qword [0x14016cb0a], rax
mov qword [0x14016cb1a], rax
mov qword [0x14016cb2a], rax
mov byte [0x14016cb3a], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14006c886
lea rcx, [0x14016cae0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x14006c7d1
lea rsi, [0x14016c9e0]
lea r8, [0x14016cb3a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14006c77d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x14006c770
lea rcx, [0x14016cae0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x14006c873
lea rcx, [0x14006c520]
mov qword [0x14016c9e0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x14016c9e0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x14016cae0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14016cb3a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x14006c8a6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x14006c823
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x14006c810
mov rax, rdx
mov qword [0x14016c9e0], rax
lea rsi, [0x14016c9e0]
jmp 0x14006c849
cmp rdx, rsi
je 0x14006c7af
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x14006c840
cmp rdx, rsi
je 0x14006c7af
mov qword [rdx + 8], rsi
lea rcx, [0x14006c520]
call sub.msvcrt.dll__onexit
jmp 0x14006c7af
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.14006c490
xor eax, eax
jmp 0x14006c7c8
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.14006c490
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.14006c490
xor eax, eax
jmp 0x14006c82f
Function at 0x14000df90
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 7
mov rbx, rcx
mov rdx, rcx
jbe 0x14000dfa6
mov rdx, qword [rcx]
lea rcx, str.SteamAppId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x14000dfc0
mov rdx, qword [rbx]
lea rcx, str.SteamGameId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp qword [rbx + 0x18], 7
jbe case.default.0x14000dfe6
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.SteamOverlayGameId
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
sbb bl, byte [rax]
call [rbx]
sbb edx, dword [rcx - 1]
sub al, 0x2a
outsd dx, dword [rsi]
push qword [rax]
sub al, 0x74
jmp [0x16f07d067]
sbb dword [rax - 0x6cec0010], edx
bnd call qword [rax]
xchg esi, eax
dec dword [rsi]
invalid
cdq
int1
dec dword [rax]
invalid
invalid
inc dword [rsi]
movabs eax, dword [0xa609fff4a30efff3]
cmc
dec dword [rdx]
stosb byte [rdi], al
cmc
dec dword [0x148085023]
lodsb al, byte [rsi]
cmc
inc dword [rcx]
add dword [rdi - 0x50ff000b], ebp
add dword [rdi - 0x50ff000b], ebp
idiv bh
add dh, byte [rdx - 0x48fe0008]
stc
inc dword [rax]
mov edx, 0xbb00fff8
cli
inc dword [rax]
mov esp, 0xbd00fff8
add byte [rbp - 0x41ff0008], bh
stc
inc dword [rax]
add cl, al
add byte [rbp - 0x41ff0008], bh
stc
inc dword [rax]
add cl, al
cld
inc dword [rax]
ret
std
inc dword [rax]
invalid
add cl, al
cld
inc dword [rax]
ret
std
inc dword [rcx]
invalid
Function at 0x180002d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x90]
sub eax, 0x26d3
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
add eax, 0x725
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x1c5
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
xor eax, 0x8af
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x90]
sub eax, 0x438
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x88]
add eax, 0xfa4
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x88]
xor eax, 0x192e
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x80]
add eax, 0x248
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x180002e3a
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x9c]
sub eax, 0x962ff
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x28]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x28], eax
mov eax, dword [rsp + 0x24]
add eax, 0x2d13
mov dword [rsp + 0x24], eax
jmp 0x180002ed9
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x20], eax
jmp 0x180002e56
mov eax, dword [rsp + 0x20]
add eax, 3
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jge 0x180002ed9
mov eax, dword [rsp + 0x38]
sub eax, 0x26d3
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax + 0x3c]
mov ecx, dword [rcx + 0x38]
sub ecx, eax
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x78]
and eax, dword [rdx + rcx + 0xa4]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x48]
sub eax, 0x1f55
mov dword [rsp + 0x3c], eax
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x180002e4b
mov eax, dword [rsp + 0x2c]
sub eax, 0x390
add rsp, 0x68
ret