joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50b9e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea1b0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebx], vtable.CRaceManager.0
call fcn.0050bc10
mov ecx, dword [ebx + 0x30]
cmp ecx, 0x10
jb 0x50ba46
mov eax, dword [ebx + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x50ba3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50bb03
mov eax, edx
push ecx
push eax
call fcn.00552bfd
add esp, 8
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov esi, dword [ebx + 0x14]
push dword [esi + 4]
lea ecx, [ebx + 0x14]
mov dword [ebp - 4], 0
call fcn.00415b40
mov eax, dword [ebx + 0x14]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x14]
mov dword [eax], esi
mov eax, dword [ebx + 0x14]
mov dword [eax + 8], esi
mov dword [ebx + 0x18], 0
push dword [ebx + 0x14]
call fcn.00552bfd
mov esi, dword [ebx + 0xc]
add esp, 8
push dword [esi + 4]
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 1
call fcn.00461170
mov eax, dword [ebx + 0xc]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebx + 0xc]
mov dword [eax], esi
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], esi
mov dword [ebx + 0x10], 0
push dword [ebx + 0xc]
call fcn.00552bfd
add esp, 8
lea ecx, [ebx + 4]
call fcn.0040f7e0
push 0x18
push dword [ebx + 4]
call fcn.00552bfd
mov dword [ebx], vtable.CSingleton_class_CRaceManager_.0
add esp, 8
mov dword [0x6da270], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005983fa
int3
Function at 0x50f480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
sub eax, edx
sar eax, 2
mov dword [ebp + 0xc], eax
push esi
mov esi, eax
sar esi, 1
test esi, esi
jle 0x50f667
push ebx
lea ecx, [eax - 1]
mov ebx, ecx
mov dword [ebp - 0x18], ecx
sar ebx, 1
push edi
mov dword [ebp - 0x10], ebx
mov ecx, dword [edx + esi*4 - 4]
dec esi
mov dword [ebp - 0xc], ecx
mov ecx, esi
mov dword [ebp - 8], esi
mov edi, esi
mov dword [ebp - 4], ecx
cmp esi, ebx
jge 0x50f58a
nop word [eax + eax]
mov ecx, dword [0x6da20c]
lea eax, [edi + edi]
mov edi, dword [edx + eax*4 + 4]
mov esi, dword [edx + eax*4 + 8]
mov dword [ebp - 0x14], eax
call fcn.00427f80
mov ecx, esi
mov ebx, eax
call fcn.0043e370
mov ecx, edi
mov esi, eax
call fcn.0043e370
movss xmm5, dword [ebx + 0x30]
movss xmm4, dword [ebx + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [ebx + 0x38]
movaps xmm3, xmm4
subss xmm4, dword [eax + 4]
subss xmm3, dword [esi + 4]
movaps xmm0, xmm2
mov edi, dword [ebp - 0x14]
subss xmm2, dword [eax + 8]
subss xmm0, dword [esi + 8]
mulss xmm4, xmm4
xor eax, eax
mov edx, dword [ebp + 8]
mulss xmm3, xmm3
mov ecx, dword [ebp - 4]
mulss xmm1, xmm1
mov ebx, dword [ebp - 0x10]
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
seta al
inc edi
xor eax, 1
add edi, eax
mov eax, dword [edx + edi*4]
mov dword [edx + ecx*4], eax
mov ecx, edi
mov dword [ebp - 4], ecx
cmp edi, ebx
jl 0x50f4d0
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp edi, ebx
jne 0x50f59f
test al, 1
jne 0x50f59f
mov eax, dword [edx + eax*4 - 4]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
lea ebx, [ecx - 1]
sar ebx, 1
cmp esi, ecx
jge 0x50f651
nop dword [eax]
mov ecx, dword [0x6da20c]
mov esi, dword [edx + ebx*4]
call fcn.00427f80
mov ecx, esi
mov edi, eax
call fcn.0043e370
mov ecx, dword [ebp - 0xc]
mov esi, eax
call fcn.0043e370
movss xmm5, dword [edi + 0x30]
movss xmm4, dword [edi + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [edi + 0x38]
movaps xmm3, xmm4
subss xmm3, dword [esi + 4]
subss xmm4, dword [eax + 4]
mov edx, dword [ebp + 8]
movaps xmm0, xmm2
subss xmm0, dword [esi + 8]
subss xmm2, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mulss xmm3, xmm3
mulss xmm4, xmm4
mulss xmm1, xmm1
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
jbe 0x50f651
mov eax, dword [edx + ebx*4]
mov dword [edx + ecx*4], eax
mov ecx, ebx
dec ebx
mov dword [ebp - 4], ecx
sar ebx, 1
cmp esi, ecx
jl 0x50f5b0
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0xc]
test esi, esi
jg 0x50f4b0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x510250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
dec edi
mov dword [ebp - 4], ebx
mov eax, edi
mov dword [ebp - 0x10], edi
sar eax, 1
mov esi, ecx
mov dword [ebp - 0xc], eax
cmp ecx, eax
jge 0x51033a
nop dword [eax]
mov ecx, dword [0x6da20c]
lea eax, [esi + esi]
mov edi, dword [edx + eax*4 + 4]
mov esi, dword [edx + eax*4 + 8]
mov dword [ebp - 8], eax
call fcn.00427f80
mov ecx, esi
mov ebx, eax
call fcn.0043e370
mov ecx, edi
mov esi, eax
call fcn.0043e370
movss xmm5, dword [ebx + 0x30]
movss xmm4, dword [ebx + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [ebx + 0x38]
movaps xmm3, xmm4
subss xmm4, dword [eax + 4]
subss xmm3, dword [esi + 4]
movaps xmm0, xmm2
mov edx, dword [ebp + 8]
subss xmm2, dword [eax + 8]
subss xmm0, dword [esi + 8]
mov esi, dword [ebp - 8]
xor eax, eax
mulss xmm3, xmm3
mov ecx, dword [ebp + 0xc]
mulss xmm4, xmm4
mulss xmm1, xmm1
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
seta al
inc esi
xor eax, 1
add esi, eax
mov eax, dword [edx + esi*4]
mov dword [edx + ecx*4], eax
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0xc], ecx
cmp esi, eax
jl 0x510280
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
cmp esi, eax
jne 0x510351
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x510351
mov eax, dword [edx + eax*4 - 4]
mov dword [edx + ecx*4], eax
mov ecx, edi
mov dword [ebp + 0xc], ecx
cmp ebx, ecx
jge 0x51040b
nop dword [eax]
lea eax, [ecx - 1]
mov ecx, dword [ebp + 0x14]
sar eax, 1
mov dword [ebp + 0x10], eax
mov edi, dword [ecx]
mov ecx, dword [0x6da20c]
mov esi, dword [edx + eax*4]
call fcn.00427f80
mov ecx, esi
mov ebx, eax
call fcn.0043e370
mov ecx, edi
mov esi, eax
call fcn.0043e370
movss xmm5, dword [ebx + 0x30]
movss xmm4, dword [ebx + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [ebx + 0x38]
movaps xmm3, xmm4
subss xmm3, dword [esi + 4]
subss xmm4, dword [eax + 4]
mov edx, dword [ebp + 8]
movaps xmm0, xmm2
subss xmm0, dword [esi + 8]
subss xmm2, dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mulss xmm3, xmm3
mulss xmm4, xmm4
mulss xmm1, xmm1
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
jbe 0x51040b
mov esi, dword [ebp + 0x10]
mov eax, dword [edx + esi*4]
mov dword [edx + ecx*4], eax
mov ecx, esi
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 4], esi
jl 0x510360
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov dword [edx + ecx*4], eax
mov esp, ebp
pop ebp
ret
Function at 0x522a30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebe57
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CArea.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
lea esi, [edi + 0x64]
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f8e0
mov dword [esi], eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
lea esi, [edi + 0x8c]
mov byte [ebp - 4], 0xa
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f8e0
mov dword [esi], eax
lea esi, [edi + 0x98]
mov byte [ebp - 4], 0xb
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00415bd0
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x84], 0xff00ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x530160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec98c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 8]
mov dword [edi], vtable.CWeaponTrace.0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00552c3c
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00552c3c
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 2
call fcn.004c8c90
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.005313a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x53cd60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ebx
dec edi
mov dword [ebp - 4], ecx
mov eax, edi
mov dword [ebp - 0x18], edi
sar eax, 1
mov dword [ebp - 0x14], eax
cmp ebx, eax
jge 0x53ce5a
nop dword [eax]
mov edi, dword [ebp + 0x18]
lea ebx, [esi + esi]
mov ecx, dword [edx + ebx*4 + 8]
mov esi, dword [edx + ebx*4 + 4]
call fcn.0043e370
mov ecx, esi
movss xmm0, dword [eax]
subss xmm0, dword [edi]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 4]
movss dword [ebp - 8], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [edi + 8]
movss dword [ebp - 0x10], xmm0
call fcn.0043e370
movss xmm2, dword [ebp - 0xc]
movss xmm4, dword [ebp - 8]
mulss xmm2, xmm2
mov edx, dword [ebp + 8]
movss xmm1, dword [eax]
movss xmm3, dword [eax + 4]
subss xmm3, dword [edi + 4]
movss xmm0, dword [eax + 8]
xor eax, eax
subss xmm1, dword [edi]
subss xmm0, dword [edi + 8]
mulss xmm4, xmm4
mov ecx, dword [ebp + 0xc]
mulss xmm3, xmm3
mulss xmm1, xmm1
addss xmm4, xmm2
movss xmm2, dword [ebp - 0x10]
mulss xmm2, xmm2
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm2
addss xmm3, xmm0
comiss xmm4, xmm3
seta al
xor eax, 1
lea esi, [eax + 1]
add esi, ebx
mov ebx, esi
mov dword [ebp + 0xc], ebx
mov eax, dword [edx + esi*4]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x14]
cmp esi, eax
jl 0x53cd90
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x18]
cmp esi, eax
jne 0x53ce6e
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x53ce6e
mov eax, dword [edx + eax*4 - 4]
mov dword [edx + ebx*4], eax
mov ebx, edi
mov esi, dword [ebp + 0x18]
cmp ecx, ebx
jge 0x53cf36
nop dword [eax]
mov ecx, dword [ebp + 0x14]
lea eax, [ebx - 1]
sar eax, 1
mov dword [ebp - 0x14], eax
mov edi, dword [ecx]
mov ecx, dword [edx + eax*4]
call fcn.0043e370
mov ecx, edi
movss xmm0, dword [eax]
subss xmm0, dword [esi]
movss dword [ebp + 0x10], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss dword [ebp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
movss dword [ebp - 0x18], xmm0
call fcn.0043e370
movss xmm2, dword [ebp + 0x10]
movss xmm4, dword [ebp + 0xc]
mulss xmm2, xmm2
movss xmm1, dword [eax]
movss xmm3, dword [eax + 4]
subss xmm3, dword [esi + 4]
subss xmm1, dword [esi]
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
mulss xmm4, xmm4
mulss xmm3, xmm3
mulss xmm1, xmm1
addss xmm4, xmm2
movss xmm2, dword [ebp - 0x18]
mulss xmm2, xmm2
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm2
addss xmm3, xmm0
comiss xmm4, xmm3
jbe 0x53cf45
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
mov dword [edx + ebx*4], eax
mov ebx, ecx
cmp dword [ebp - 4], ecx
jl 0x53ce80
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov eax, dword [eax]
mov dword [edx + ebx*4], eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov eax, dword [eax]
mov dword [ecx + ebx*4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53ee30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ecf7f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
sub edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc edi
sub esi, ebx
add esi, 1
je 0x53eeff
test edi, edi
je 0x53eeff
push 0x40
call fcn.00552c3c
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x53ee9c
mov ecx, eax
call fcn.005432b0
mov ecx, eax
jmp 0x53ee9e
xor ecx, ecx
mov eax, dword [ebp + 0x10]
cmp edi, esi
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
cmovg esi, edi
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0x24], esi
movzx eax, word [eax + 0x8c]
imul eax, edx
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
add eax, ebx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5438b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed0d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6da28c], edi
lea esi, [edi + 0x6c]
mov dword [edi], vtable.CSoundManager.0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00415b20
mov dword [esi], eax
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x43480000
mov dword [edi + 0x1c], 0x447a0000
mov dword [edi + 0x20], 0x3f800000
mov dword [edi + 0x24], 0x3f800000
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x556240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x651ea8]
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 closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5562b4
push str.Error_opening_Steam_key_n
jmp 0x556374
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 0x55636f
mov ecx, dword [ebp - 0xa94]
cmp ecx, 1
jb 0x55636f
shr ecx, 1
mov eax, esi
je 0x556328
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x556323
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x556310
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.00556140
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00555e60
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call fcn.005a13de
add esp, 4
push eax
call fcn.00419850
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.00552bec
mov esp, ebp
pop ebp
ret
Function at 0x5563e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x6013c8]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x6013cc]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x6013b0]
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 [0x6013c0]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x5564b0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x556479
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x5564c6
inc ax
mov word [ebp - 0xa], ax
jmp 0x55648f
cmp eax, 0xe7
jne 0x5564c6
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x5564c6
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 0x556460
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
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.00552bec
mov esp, ebp
pop ebp
ret
Function at 0x576080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
xor dl, dl
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 8], ecx
push ebp
push esi
push edi
test bl, 3
jne 0x5761b7
test cl, 3
jne 0x5761b7
test eax, eax
je 0x5761b7
mov edi, eax
xor ecx, ecx
shr edi, 2
xor esi, esi
mov dword [esp + 0x10], ecx
test edi, edi
je 0x57617e
mov ebp, dword [esp + 0x20]
cmp edi, 8
jb 0x576147
mov edx, edi
lea ecx, [ebp + 0x10]
mov eax, ebx
and edx, 0xfffffff8
sub eax, ebp
xorps xmm3, xmm3
mov dword [esp + 0x14], eax
xorps xmm2, xmm2
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
nop
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [ecx + ebp - 0x20]
movups xmm0, xmmword [ecx - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, edx
jb 0x5760f0
mov ebp, dword [esp + 0x20]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ecx, xmm2
mov dword [esp + 0x10], ecx
cmp esi, edi
jae 0x576182
mov ecx, ebx
lea edx, [esi*4]
sub ecx, ebp
mov ebx, edi
add edx, ebp
mov dword [esp + 0x14], ecx
sub ebx, esi
mov ebp, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edx + ebp]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
or edi, ecx
sub ebx, 1
jne 0x576164
mov ebx, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x20]
shl esi, 2
sub eax, esi
jne 0x576196
pop edi
pop esi
test ecx, ecx
pop ebp
sete al
pop ebx
add esp, 8
ret
mov edx, ecx
add ebp, esi
shr ecx, 0x10
add ebx, esi
shr edx, 0x18
or dl, cl
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x10]
shr ecx, 8
or dl, cl
mov ecx, ebp
or dl, byte [esp + 0x10]
xor edi, edi
test eax, eax
je 0x576280
cmp eax, 0x20
jb 0x57625f
mov esi, eax
add ecx, 0x10
and esi, 0xffffffe0
xorps xmm3, xmm3
mov dword [esp + 0x1c], esi
xorps xmm2, xmm2
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
nop
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [edi + ebx]
add edi, 0x20
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [ecx + ebp - 0x20]
movups xmm0, xmmword [ecx - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x5761f0
por xmm2, xmm3
mov ebp, dword [esp + 0x14]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd ecx, xmm2
or dl, cl
cmp edi, eax
jae 0x576280
jmp 0x576263
mov ebp, dword [esp + 0x14]
sub ebx, ebp
lea esi, [edi + ebp]
sub eax, edi
nop word [eax + eax]
mov cl, byte [ebx + esi]
lea esi, [esi + 1]
xor cl, byte [esi - 1]
or dl, cl
sub eax, 1
jne 0x576270
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret