Function at 0x451570
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53115d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5867ec]
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
mov ebx, ecx
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
call fcn.00473ac5
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 1
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
push 0x42cb60
push 0x58e5d0
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x451b18
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 2
push eax
call fcn.00473aff
mov eax, dword [0x58e5cc]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [eax + 0x50], 0
je 0x451752
push str.delay_active_by___delay_active
call fcn.0044a960
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
mov eax, dword [0x58fabc]
add esp, 0x10
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x22c], 0x104
test al, 1
jne 0x451675
or eax, 1
mov dword [0x58fab8], 0
mov dword [0x58fabc], eax
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 5
push eax
call fcn.00473ac5
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 6
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push 0x44d340
push 0x58fab8
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x4517fd
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 7
push eax
call fcn.00473aff
add esp, 4
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x543334
push 0x58fac0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x451752
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451752
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0x543d78
push 0x547900
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0xa
push eax
call fcn.00473ac5
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push 0x42cb60
push 0x58e5d0
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x451afc
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0xc
push eax
call fcn.00473aff
mov eax, dword [0x58e5cc]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [eax + 0x40], 0
je 0x451821
push str.no_ldshelper.
call fcn.0044a960
add esp, 4
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.004994d8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 8
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 6
test al, al
je 0x451b4a
jmp 0x451b34
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0xf
push eax
call fcn.00473ac5
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push 0x42cb60
push 0x58e5d0
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x451ad4
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0x11
push eax
call fcn.00473aff
mov ecx, dword [0x58e5cc]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00423d70
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040c760
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
mov edi, dword [esi - 0xc]
mov dword [ebp - 4], 0x14
test edi, edi
js 0x451b4f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4518ef
push edi
lea ecx, [ebp - 0x22c]
call fcn.0040bcf0
mov esi, dword [ebp - 0x22c]
lea eax, [edi + 1]
push eax
push esi
call fcn.004e57ef
add esp, 8
cmp edi, dword [esi - 8]
jg 0x451b4f
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x451932
push str.zhushou
push esi
call fcn.004b89e3
add esp, 8
test eax, eax
je 0x451932
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4519e2
mov eax, dword [0x58fb48]
test al, 1
jne 0x45194d
or eax, 1
mov dword [0x58fb44], 0
mov dword [0x58fb48], eax
mov byte [ebp - 0x21a], 0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x15
push eax
call fcn.00473ac5
lea eax, [ebp - 0x224]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x21a]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x244]
push eax
push 0x44d140
push 0x58fb44
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x451ab8
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x17
push eax
call fcn.00473aff
add esp, 4
mov byte [ebp - 4], 0x14
cmp dword [esi - 0xc], 0
jl 0x4519d5
push 0x58fb4c
push esi
call fcn.004b89e3
add esp, 8
test eax, eax
je 0x4519d5
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4519e2
call fcn.00420400
test eax, eax
jne 0x451a6b
mov byte [ebp - 0x21a], 0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00473ac5
lea eax, [ebp - 0x224]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x21a]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x244]
push eax
push 0x42cb60
push 0x58e5d0
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x451a9c
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x1c
push eax
call fcn.00473aff
mov eax, dword [0x58e5cc]
add esp, 4
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x44], 0
jne 0x451a93
call fcn.00449140
mov edi, eax
lea ecx, [ebp - 0x21a]
push 0
mov ebx, dword [edi]
call fcn.0044e850
push eax
push edi
call dword [ebx + 0x44]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4517e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4517e1
mov ecx, ebx
call fcn.00451280
jmp 0x451a6b
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x1d
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 0x1b
jmp 0x451814
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x18
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 0x16
jmp 0x451814
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x12
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 0x10
test al, al
je 0x451b4a
sub esp, 8
lea eax, [ebp - 0x234]
mov ecx, esp
jmp 0x451b3f
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xd
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 0xb
jmp 0x451814
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 1
jmp 0x451814
sub esp, 8
lea eax, [ebp - 0x224]
mov ecx, esp
push eax
call fcn.0040a040
call fcn.0040c450
call fcn.00474b6c
push 0x80070057
call fcn.0040a780
int3