Function at 0x460710
Capabilities:
Check if file exists
Delete file
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a194
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x11], al
mov dword [ebp - 0x20], eax
push eax
mov eax, dword [esi + 0x4c8]
push 0x1032
push eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x19], 1
call edi
mov ecx, dword [esi + 0x4c8]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call edi
inc eax
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x460808
mov edx, dword [esi + 0x4c8]
dec edi
push 2
push edi
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
push edi
lea ecx, [esi + 0x4ac]
mov dword [ebp - 0x18], eax
call fcn.005fce42
mov edx, dword [esi + 0x1c8]
mov dword [ebp - 0x24], eax
mov edi, dword [edx + 8]
dec edi
xor ecx, ecx
cmp ecx, edi
jg 0x460777
mov ebx, dword [edx + 4]
mov eax, ecx
shl eax, 4
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x24]
cmp dword [eax + 0x480], ebx
je 0x4607d4
inc ecx
jmp 0x4607b7
test ecx, ecx
jl 0x460777
mov edx, dword [edx + 4]
shl ecx, 4
mov ecx, dword [edx + ecx]
mov eax, dword [ecx + 0x8d4]
cmp eax, 3
jne 0x4607f2
mov byte [ebp - 0x11], 1
jmp 0x460777
cmp eax, 1
je 0x460777
cmp eax, 5
je 0x460777
inc dword [ebp - 0x20]
jmp 0x460777
mov al, byte [ebp - 0x11]
mov ebx, 4
test al, al
je 0x4608c0
mov edx, dword [0x6d12f4]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x30]
push eax
push ecx
push 0
push 0
push str.bNShConfDelFrLstDlg
push edx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x460843
cmp dword [ebp - 0x30], 1
je 0x4608c0
push 0
lea ecx, [ebp - 0xf8]
call fcn.0042d4a0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.005fead6
cmp eax, 1
jne 0x46088f
mov al, byte [ebp - 0x9c]
mov edi, 0x631e74
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x1a], al
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.005fe717
jmp 0x4608c5
mov edi, 0x631e74
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.005fe717
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x631e74
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x460a01
mov eax, dword [0x6d12f4]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x30]
push ecx
push edx
push 0
push 0
push str.bNShConfDelUncDlg
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4608fe
cmp dword [ebp - 0x30], 1
je 0x460a01
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x18], ecx
mov al, byte [ebp - 0x11]
mov byte [ebp - 4], 2
test al, al
je 0x460924
mov edx, dword [0x6d1be4]
lea eax, [ebp - 0x18]
push edx
push 0x6a00a0
push eax
jmp 0x46094b
cmp dword [ebp - 0x20], 1
jne 0x46093c
mov ecx, dword [0x6d1be8]
lea edx, [ebp - 0x18]
push ecx
push 0x6a00a0
push edx
jmp 0x46094b
mov eax, dword [0x6d1bec]
lea ecx, [ebp - 0x18]
push eax
push 0x6a00a0
push ecx
call fcn.005fb90b
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0xfc]
push 0
push 0
push edx
call fcn.0042d760
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 3
call fcn.005fead6
cmp eax, 1
je 0x4609cb
mov al, byte [ebp - 0x11]
test al, al
jne 0x4609c7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.00602ad6
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.005fe717
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.00602ad6
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.005fe717
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, dword [esi + 0x4c8]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [eax + 1]
test edi, edi
je 0x460d31
mov ecx, dword [esi + 0x4c8]
lea ebx, [edi - 1]
push 2
push ebx
push 0x100c
push ecx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
lea ecx, [esi + 0x4ac]
lea edi, [eax + 1]
call fcn.005fce42
mov edx, dword [esi + 0x1c8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 8]
dec eax
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
cmp ecx, eax
jg 0x460a1a
mov ebx, dword [edx + 4]
mov eax, ecx
shl eax, 4
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x18]
cmp dword [eax + 0x480], ebx
je 0x460a84
mov eax, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x20], ecx
jmp 0x460a61
test ecx, ecx
jl 0x460a1a
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + 4]
shl eax, 4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ecx + eax]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx + 0x8d4]
cmp eax, 3
jne 0x460be2
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x460be2
mov al, byte [ebp - 0x1a]
test al, al
je 0x460bff
mov eax, dword [0x6a45ac]
test eax, eax
mov eax, dword [ebx + 0x54]
je 0x460b52
test eax, eax
jne 0x460ad6
lea eax, [ebx + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x460bff
test al, 0x10
jne 0x460bff
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x84
xor eax, eax
lea edi, [ebp - 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x54]
test eax, eax
jne 0x460b17
lea eax, [ebx + 0x58]
lea edx, [ebp - 0x41c]
push eax
push edx
call fcn.005e6569
mov ecx, dword [esi + 0x1c]
add esp, 8
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x41c]
push edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 3
mov word [ebp - 0x48], 0x54
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
jmp 0x460bff
test eax, eax
jne 0x460b59
lea eax, [ebx + 0x58]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402500
mov ecx, dword [ebp - 0x24]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x460bd8
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x78]
mov edx, dword [ebp - 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x42
xor eax, eax
lea edi, [ebp - 0x208]
push 0x108
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x208]
push edx
push eax
call fcn.005e6720
mov edx, dword [esi + 0x1c]
add esp, 0xc
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x208]
push eax
mov byte [ebp - 0x100], 0
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], 3
mov word [ebp - 0x68], 0x54
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea ecx, [ebp - 0x24]
call fcn.00602ad6
jmp 0x460bff
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x460a1a
cmp eax, 1
je 0x460a1a
cmp eax, 5
je 0x460a1a
mov eax, dword [esi + 0x194]
mov ecx, dword [ebp - 0x38]
push 0
push ecx
mov edx, dword [eax + 0x1c]
push 0x1008
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x6d1428]
test ecx, ecx
je 0x460c32
mov eax, dword [ebx + 0x480]
push 0
push eax
call fcn.00509d60
mov ecx, ebx
call fcn.005b3780
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x460c60
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x460c60
mov ecx, dword [ebx + 0x18]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x460cf8
mov edi, dword [esi + 0x1c8]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, edx
mov edx, 1
dec eax
add ecx, ebx
mov ebx, edx
dec edx
test ebx, ebx
je 0x460c88
add ecx, 0x10
jmp 0x460c7c
test eax, eax
je 0x460cad
mov ecx, dword [edi + 4]
shl eax, 4
push eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
shl edx, 4
shl eax, 4
add edx, ecx
add eax, ecx
push edx
push eax
call fcn.005e7440
add esp, 0xc
mov ecx, dword [edi + 8]
dec ecx
mov dword [edi + 8], ecx
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x8d8]
test eax, eax
je 0x460cce
push edi
mov ecx, 0x6d1328
call fcn.00435f60
jmp 0x460cf8
test edi, edi
mov byte [ebp - 4], 6
je 0x460cf1
mov ecx, edi
call fcn.005a9bc0
push edi
call fcn.005fef05
add esp, 4
jmp 0x460cf1
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x4c8]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
inc edi
jmp 0x460a1a
mov edx, dword [esi + 0x4c8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push edx
call edi
test eax, eax
jne 0x460e05
push eax
mov eax, dword [esi + 0x1048]
push 0x8016
push 0x401
push eax
call edi
mov ecx, dword [esi + 0x1048]
push 0
push 0x8017
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x1048]
push 0
push 0x8019
push 0x401
push edx
call edi
mov eax, dword [esi + 0x1a4]
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x271d
push eax
call edi
mov ecx, dword [esi + 0x1a4]
push 1
push 0x2b40
push ecx
call edi
mov edx, dword [esi + 0x1a4]
push 1
push 0x271b
push edx
call edi
mov eax, dword [esi + 0x1a4]
push 1
push 0x271c
push eax
call edi
mov ecx, dword [esi + 0x198]
push 1
push 0x8008
push ecx
call edi
mov edx, dword [esi + 0x198]
push 1
push 0x8006
push edx
call edi
mov eax, dword [esi + 0x198]
push 1
push 0x8007
push eax
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret