Function at 0x432ed0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c79bb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4fd43c]
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
lea edi, [ecx + 0x2c]
push 0x5046ac
lea ecx, [ebp - 0x428]
call fcn.00404840
mov dword [ebp - 4], 0
lea eax, [ebp - 0x428]
cmp dword [ebp - 0x414], 8
mov ecx, edi
push 0
cmovae eax, dword [ebp - 0x428]
push eax
call fcn.0045c2b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x414]
cmp edx, 8
jb 0x432f7d
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432f73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433196
push edx
push ecx
call fcn.004a1afe
add esp, 8
push str.check_auto_run
push 0x5e
push str.LDSpaceSettingFrame::isAutoRun
call fcn.00436bb0
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4330aa
push 0x400
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x42c], 0x400
push eax
call fcn.004a3c10
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.LDPlayerX
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433025
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.00407760
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x433139
push str.auto_run:_ldsapce_no_value
push 0x6b
push str.LDSpaceSettingFrame::isAutoRun
call fcn.00436bb0
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x4330aa
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4330a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43319b
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov byte [ebp - 0x438], 0
push str.runOption
mov ecx, edi
call fcn.00456100
push 1
push dword [ebp - 0x438]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x160]
call fcn.004334c0
push str.minOption
mov ecx, edi
mov ebx, eax
call fcn.00456100
push str.exitOption
mov ecx, edi
mov esi, eax
call fcn.00456100
mov edx, dword [esi]
cmp ebx, 1
push 1
sete cl
mov edi, eax
movzx ecx, cl
push ecx
mov ecx, esi
call dword [edx + 0x160]
mov edx, dword [edi]
test ebx, ebx
push 1
sete al
mov ecx, edi
movzx eax, al
push eax
call dword [edx + 0x160]
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.004a186f
mov esp, ebp
pop ebp
ret
push str.auto_run_is_true
push 0x6f
push str.LDSpaceSettingFrame::isAutoRun
call fcn.00436bb0
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x43318a
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433180
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43319b
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov byte [ebp - 0x438], 1
jmp 0x4330b1
call fcn.004a670d
call fcn.004a670d
int3