joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1f40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x4e1f75
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552cac
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4e1fb3
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x4e1fb3
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552cac
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4e208f
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x4e1fdd
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e2016
push dword [esi + 0x4c]
push edi
call fcn.005a734c
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x4e2094
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552cac
mov esp, ebp
pop ebp
ret 4
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x4e208f
cmp eax, 1
jle 0x4e2062
cmp eax, 3
jne 0x4e208f
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.004dbab0
add esp, 8
test al, al
movzx eax, di
jne 0x4e2094
jmp 0x4e208f
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x4e207f
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.0059892c
add esp, 0x10
cmp ebx, eax
jne 0x4e208f
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x4e1f9d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00552cac
mov esp, ebp
pop ebp
ret 4
Function at 0x4f1a00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9396
mov eax, dword fs:[0]
push eax
push ecx
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.UI::CWindow.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
lea esi, [edi + 0x64]
push 0
mov dword [edi + 0x24], 0
mov ecx, esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x55], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
push 0
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429220
mov dword [esi], eax
lea esi, [edi + 0x70]
mov dword [edi + 0x6c], 0
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429220
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov byte [edi + 0x78], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x504120
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504130
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x504157
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x504145
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x50b970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea1ce
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 [0x6da270], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CRaceManager.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.0040f8e0
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00434de0
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00415b20
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
call fcn.0050cc60
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 0x50ba60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea1f0
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.0050bc90
mov ecx, dword [ebx + 0x30]
cmp ecx, 0x10
jb 0x50bac6
mov eax, dword [ebx + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x50babc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50bb83
mov eax, edx
push ecx
push eax
call fcn.00552cbd
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.00552cbd
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.00552cbd
add esp, 8
lea ecx, [ebx + 4]
call fcn.0040f7e0
push 0x18
push dword [ebx + 4]
call fcn.00552cbd
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.005984ba
int3
Function at 0x50f500
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 0x50f6e7
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 0x50f60a
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 0x50f550
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp edi, ebx
jne 0x50f61f
test al, 1
jne 0x50f61f
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 0x50f6d1
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 0x50f6d1
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 0x50f630
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 0x50f530
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5102d0
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 0x5103ba
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 0x510300
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
cmp esi, eax
jne 0x5103d1
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x5103d1
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 0x51048b
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 0x51048b
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 0x5103e0
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 0x522ab0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebe97
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 0x5301e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec9cc
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.00552cfc
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.00552cfc
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.004c8ce0
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00531420
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 0x53cde0
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 0x53ceda
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 0x53ce10
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x18]
cmp esi, eax
jne 0x53ceee
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x53ceee
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 0x53cfb6
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 0x53cfc5
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 0x53cf00
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 0x53eeb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ecfbf
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 0x53ef7f
test edi, edi
je 0x53ef7f
push 0x40
call fcn.00552cfc
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x53ef1c
mov ecx, eax
call fcn.00543330
mov ecx, eax
jmp 0x53ef1e
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 0x543930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed118
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 0x556300
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 0x556374
push str.Error_opening_Steam_key_n
jmp 0x556434
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 0x55642f
mov ecx, dword [ebp - 0xa94]
cmp ecx, 1
jb 0x55642f
shr ecx, 1
mov eax, esi
je 0x5563e8
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x5563e3
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x5563d0
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.00556200
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00555f20
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552cac
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call fcn.005a149e
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.00552cac
mov esp, ebp
pop ebp
ret