joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458dc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x458f0f
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b17e0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004d0a42
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x52bbac
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi], 0
jne 0x458f0f
lea eax, [ebp - 0x20c]
push eax
call fcn.0048b530
add esp, 4
test eax, eax
je 0x458f50
cmp dword [edi + 4], 0
jne 0x458f0a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
je 0x458f50
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.zlib_uncompress
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.zlib_compress
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.zlib_compressBound
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x458eed
call eax
mov dword [edi + 0x10], eax
cmp dword [edi + 0xc], 0
je 0x458f06
cmp dword [edi + 8], 0
je 0x458f06
cmp dword [edi + 0x10], 0
je 0x458f06
mov eax, 1
jmp 0x458f08
xor eax, eax
mov dword [edi], eax
cmp dword [edi], 0
je 0x458f50
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x458f50
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x458f3c
mov edx, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [edx + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [eax + 0x30]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret 4
Function at 0x4590f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x459105
mov eax, 1
pop edi
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0048b530
add esp, 4
test eax, eax
je 0x4591ae
cmp dword [edi + 4], 0
jne 0x4591a6
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
je 0x4591ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.zlib_uncompress
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.zlib_compress
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.zlib_compressBound
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x459183
call eax
mov dword [edi + 0x10], eax
cmp dword [edi + 0xc], 0
je 0x4591a2
cmp dword [edi + 8], 0
je 0x4591a2
cmp dword [edi + 0x10], 0
je 0x4591a2
mov eax, 1
pop esi
mov dword [edi], eax
pop edi
pop ebp
ret 4
xor eax, eax
mov dword [edi], eax
mov eax, dword [edi]
pop esi
pop edi
pop ebp
ret 4
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x45d6f0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5602f0
push 0x4b1ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x56f790]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [ecx], edi
lea eax, [ebp - 0x28]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x45d76a
cmp dword [ebp - 0x28], edi
je 0x45d76a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45d7a2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x45d884
lea eax, [ebp - 0x28]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45d884
cmp dword [ebp - 0x28], 0
je 0x45d884
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 2
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x45d884
cmp dword [ebp - 0x2c], eax
jbe 0x45d884
call esi
cmp eax, 0x7a
jne 0x45d884
push dword [ebp - 0x2c]
call fcn.004d08f0
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x45d884
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
push edi
push 2
push dword [ebp - 0x28]
call ebx
test eax, eax
je 0x45d884
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x45d884
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x45d884
cmp dword [ebp - 0x30], 0
je 0x45d884
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x45d884
lea ebx, [edi + esi*8]
push dword [ebp - 0x30]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x45d86d
inc esi
jmp 0x45d850
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0045d8b1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret 8
Function at 0x462c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d042
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x462cc5
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
jmp 0x462d1a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462cd0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x462d0c
cmp ecx, 0x2f
je 0x462d0c
push 0x532d98
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d096d
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret

Function at 0x4630d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d222
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x463175
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
jmp 0x4631ca
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463180
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x4631bc
cmp ecx, 0x2f
je 0x4631bc
push 0x532d98
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d096d
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x465430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dd92
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Setup_Path
push 0x52ed34
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4654d5
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
jmp 0x46553a
cmp word [ebp - 0x218], 0
je 0x46552c
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4654f0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x46552c
cmp ecx, 0x2f
je 0x46552c
push 0x532d98
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d096d
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x4655e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51de81
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
call fcn.00465430
add esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x46567a
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x52bd6c
call fcn.004093d0
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x465666
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00410b40
mov ecx, eax
test ecx, ecx
je 0x4657ca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
call fcn.0046a0d0
add esp, 4
test eax, eax
je 0x4656dc
lea eax, [ebp - 0x10]
push eax
call fcn.0046a290
add esp, 4
test eax, eax
je 0x4656dc
push str.pgstation.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
push eax
call fcn.00408360
jmp 0x4656fe
push str.LDSGameCenter.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
push eax
call fcn.00408360
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46571f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465766
add esi, 0xfffffff0
push esi
call fcn.004088a0
mov ebx, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x465764
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x465797
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x52bd6c
call fcn.004093d0
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x465797
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4657b6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
int3
Function at 0x4657e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dec2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x208]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x21c], 0
movups xmm0, xmmword [str.ludashi]
push 0x1f8
push 0
push eax
movups xmmword [ebp - 0x218], xmm0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.VendorID
push 0x52ed34
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46589e
cmp word [ebp - 0x218], ax
je 0x46589e
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
jmp 0x4658aa
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret

Function at 0x465c40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e032
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x208]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x21c], 0
movups xmm0, xmmword [str.ludashi]
push 0x1f8
push 0
push eax
movups xmmword [ebp - 0x218], xmm0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.SubPID
push 0x52ed34
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x465cfe
cmp word [ebp - 0x218], ax
je 0x465cfe
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
jmp 0x465d0a
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x466180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e252
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Setup_Path
push str.SoftwareLdsLite
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x466225
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
jmp 0x46627a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466230
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x46626c
cmp ecx, 0x2f
je 0x46626c
push 0x532d98
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d096d
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret

Function at 0x466430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e342
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Setup_Path
push str.SoftwareLudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4664d5
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
jmp 0x46652a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4664e0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x46651c
cmp ecx, 0x2f
je 0x46651c
push 0x532d98
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d096d
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x466750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e472
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.HallPath
push str.SoftwareLDSGameMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, esi
test eax, eax
je 0x4667f5
push 0x52bd6c
call fcn.004093d0
jmp 0x466801
lea eax, [ebp - 0x218]
push eax
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret

Function at 0x466830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e4c2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Setup_Path
push str.SoftwareLDSGameMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4668d5
push 0x52bd6c
mov ecx, esi
call fcn.004093d0
jmp 0x46692a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4668e0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x46691c
cmp ecx, 0x2f
je 0x46691c
push 0x532d98
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d096d
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004093d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x46c7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5602b0
push 0x4b1ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x56f790]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.004b17e0
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x430]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c8c9
mov dword [ebp - 0x438], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x434], 0x210
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46c8c9
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jle 0x46c8c9
push ecx
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0046c8fb
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret 0xc