Function at 0x42f610
Capabilities:
Check if file exists
Create process on windows
Delete directory
Delete file
Get file attributes
Move file
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d7fed
mov eax, dword fs:[0]
push eax
sub esp, 0x968
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x964], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x97c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98c]
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x42f65f
call fcn.0047b9cb
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp]
cmp esi, dword [ebp + 0x10]
jbe 0x42f66f
call fcn.0047b9cb
mov eax, dword [ebp]
push ebx
push edi
push esi
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
call fcn.0042f0c0
mov ebx, 0x104
lea ecx, [esp + 0x158]
push ebx
push ecx
call fcn.0043e3b0
add esp, 8
lea edx, [esp + 0x158]
push edx
lea ecx, [esp + 0x20]
call fcn.00401870
push 0x4de910
xor edi, edi
push str.X86_
lea ecx, [esp + 0x24]
mov dword [esp + 0x98c], edi
call fcn.0041a140
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x158]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x42f6d2
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
mov dword [esp + 0x58], esi
call fcn.004d37d0
test al, al
je 0x42f705
push str.X64KZipShell.dll
jmp 0x42f70a
push str.X86KZipShell.dll
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f747
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x984], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42fe81
mov edx, dword [0x53ac30]
mov eax, dword [edx + 0xc]
mov ecx, 0x53ac30
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x30]
push str.__s___u__s
push edx
mov byte [esp + 0x990], 1
call fcn.00420c60
push 0x38
lea eax, [esp + 0x130]
push edi
push eax
call fcn.0047a920
mov ecx, dword [esp + 0x44]
add esp, 0x18
lea edx, [esp + 0x11c]
push edx
mov dword [esp + 0x120], 0x3c
mov dword [esp + 0x130], str.regsvr32
mov dword [esp + 0x134], ecx
mov dword [esp + 0x13c], edi
mov dword [esp + 0x124], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42f7f3
mov eax, dword [esp + 0x154]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x53a8b0
call fcn.0042d950
push 0x206
lea eax, [esp + 0x366]
xor edx, edx
push edi
push eax
mov word [esp + 0x36c], dx
call fcn.0047a920
add esp, 0xc
push str.Software_
lea ecx, [esp + 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x4dfc28
lea edx, [esp + 0x364]
push edx
call esi
mov eax, dword [0x53ac30]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ac30
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 0x1b59
mov byte [esp + 0x98c], 2
call fcn.0041eee0
add esp, 8
test eax, eax
je 0x42f888
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x364]
push edx
jmp 0x42f895
push 0x4dfcbc
lea eax, [esp + 0x364]
push eax
call esi
push str.Files
lea ecx, [esp + 0x364]
push ecx
call esi
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x364]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42f9dc
push 0x206
lea edx, [esp + 0x56e]
xor ecx, ecx
push edi
push edx
xor esi, esi
mov word [esp + 0x574], cx
call fcn.0047a920
push 0x206
lea ecx, [esp + 0x782]
xor eax, eax
push edi
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], 4
mov word [esp + 0x788], ax
call fcn.0047a920
add esp, 0x18
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x774]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x40]
push edi
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x57c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push ecx
mov dword [esp + 0x50], ebx
call edi
test eax, eax
jne 0x42fc20
jmp 0x42f950
lea edx, [esp + 0x568]
push edx
lea ecx, [esp + 0x1c]
inc esi
call fcn.00401870
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x988], 3
call fcn.0042f590
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x984], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f99e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x774]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x57c]
push edx
push esi
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
call edi
test eax, eax
je 0x42f950
jmp 0x42fc20
mov dword [esp + 0x60], 0x4e045c
mov dword [esp + 0x64], str.ZipNew.dat
mov dword [esp + 0x68], str.X86UpdateChecker.exe
mov dword [esp + 0x6c], str.X86Update.exe
mov dword [esp + 0x70], str.X86Uninst.exe
mov dword [esp + 0x74], str.X86_sfxkzSetup_chs.sfx
mov dword [esp + 0x78], str.X86_sfx
mov dword [esp + 0x7c], str.X86SetupHelper.exe
mov dword [esp + 0x80], str.X86MountCore.dll
mov dword [esp + 0x84], str.X86Mount.dll
mov dword [esp + 0x88], str.X86langChs_Lang.dll
mov dword [esp + 0x8c], str.X86lang
mov dword [esp + 0x90], str.X86KZTui.exe
mov dword [esp + 0x94], str.X86KZReport.exe
mov dword [esp + 0x98], str.X86KZFormat.dll
mov dword [esp + 0x9c], str.X86kuaizipUpdateChecker.dll
mov dword [esp + 0xa0], 0x4e0230
mov dword [esp + 0xa4], str.X86_finderlib.dll
mov dword [esp + 0xa8], str.X86DuiLib.dll
mov dword [esp + 0xac], str.X86DiskOpt.exe
mov dword [esp + 0xb0], str.X867z.dll
mov dword [esp + 0xb4], str.X86KZModule.dll
mov dword [esp + 0xb8], 0x4df4c0
mov dword [esp + 0xbc], str.X64SetupHelper.exe
mov dword [esp + 0xc0], str.X64MountCore.dll
mov dword [esp + 0xc4], str.X64Mount.dll
mov dword [esp + 0xc8], str.X64langChs_Lang.dll
mov dword [esp + 0xcc], str.X64lang
mov dword [esp + 0xd0], str.X64KZMount2.exe
mov dword [esp + 0xd4], str.X64KZModule.dll
mov dword [esp + 0xd8], str.X64KZipShell.dll
mov dword [esp + 0xdc], str.X64KZFormat.dll
mov dword [esp + 0xe0], str.X64KuaiZipDrive.sys
mov dword [esp + 0xe4], str.X647z.dll
mov dword [esp + 0xe8], 0x4de894
mov dword [esp + 0xec], str.SLDefault.xml
mov dword [esp + 0xf0], str.skindisopt.skn
mov dword [esp + 0xf4], str.skin
mov dword [esp + 0xf8], str.readme.txt
mov dword [esp + 0xfc], str.KzNew.dat
mov dword [esp + 0x100], str.ErrorMsg.xml
mov dword [esp + 0x104], str.data_slimdata.dat
mov dword [esp + 0x108], str.data
mov dword [esp + 0x10c], str.alikzshop.ico
mov dword [esp + 0x110], str.alijp.png
mov dword [esp + 0x114], 0x4dff5c
mov dword [esp + 0x118], str.7zNew.dat
xor esi, esi
jmp 0x42fbd0
mov ecx, dword [esp + esi*4 + 0x60]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401870
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov byte [esp + 0x988], 4
call fcn.0042f590
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x984], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, 0x2f
jl 0x42fbd0
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
jbe 0x42fc2d
call fcn.0047b9cb
mov edi, dword [ebp]
mov dword [esp + 0x24], edi
mov ebx, esi
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], esi
jbe 0x42fc43
call fcn.0047b9cb
mov eax, dword [ebp]
test edi, edi
je 0x42fc4e
cmp edi, eax
je 0x42fc53
call fcn.0047b9cb
cmp ebx, esi
je 0x42fdc6
test edi, edi
jne 0x42fd16
call fcn.0047b9cb
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x42fc74
call fcn.0047b9cb
mov eax, dword [ebx]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42fd1d
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x158]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x15e], cx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42fda5
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x18]
call fcn.00401870
mov eax, dword [0x53a8e0]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, 0x53a8cc
mov byte [esp + 0x990], 5
call fcn.0042c980
push 1
mov ecx, 0x53a8cc
mov esi, eax
call fcn.0042d9b0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x42fd7d
mov eax, dword [edi]
jmp 0x42fc6a
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42fda5
lea edx, [esp + 0x158]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401870
mov eax, dword [0x53a8c4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
mov ecx, 0x53a8b0
mov byte [esp + 0x990], 6
call fcn.0042c980
push 1
mov ecx, 0x53a8b0
mov esi, eax
call fcn.0042d9b0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x984], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fda1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x42fdc2
call fcn.0047b9cb
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x42fdba
call fcn.0047b9cb
add ebx, 4
jmp 0x42fc36
mov eax, dword [edi]
jmp 0x42fdb0
xor eax, eax
lea edx, [esp + 0x38]
mov ecx, 0x14
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov word [esp + 0x58], ax
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 0x4dff30
mov dword [esp + 0x3c], eax
mov word [esp + 0x4c], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x984], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x984], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x984], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x97c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x964]
xor ecx, esp
call fcn.0047a885
add esp, 0x974
ret