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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e884
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 + 0x4f8]
push 0x1032
push eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x19], 1
call edi
mov ecx, dword [esi + 0x4f8]
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 0x46c8f8
mov edx, dword [esi + 0x4f8]
dec edi
push 2
push edi
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
push edi
lea ecx, [esi + 0x4dc]
mov dword [ebp - 0x18], eax
call fcn.00620a31
mov edx, dword [esi + 0x1cc]
mov dword [ebp - 0x24], eax
mov edi, dword [edx + 8]
dec edi
xor ecx, ecx
cmp ecx, edi
jg 0x46c867
mov ebx, dword [edx + 4]
mov eax, ecx
shl eax, 4
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x24]
cmp dword [eax + 0x4a0], ebx
je 0x46c8c4
inc ecx
jmp 0x46c8a7
test ecx, ecx
jl 0x46c867
mov edx, dword [edx + 4]
shl ecx, 4
mov ecx, dword [edx + ecx]
mov eax, dword [ecx + 0x8fc]
cmp eax, 3
jne 0x46c8e2
mov byte [ebp - 0x11], 1
jmp 0x46c867
cmp eax, 1
je 0x46c867
cmp eax, 5
je 0x46c867
inc dword [ebp - 0x20]
jmp 0x46c867
mov al, byte [ebp - 0x11]
mov ebx, 4
test al, al
je 0x46c9b0
mov edx, dword [0x6fcafc]
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 0x46c933
cmp dword [ebp - 0x30], 1
je 0x46c9b0
push 0
lea ecx, [ebp - 0xf8]
call fcn.00432050
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.006226c5
cmp eax, 1
jne 0x46c97f
mov al, byte [ebp - 0x9c]
mov edi, 0x657cdc
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.00622306
jmp 0x46c9b5
mov edi, 0x657cdc
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.00622306
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x657cdc
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x46caf1
mov eax, dword [0x6fcafc]
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 0x46c9ee
cmp dword [ebp - 0x30], 1
je 0x46caf1
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x18], ecx
mov al, byte [ebp - 0x11]
mov byte [ebp - 4], 2
test al, al
je 0x46ca14
mov edx, dword [0x6fd4b4]
lea eax, [ebp - 0x18]
push edx
push 0x6c910c
push eax
jmp 0x46ca3b
cmp dword [ebp - 0x20], 1
jne 0x46ca2c
mov ecx, dword [0x6fd4b8]
lea edx, [ebp - 0x18]
push ecx
push 0x6c910c
push edx
jmp 0x46ca3b
mov eax, dword [0x6fd4bc]
lea ecx, [ebp - 0x18]
push eax
push 0x6c910c
push ecx
call fcn.0061fae1
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0xfc]
push 0
push 0
push edx
call fcn.004323b0
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 3
call fcn.006226c5
cmp eax, 1
je 0x46cabb
mov al, byte [ebp - 0x11]
test al, al
jne 0x46cab7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.00622d8a
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.00622306
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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.00622d8a
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.00622306
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov eax, dword [esi + 0x4f8]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [eax + 1]
test edi, edi
je 0x46ce21
mov ecx, dword [esi + 0x4f8]
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 + 0x4dc]
lea edi, [eax + 1]
call fcn.00620a31
mov edx, dword [esi + 0x1cc]
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 0x46cb0a
mov ebx, dword [edx + 4]
mov eax, ecx
shl eax, 4
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x18]
cmp dword [eax + 0x4a0], ebx
je 0x46cb74
mov eax, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x20], ecx
jmp 0x46cb51
test ecx, ecx
jl 0x46cb0a
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 + 0x8fc]
cmp eax, 3
jne 0x46ccd2
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x46ccd2
mov al, byte [ebp - 0x1a]
test al, al
je 0x46ccef
mov eax, dword [0x6cdafc]
test eax, eax
mov eax, dword [ebx + 0x54]
je 0x46cc42
test eax, eax
jne 0x46cbc6
lea eax, [ebx + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46ccef
test al, 0x10
jne 0x46ccef
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 0x46cc07
lea eax, [ebx + 0x58]
lea edx, [ebp - 0x41c]
push eax
push edx
call fcn.00609a95
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 [0x6fc2bc]
jmp 0x46ccef
test eax, eax
jne 0x46cc49
lea eax, [ebx + 0x58]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402850
mov ecx, dword [ebp - 0x24]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46ccc8
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.00609f00
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 [0x6fc2c0]
lea ecx, [ebp - 0x24]
call fcn.00622d8a
jmp 0x46ccef
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x46cb0a
cmp eax, 1
je 0x46cb0a
cmp eax, 5
je 0x46cb0a
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 [0x6fcc3c]
test ecx, ecx
je 0x46cd22
mov eax, dword [ebx + 0x4a0]
push 0
push eax
call fcn.00520db0
mov ecx, ebx
call fcn.005d21a0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x46cd50
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46cd50
mov ecx, dword [ebx + 0x18]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x46cde8
mov edi, dword [esi + 0x1cc]
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 0x46cd78
add ecx, 0x10
jmp 0x46cd6c
test eax, eax
je 0x46cd9d
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.0060ac20
add esp, 0xc
mov ecx, dword [edi + 8]
dec ecx
mov dword [edi + 8], ecx
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x900]
test eax, eax
je 0x46cdbe
push edi
mov ecx, 0x6fcb38
call fcn.0043b220
jmp 0x46cde8
test edi, edi
mov byte [ebp - 4], 6
je 0x46cde1
mov ecx, edi
call fcn.005c6d50
push edi
call fcn.00622af4
add esp, 4
jmp 0x46cde1
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x4f8]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
inc edi
jmp 0x46cb0a
mov edx, dword [esi + 0x4f8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push edx
call edi
test eax, eax
jne 0x46cef5
push eax
mov eax, dword [esi + 0x1078]
push 0x8016
push 0x401
push eax
call edi
mov ecx, dword [esi + 0x1078]
push 0
push 0x8017
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x1078]
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