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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b104
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 0x460ef8
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.005fdda2
mov edx, dword [esi + 0x1c8]
mov dword [ebp - 0x24], eax
mov edi, dword [edx + 8]
dec edi
xor ecx, ecx
cmp ecx, edi
jg 0x460e67
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 0x460ec4
inc ecx
jmp 0x460ea7
test ecx, ecx
jl 0x460e67
mov edx, dword [edx + 4]
shl ecx, 4
mov ecx, dword [edx + ecx]
mov eax, dword [ecx + 0x8d4]
cmp eax, 3
jne 0x460ee2
mov byte [ebp - 0x11], 1
jmp 0x460e67
cmp eax, 1
je 0x460e67
cmp eax, 5
je 0x460e67
inc dword [ebp - 0x20]
jmp 0x460e67
mov al, byte [ebp - 0x11]
mov ebx, 4
test al, al
je 0x460fb0
mov edx, dword [0x6d2354]
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 0x460f33
cmp dword [ebp - 0x30], 1
je 0x460fb0
push 0
lea ecx, [ebp - 0xf8]
call fcn.0042d840
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.005ffa36
cmp eax, 1
jne 0x460f7f
mov al, byte [ebp - 0x9c]
mov edi, 0x632e74
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.005ff677
jmp 0x460fb5
mov edi, 0x632e74
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.005ff677
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x632e74
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x4610f1
mov eax, dword [0x6d2354]
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 0x460fee
cmp dword [ebp - 0x30], 1
je 0x4610f1
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x18], ecx
mov al, byte [ebp - 0x11]
mov byte [ebp - 4], 2
test al, al
je 0x461014
mov edx, dword [0x6d2c4c]
lea eax, [ebp - 0x18]
push edx
push 0x6a10a0
push eax
jmp 0x46103b
cmp dword [ebp - 0x20], 1
jne 0x46102c
mov ecx, dword [0x6d2c50]
lea edx, [ebp - 0x18]
push ecx
push 0x6a10a0
push edx
jmp 0x46103b
mov eax, dword [0x6d2c54]
lea ecx, [ebp - 0x18]
push eax
push 0x6a10a0
push ecx
call fcn.005fc86b
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0xfc]
push 0
push 0
push edx
call fcn.0042db00
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 3
call fcn.005ffa36
cmp eax, 1
je 0x4610bb
mov al, byte [ebp - 0x11]
test al, al
jne 0x4610b7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.00603a3c
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.005ff677
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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.00603a3c
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.005ff677
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 0x461421
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.005fdda2
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 0x46110a
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 0x461174
mov eax, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x20], ecx
jmp 0x461151
test ecx, ecx
jl 0x46110a
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 0x4612d2
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x4612d2
mov al, byte [ebp - 0x1a]
test al, al
je 0x4612ef
mov eax, dword [0x6a55ac]
test eax, eax
mov eax, dword [ebx + 0x54]
je 0x461242
test eax, eax
jne 0x4611c6
lea eax, [ebx + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4612ef
test al, 0x10
jne 0x4612ef
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 0x461207
lea eax, [ebx + 0x58]
lea edx, [ebp - 0x41c]
push eax
push edx
call fcn.005e7389
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 0x4612ef
test eax, eax
jne 0x461249
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 0x4612c8
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.005e7540
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.00603a3c
jmp 0x4612ef
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x46110a
cmp eax, 1
je 0x46110a
cmp eax, 5
je 0x46110a
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 [0x6d2488]
test ecx, ecx
je 0x461322
mov eax, dword [ebx + 0x480]
push 0
push eax
call fcn.0050acd0
mov ecx, ebx
call fcn.005b4560
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x461350
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x461350
mov ecx, dword [ebx + 0x18]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4613e8
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 0x461378
add ecx, 0x10
jmp 0x46136c
test eax, eax
je 0x46139d
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.005e8260
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 0x4613be
push edi
mov ecx, 0x6d2388
call fcn.00436300
jmp 0x4613e8
test edi, edi
mov byte [ebp - 4], 6
je 0x4613e1
mov ecx, edi
call fcn.005aa9a0
push edi
call fcn.005ffe68
add esp, 4
jmp 0x4613e1
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 0x46110a
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 0x4614f5
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