joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbc8d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10049750
mov esi, eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100670a2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100670a2
push 0x38
call fcn.1004b790
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x21]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10066f58
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10066f5a
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or dword [esi + 4], 6
mov edx, dword [ebp + 8]
mov dword [esi + 0xbc], edi
mov dword [esi + 0xb4], str.imgui_impl_win32
mov dword [edi], edx
mov byte [edi + 0x25], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov dword [esi + 0xd8], edx
mov dword [esi + 0x2c], 9
mov dword [esi + 0x30], 0x25
mov dword [esi + 0x34], 0x27
mov dword [esi + 0x38], 0x26
mov dword [esi + 0x3c], 0x28
mov dword [esi + 0x40], 0x21
mov dword [esi + 0x44], 0x22
mov dword [esi + 0x48], 0x24
mov dword [esi + 0x4c], 0x23
mov dword [esi + 0x50], 0x2d
mov dword [esi + 0x54], 0x2e
mov dword [esi + 0x58], 8
mov dword [esi + 0x5c], 0x20
mov dword [esi + 0x60], 0xd
mov dword [esi + 0x64], 0x1b
mov dword [esi + 0x68], 0xd
mov dword [esi + 0x6c], 0x41
mov dword [esi + 0x70], 0x43
mov dword [esi + 0x74], 0x56
mov dword [esi + 0x78], 0x58
mov dword [esi + 0x7c], 0x59
mov dword [esi + 0x80], 0x5a
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1006707f
inc esi
cmp esi, 5
jl 0x10067065
mov al, 1
jmp 0x100670a4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x28], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov al, 1
jmp 0x100670a4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a9e59
mov esp, ebp
pop ebp
ret
Function at 0x1006aea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x17], 0
je 0x1006af79
movd xmm0, dword [esi]
mov eax, 0x10
movups xmm2, xmmword [0x10120a00]
movaps xmm1, xmmword [0x10110a70]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi], xmm1
movd xmm0, dword [esi + 4]
movaps xmm1, xmmword [0x10110a80]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 4], xmm1
movd xmm0, dword [esi + 8]
movaps xmm1, xmmword [0x10110a90]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 8], xmm1
movd xmm0, dword [esi + 0xc]
movaps xmm1, xmmword [0x10110aa0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 0xc], xmm1
lea edx, [esi + eax]
lea ecx, [eax - 0x7f]
inc eax
xor byte [edx], cl
cmp eax, 0x16
jb 0x1006af67
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
ret
Function at 0x1006b340
Capabilities:
Delete file
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbec1
mov eax, dword fs:[0]
push eax
sub esp, 0x3e0
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3ec], esi
push 0x200
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x224]
push 0
push eax
mov dword [ebp - 0x3e4], esi
mov dword [ebp - 0x3e8], 0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
movups xmmword [esi + 0x28], xmm0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xf
mov byte [esi + 0x28], 0
mov byte [ebp - 4], 2
movups xmmword [esi + 0x44], xmm0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0xf
mov byte [esi + 0x44], 0
mov dword [ebp - 4], 0
push 0x100
mov dword [ebp - 0x3e8], 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x1014d410]
add esp, 0x10
mov esi, eax
call fcn.1006b580
push eax
push str.adb__s_emulator_5554_pull__proc__d_maps
push esi
call fcn.10018f20
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x10110a34
push str.maps
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x1006b55a
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
lea eax, [ebp - 0x224]
push edi
push 0x200
push eax
call esi
add esp, 0xc
test eax, eax
je 0x1006b49c
nop
push dword [ebp - 0x18]
lea eax, [ebp - 0x224]
push eax
call sub.VCRUNTIME140.dll_strstr
add esp, 8
test eax, eax
jne 0x1006b4be
push edi
lea eax, [ebp - 0x224]
push 0x200
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x1006b470
mov esi, dword [ebp - 0x3e4]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push str.maps
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 8
mov eax, esi
jmp 0x1006b560
push 0x1bc
lea eax, [ebp - 0x3e0]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov byte [ebp - 0x14], 0
push 0
push eax
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x3e4]
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ecx + 0x40]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ecx + 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea esi, [ecx + 4]
push esi
push ecx
lea eax, [ebp - 0x224]
push str._llx__llx__s__ld__s__d__s
push eax
call fcn.10056790
mov eax, dword [esi]
add esp, 0x30
mov esi, dword [ebp - 0x3e4]
sub eax, dword [esi]
lea ecx, [esi + 0xc]
mov dword [esi + 8], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000b6c0
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x28]
call fcn.1000b6c0
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [esi + 0x44]
call fcn.1000b6c0
jmp 0x1006b4a2
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a9e59
mov esp, ebp
pop ebp
ret
Function at 0x1006b8c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov ebx, dword [eax]
lea eax, [ebp - 8]
add ebx, dword [ebp + 0x10]
push eax
push 0x40
push 4
mov edi, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov dword [ebx], ecx
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.100a9e59
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1006b920
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [eax]
lea eax, [ebp - 8]
add edi, dword [ebp + 0x10]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100a9e59
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10075140
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc517
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
push edi
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ecx], vtable.c_keybind.0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0xf
mov byte [ecx + 0x10], 0
mov byte [ebp - 4], 1
lea edi, [ecx + 0x38]
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x98]
push 0xa
push str.always_off
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
call fcn.1000d480
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push 4
push str.hold
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
call fcn.1000d480
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 6
push str.toggle
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.1000d480
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 7
push str.release
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1000d480
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 9
push str.always_on
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.1000d480
mov byte [ebp - 4], 6
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x98]
push edx
lea ecx, [edi + 0x18]
call fcn.1003fd60
mov byte [ebp - 4], 8
lea eax, [ebp - 0x98]
push fcn.1000b6f0
push 5
push 0x18
push eax
call fcn.100aa538
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x10]
call fcn.100169f0
mov eax, dword [ebp + 0x20]
xor ecx, ecx
mov dword [esi + 0x34], eax
mov dword [esi + 8], 0xa
mov byte [edi], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x34]
mov word [eax], cx
mov eax, dword [ebp + 0x24]
mov byte [esi + 0x39], cl
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x28], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000b6f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10089ba0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x258], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x258]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x10089cca
lea eax, [ebp - 0x258]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x10089cca
nop dword [eax]
mov ecx, str.aow_exe.exe
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10089c36
test dx, dx
je 0x10089c32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10089c36
add eax, 4
add ecx, 4
test dx, dx
jne 0x10089c10
xor eax, eax
jmp 0x10089c3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10089c7f
mov eax, str.AndroidProcess.exe
lea ecx, [ebp - 0x234]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10089c76
test dx, dx
je 0x10089c72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10089c76
add ecx, 4
add eax, 4
test dx, dx
jne 0x10089c50
xor eax, eax
jmp 0x10089c7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10089cb4
push dword [ebp - 0x250]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10089cb4
push 0x28
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x10089cb1
cmp dword [ebp - 0x20], 0x11e1a300
ja 0x10089cde
push esi
call ebx
lea eax, [ebp - 0x258]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x10089c00
push edi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9e59
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100a9e59
mov esp, ebp
pop ebp
ret

Function at 0x1008ae10
Capabilities:
Create thread
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x1002b2c1
push 0
push 0
push 0
push 0x1002b660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
mov al, 1
pop esi
ret
push 0x44
push str.Tencent
push str.Would_you_like_to_use_Stream_mode__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x1014d3b8]
cmp eax, 7
jne 0x1002b2a0
jmp fcn.10089980
Function at 0x1009f1b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101040fd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov edx, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x1009f1e7
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x1009f205
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x1009f1f3
push esi
push ebx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.1001d440
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1009f2ed
cmp dword [edi + 8], 0x71c71c7
je 0x1009f304
lea eax, [edi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x14], 0
call fcn.100a9e1b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
add eax, 8
mov ecx, eax
mov dword [ebp - 0x24], eax
push ebx
call fcn.1000b850
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov byte [ebx + 0x18], 0
mov dword [ebp - 4], 3
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101089d0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101089d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x1009f2d0
mov ecx, edi
call fcn.1009f670
push esi
push ebx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.1001d440
mov ecx, dword [eax]
jmp 0x1009f2d3
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push ecx
push esi
mov ecx, edi
call fcn.1009f610
mov dword [ebp - 4], 0xffffffff
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x100a5040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], esi
mov ebx, 1
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
xor eax, eax
mov ecx, esi
push dword [ebp + 0x10]
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.100aa700
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, dword [ebp + 0xc]
adc esi, edx
inc ebx
mov dword [eax], edi
mov dword [eax + 4], esi
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, 0x138
jl 0x100a5063
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], 0x138
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100a5be0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp + 8], 0
test eax, eax
je 0x100a5c1f
cmp word [eax], 0
je 0x100a5c1f
push 0
lea ecx, [ebp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100a5c4c
mov ecx, dword [ebp + 8]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
mov edi, eax
test ecx, ecx
je 0x100a5c49
cmp ecx, esi
je 0x100a5c49
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x100a5cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
lea eax, [ebp - 0xa90]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100a5d44
push str.Error_opening_Steam_key_n
jmp 0x100a5e04
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa94], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0xa90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa90]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100a5dff
mov ecx, dword [ebp - 0xa94]
cmp ecx, 1
jb 0x100a5dff
shr ecx, 1
mov eax, esi
je 0x100a5db8
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x100a5db3
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x100a5da0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xa8c]
push 0x800
push eax
call fcn.100a5b50
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.100a58b0
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9e59
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.100a5e30
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.100a9e59
mov esp, ebp
pop ebp
ret
Function at 0x100a5ed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x10112fd8]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x10112fdc]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x10112fc0]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x10112fd0]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x100a5fa0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x100a5f69
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100a5fb6
inc ax
mov word [ebp - 0xa], ax
jmp 0x100a5f7f
cmp eax, 0xe7
jne 0x100a5fb6
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x100a5fb6
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x100a5f50
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9e59
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a9e59
mov esp, ebp
pop ebp
ret

Function at 0x100a9888
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100a98af
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100a98b2
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100a9864
pop esi
leave
ret 8
Function at 0x100b61b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x1014c200]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100b627b
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.100cfd20
add esp, 0xc
test eax, eax
jne 0x100b627b
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.100cfd20
add esp, 0xc
test eax, eax
jne 0x100b627b
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100b6204
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.100cfcf0
add esp, 0xc
test eax, eax
je 0x100b6238
sub eax, esi
push eax
push 0x2e
push esi
call fcn.100cfcf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100b623a
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x100b6266
mov al, byte [esi]
push eax
call fcn.100c2f80
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x100b6248
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100a9e59
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.100a9e59
add esp, 0x18
ret