joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180035ed0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1800ae040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1800aea78]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800360ef
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800360ef
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1800aea78]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x180035fa4
movsx rdx, word [r8 + 0x5488]
lea rax, [r8 + 0x548c]
mov r9d, dword [r8 + 0x3fe8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x180035f99
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5488], cx
movsx rax, cx
lea rax, [rax*8 + 0x548c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x5480]
test rdi, rdi
je 0x180035fc1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x180035fc4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x180036007
mov rsi, qword [r8 + 0x98]
jmp 0x18003600a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180036035
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1800aea78]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1800360af
inc rbx
cmp rbx, 5
jl 0x180036091
jmp 0x1800360db
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1800360f1
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180071cc0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x18003c040
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1800aea78]
mov rdx, qword [rax + 0x4ec0]
cmp ecx, 0xffffffff
jne 0x18003c05a
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x18003c0d9
mov r10d, dword [rdx]
lea r8, [0x18009d351]
movzx eax, word [rdx + 0x78]
lea r11, [0x180096440]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18003c0b3
cmp byte [r8], r9b
jne 0x18003c0b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18003c0a0
not ecx
xor edx, edx
jmp fcn.18001aef0
ret

Function at 0x180057530
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x18], 0x100000
mov rdi, rdx
je 0x1800575bc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180057590
lea r11, [0x180096440]
nop
cmp r9b, 0x23
jne 0x180057573
cmp byte [r8], r9b
jne 0x180057573
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180057560
mov rcx, qword [0x1800aea78]
not eax
cmp dword [rcx + 0x4114], eax
jne 0x1800575a7
mov dword [rcx + 0x4118], eax
cmp dword [rcx + 0x4144], eax
jne 0x180057619
mov byte [rcx + 0x4148], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1800aea78]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x40a0]
movsxd rax, dword [rbx + 0x108]
mov r8, qword [rbx + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180005e50
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x40f8], eax
jne 0x180057612
mov r8, rdi
mov edx, 0xc
mov ecx, eax
call fcn.1800222b0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18005e9a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov ebx, ecx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
lea rdi, [0x1800befc0]
mov ecx, eax
mov r8d, 0x80
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
mov ecx, eax
cmp ebx, 0x26
jne 0x18005e9e8
lea rax, [0x18009bf80]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x28
jne 0x18005e9ff
lea rax, str.Down
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x25
jne 0x18005ea16
lea rax, str.Left
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x27
jne 0x18005ea2d
lea rax, str.Right
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
lea rax, str.Unknown
test ecx, ecx
cmovne rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x18005ea50
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1800ae040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18005ea9f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800c0170]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18005eadd
cmp rsi, r14
jb 0x18005ead5
cmp rsi, r15
jae 0x18005ead5
cmp qword [rsi + 8], 0
jne 0x18005eca7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18005eac0
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18005eb72
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18005eb69
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005eb69
cmp dword [rsp + 0x40], 0x10000
je 0x18005ebeb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18005eb69
sub rbx, rbp
cmp rbx, r14
jae 0x18005eb30
test rsi, rsi
jne 0x18005ec50
cmp rdi, r15
ja 0x18005ec8f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18005ec8f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005ec8f
cmp dword [rsp + 0x40], 0x10000
je 0x18005ec21
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18005eba2
jmp 0x18005ec8f
test rbx, rbx
je 0x18005eb69
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18005ec50
cmp rbx, r14
jae 0x18005eb10
jmp 0x18005eb72
test rdi, rdi
je 0x18005ec8f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18005ec50
cmp rdi, r15
jbe 0x18005eb80
jmp 0x18005ec8f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18005ec60
mov rax, qword [0x1800c0170]
mov qword [rsi], rax
mov qword [0x1800c0170], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180071cc0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x18005f6c0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800ae040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
xor edx, edx
mov ecx, 4
mov ebp, r8d
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18005f87a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18005f808
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x18005f7c2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18005f7c2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18005f7c2
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18005f784
mov rcx, qword [0x1800aeca8]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18005f7eb
jmp 0x18005f7b5
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18005f7b5
mov rcx, qword [0x1800aeca8]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18005f7eb
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18005f732
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18005f808
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x18005f808
mov rcx, qword [0x1800aeca8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x18005f87a
cmp qword [rbx], r15
je 0x18005f875
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x18005f875
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005f86e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.18005f510
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18005f830
mov eax, r15d
jmp 0x18005f87f
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180071cc0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005f8a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800ae040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x1800c0160]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005f909
mov eax, 0xa
jmp 0x18005f956
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18005f925
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180071cc0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18005f980
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [0x1800c016c]
xor ebx, ebx
test edx, edx
je 0x18005f9af
mov rcx, qword [0x1800c0160]
add rcx, 0x20
nop dword [rax]
test byte [rcx], 2
je 0x18005f9b7
inc ebx
add rcx, 0x38
cmp ebx, edx
jb 0x18005f9a0
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp ebx, 0xffffffff
je 0x18005f9af
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
mov r8d, 1
lea rcx, [rsp + 0x20]
call fcn.18005f6c0
mov edi, eax
test eax, eax
jne 0x18005fa94
mov eax, dword [0x1800c016c]
cmp ebx, eax
jae 0x18005fa1d
nop word [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1800c0160]
test byte [rdx + rcx + 0x20], 2
jne 0x18005fa17
mov ecx, ebx
call fcn.18005f8a0
mov edi, eax
test eax, eax
jne 0x18005fa1d
mov eax, dword [0x1800c016c]
inc ebx
cmp ebx, eax
jb 0x18005f9f0
cmp qword [rsp + 0x20], 0
je 0x18005fa92
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18005fa7e
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005fa6a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18005fa40
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800aeca8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
Function at 0x180063b80
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.18005fb30
test eax, eax
jne 0x180063b9f
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18005fe20
add rsp, 0x20
pop rbx
ret
Function at 0x180070d40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1800ae040]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.Init
lea rcx, str.SteamAPI_Initialize
call fcn.18005e3f0
mov ecx, 0x120
call fcn.180071ce0
mov rbx, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x120
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rbx + 0x118], 1
xor eax, eax
mov qword [rbx + 0x108], rax
mov qword [rbx + 0x110], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180070e22
mov dword [rsp + 0x38], 0x103
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180070e17
mov eax, dword [rsp + 0x38]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180070e27
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [rbx], 0x2e
mov rcx, rbx
call fcn.180070b50
nop
mov qword [0x1800aef08], rbx
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax]
test rcx, rcx
je 0x180070f6c
lea rdx, str.CreateInterface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180070f6c
xor edx, edx
lea rcx, str.SteamClient012
call rax
mov rcx, rax
mov qword [0x1800aeef0], rax
test rax, rax
jne 0x180070e86
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_client__Steam_functions_will_not_be_available.
jmp 0x180070f73
mov rax, qword [rax]
call qword [rax]
mov edx, eax
mov dword [0x1800aeef8], eax
mov rcx, qword [0x1800aeef0]
test eax, eax
mov rax, qword [rcx]
jne 0x180070eb3
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_pipe__Steam_functions_will_not_be_available.
jmp 0x180070f73
call qword [rax + 0x10]
mov edx, eax
mov dword [0x1800aeefc], eax
mov rcx, qword [0x1800aeef0]
test eax, eax
mov rax, qword [rcx]
jne 0x180070ef1
mov edx, dword [0x1800aeef8]
call qword [rax + 8]
mov rcx, qword [0x1800aeef0]
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_user__Steam_functions_will_not_be_available.
jmp 0x180070f73
lea r9, str.SteamFriends014
mov r8d, dword [0x1800aeef8]
call qword [rax + 0x40]
mov rcx, qword [0x1800aeef0]
mov rax, qword [rcx]
lea r8, str.SteamUtils007
mov edx, dword [0x1800aeef8]
call qword [rax + 0x48]
mov rcx, qword [0x1800aeef0]
mov rax, qword [rcx]
lea r9, str.STEAMAPPS_INTERFACE_VERSION006
mov r8d, dword [0x1800aeef8]
mov edx, dword [0x1800aeefc]
call qword [rax + 0x78]
mov qword [0x1800aef00], rax
lea rdx, str.INFO:_Init_OK
lea rcx, str.SteamAPI_Initialize
call fcn.18005e3f0
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180071cc0
add rsp, 0x50
pop rbx
ret
lea rdx, str.ERROR:_Failed_to_find_SteamAPI_factory__Steam_functions_will_not_be_available.
lea rcx, str.SteamAPI_Initialize
call fcn.18005e3f0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180071cc0
add rsp, 0x50
pop rbx
ret
Function at 0x140001c90
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [rcx]
mov rbx, rcx
mov r13, rdx
test r12, r12
je 0x140001da0
mov edx, dword [r13 + 4]
xor r8d, r8d
add edx, dword [rbx + 8]
mov rcx, r12
call fcn.14000f460
test eax, eax
js 0x140001db8
mov esi, dword [r13 + 0xc]
mov rcx, rsi
call sub.msvcrt.dll_malloc
mov r12, rax
test rax, rax
je 0x140001ded
cmp byte [r13 + 0x10], 1
je 0x140001d80
mov rbp, rax
mov r14d, 0x2000
test rsi, rsi
jne 0x140001d08
jmp 0x140001d51
add rbp, rdi
sub rsi, rdi
je 0x140001d51
cmp rsi, 0x2000
mov rdi, r14
mov r9, qword [rbx]
mov rcx, rbp
cmovbe rdi, rsi
mov r8d, 1
mov rdx, rdi
call sub.msvcrt.dll_fread
test rax, rax
jne 0x140001d00
lea r8, [r13 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.1400030e0
mov rcx, r12
xor r12d, r12d
call sub.msvcrt.dll_free
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001d65
call sub.msvcrt.dll_fclose
mov qword [rbx], 0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor r8d, r8d
mov r9, rax
mov rdx, r13
mov rcx, rbx
call fcn.140001860
test eax, eax
jne 0x140001d46
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140001d59
jmp 0x140001d65
call fcn.140001830
test eax, eax
jne 0x140001dd8
mov r12, qword [rbx]
jmp 0x140001cb0
lea r8, [r13 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
xor r12d, r12d
lea rcx, str.fseek
call fcn.1400030e0
jmp 0x140001d65
lea rdx, [r13 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002f50
jmp 0x140001d65
mov r9d, esi
lea r8, [r13 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, [0x14001a0ea]
call fcn.1400030e0
jmp 0x140001d51
Function at 0x140001e10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r12, rdx
call fcn.1400078c0
mov r13d, eax
cmp eax, 0xffffffff
je 0x140001f58
lea rsi, [r12 + 0x12]
lea rcx, [rbx + 0x3078]
mov rdx, rsi
call fcn.140007b50
mov r14, rax
test rax, rax
je 0x140001ffa
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001f78
mov edx, dword [r12 + 4]
xor r8d, r8d
add edx, dword [rbx + 8]
call fcn.14000f460
test eax, eax
js 0x140001fb8
cmp byte [r12 + 0x10], 1
je 0x140001f28
mov ecx, 0x2000
call sub.msvcrt.dll_malloc
mov r15, rax
test rax, rax
je 0x14000201b
mov r12d, dword [r12 + 0xc]
mov edi, 0x2000
test r12, r12
jne 0x140001ed6
jmp 0x140001f70
mov r9, r14
mov r8d, 1
mov rdx, r13
mov rcx, r15
call sub.msvcrt.dll_fwrite
test rax, rax
je 0x140001f90
sub r12, r13
je 0x140001f70
cmp r12, 0x2000
mov r13, rdi
mov r9, qword [rbx]
mov rcx, r15
cmovbe r13, r12
mov r8d, 1
mov rdx, r13
call sub.msvcrt.dll_fread
test rax, rax
jne 0x140001eb0
mov r8, rsi
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r13d, 0xffffffff
call fcn.1400030e0
mov rcx, r15
call sub.msvcrt.dll_free
jmp 0x140001f3c
xor r9d, r9d
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.140001860
mov r13d, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001f50
call sub.msvcrt.dll_fclose
mov qword [rbx], 0
mov rcx, r14
call sub.msvcrt.dll_fclose
mov eax, r13d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
xor r13d, r13d
jmp 0x140001f19
mov rcx, rbx
call fcn.140001830
test eax, eax
jne 0x140001fe0
mov rcx, qword [rbx]
jmp 0x140001e62
mov r8, rsi
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
mov r13d, 0xffffffff
call fcn.1400030e0
jmp 0x140001f19
mov r8, rsi
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov r13d, 0xffffffff
call fcn.1400030e0
jmp 0x140001f3c
mov rdx, rsi
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
mov r13d, 0xffffffff
call fcn.140002f50
jmp 0x140001f3c
mov r8, rsi
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
mov r13d, 0xffffffff
call fcn.1400030e0
jmp 0x140001f58
mov r8, rsi
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, [0x14001a0ea]
or r13d, 0xffffffff
call fcn.1400030e0
jmp 0x140001f3c