Function at 0x428ce7
Capabilities:
Move file
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x46471d
call fcn.004571ec
sub esp, 0x148
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xd0], 0x469494
mov dword [ebp - 0xb0], 0x46948c
call fcn.00404b2e
push 1
pop esi
push 4
push ebx
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x429016
mov edi, 0x1fff
push edi
call fcn.00457805
cmp eax, ebx
mov dword [ebp - 0x18], eax
setne cl
mov byte [ebp - 0x1c], cl
lea eax, [ebp - 0x104]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0041ddf5
push str.WININIT.INI
push eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
call fcn.0040614f
push 0xc
push eax
mov byte [ebp - 4], 4
call fcn.0041619c
add esp, 0x20
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 3
call fcn.004060f2
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 2
call fcn.004060f2
cmp byte [ebp - 0x11], bl
je 0x428e1b
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push 0x47e6b4
push edi
push dword [ebp - 0x18]
push str.rename
call esi
cmp eax, 0x1ffd
jne 0x428e1b
add edi, edi
push edi
call fcn.00457805
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], cl
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041f494
cmp byte [ebp - 0x24], bl
je 0x428e04
push dword [ebp - 0x20]
call fcn.00451b84
pop ecx
push 0x47e6b4
push edi
push dword [ebp - 0x18]
push str.rename
call esi
lea ecx, [edi - 2]
cmp ecx, eax
je 0x428dd6
lea eax, [ebp - 0x13]
push 1
push eax
lea ecx, [ebp - 0x80]
call fcn.00404ab9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 6
call fcn.00420142
push dword [0x46950c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 7
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00405665
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 6
call fcn.004060f2
jmp 0x428e93
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push 1
push eax
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 5
call fcn.00404c93
cmp dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 9
je 0x428fe3
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
inc eax
push eax
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.00408213
mov edi, eax
lea eax, [ebp - 0x80]
push 0x47e6a8
push eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 0xb
call fcn.00415060
add esp, 0xc
mov ecx, edi
add edi, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xc
and ecx, edi
push ecx
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.004115be
neg eax
sbb al, al
lea ecx, [ebp - 0x104]
inc al
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x11], al
call fcn.004060f2
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 9
call fcn.004060f2
cmp byte [ebp - 0x11], bl
je 0x428f98
mov eax, dword [ebp - 0x74]
push dword [0x46950c]
inc eax
lea ecx, [ebp - 0x58]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00408213
push dword [0x46950c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xd
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00405665
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 9
call fcn.004060f2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
lea eax, [ebp - 0x12]
push 1
push eax
push esi
lea ecx, [ebp - 0xa8]
call fcn.00404c93
push dword [0x46950c]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push ebx
push dword [ebp - 0x20]
call fcn.00405665
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 9
call fcn.004060f2
cmp dword [ebp - 0x4c], ebx
jne 0x428ece
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004060f2
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.004060f2
cmp byte [ebp - 0x1c], bl
mov byte [ebp - 4], 1
je 0x4291c1
push dword [ebp - 0x18]
call fcn.00451b84
pop ecx
jmp 0x4291c1
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x12]
push esi
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.0040487b
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
mov esi, str.PendingFileRenameOperations
push ebx
push esi
push dword [ebp - 0x28]
mov dword [ebp - 0x20], ebx
call edi
push dword [ebp - 0x20]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xa8]
push eax
call fcn.004049f7
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call fcn.004054cd
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x20]
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x28]
call edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.00404a35
lea ecx, [ebp - 0xa8]
call fcn.004054cd
mov edi, eax
cmp byte [edi], bl
je 0x4291a6
mov esi, 0x47e650
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea eax, [eax + edi + 1]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x80], 0x469494
mov dword [ebp - 0x60], 0x46948c
call fcn.00404c93
lea eax, [ebp - 0x13]
push ebx
push eax
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x58], 0x469494
mov dword [ebp - 0x38], 0x46948c
call fcn.00404c93
push esi
mov byte [ebp - 4], 0x12
call fcn.00456df6
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.004270c3
push eax
push ebx
lea ecx, [ebp - 0x7c]
call fcn.00405743
push esi
call fcn.00456df6
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.004270c3
push eax
push ebx
lea ecx, [ebp - 0x54]
call fcn.00405743
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xc]
call fcn.00429276
pop ecx
test al, al
pop ecx
je 0x429176
push dword [0x46950c]
lea eax, [ebp - 0x58]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x54]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0xcc]
call fcn.00405665
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.004060f2
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.004060f2
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + edi + 1], bl
lea edi, [eax + edi + 1]
jne 0x4290bf
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.004060f2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00421f0b
mov eax, dword [ebp + 0xc]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xd0]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.004115be
test eax, eax
je 0x42922f
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0x30]
lea edx, [ebp + 0xc]
push edx
push 0x47df78
mov eax, dword [eax + 0x118]
push 0x46b938
push eax
mov byte [ebp - 4], 0x13
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x42921e
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42922f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push ebx
push eax
mov ecx, edi
mov dword [edi], 0x469494
mov dword [edi + 0x20], 0x46948c
call fcn.00404b2e
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], bl
call fcn.004060f2
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8