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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55723c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
push eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x19], al
mov byte [ebp - 0x11], al
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [ebx + 0x474]
push 0x1032
push eax
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x1a], 1
call esi
mov ecx, dword [ebx + 0x474]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call esi
inc eax
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x433378
mov edx, dword [ebx + 0x474]
dec esi
push 2
push esi
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
push esi
lea ecx, [ebx + 0x458]
mov dword [ebp - 0x20], eax
call fcn.0053c511
mov edx, dword [ebx + 0x1c0]
mov dword [ebp - 0x24], eax
mov esi, dword [edx + 8]
dec esi
xor ecx, ecx
cmp ecx, esi
jg 0x4332e7
mov edi, dword [edx + 4]
mov eax, ecx
shl eax, 4
mov eax, dword [edi + eax]
mov edi, dword [ebp - 0x24]
cmp dword [eax + 0x420], edi
je 0x433344
inc ecx
jmp 0x433327
test ecx, ecx
jl 0x4332e7
mov edx, dword [edx + 4]
shl ecx, 4
mov ecx, dword [edx + ecx]
mov eax, dword [ecx + 0x65c]
cmp eax, 3
jne 0x433362
mov byte [ebp - 0x11], 1
jmp 0x4332e7
cmp eax, 1
je 0x4332e7
cmp eax, 5
je 0x4332e7
inc dword [ebp - 0x18]
jmp 0x4332e7
mov al, byte [ebp - 0x11]
test al, al
je 0x43340a
mov edx, dword [0x5c74b0]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push eax
push ecx
push 0
push 0
push str.bNShConfDelFrLstDlg
push edx
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4333b2
cmp dword [ebp - 0x30], 1
je 0x43340a
push 0
lea ecx, [ebp - 0x12c]
call fcn.00419140
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0053e1a5
cmp eax, 1
jne 0x43346d
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00549f48
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00549f48
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0
call fcn.0053dde6
mov esi, dword [ebp - 0x18]
test esi, esi
jle 0x4335a6
mov eax, dword [0x5c74b0]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push ecx
push edx
push 0
push 0
push str.bNShConfDelUncDlg
push eax
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x433447
cmp dword [ebp - 0x30], 1
je 0x4335a6
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x18], ecx
mov al, byte [ebp - 0x11]
mov byte [ebp - 4], 6
test al, al
je 0x4334ab
mov edx, dword [0x5c7888]
lea eax, [ebp - 0x18]
push edx
push 0x5a3e24
push eax
jmp 0x4334d1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00549f48
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.00549f48
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0
call fcn.0053dde6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x4334c2
mov ecx, dword [0x5c788c]
lea edx, [ebp - 0x18]
push ecx
push 0x5a3e24
push edx
jmp 0x4334d1
mov eax, dword [0x5c7890]
lea ecx, [ebp - 0x18]
push eax
push 0x5a3e24
push ecx
call fcn.0053afda
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x130]
push 0
push 0
push edx
call fcn.004194a0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 7
call fcn.0053e1a5
cmp eax, 1
je 0x433561
mov al, byte [ebp - 0x11]
test al, al
jne 0x43355d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.005421be
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.00549f48
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.00549f10
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.0053dde6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005421be
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 - 0x1a], 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.005421be
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.00549f48
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.00549f10
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.0053dde6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005421be
mov eax, dword [ebx + 0x474]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [eax + 1]
test esi, esi
je 0x4337e6
mov ecx, dword [ebx + 0x474]
lea edi, [esi - 1]
push 2
push edi
push 0x100c
push ecx
mov dword [ebp - 0x28], edi
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
lea ecx, [ebx + 0x458]
lea esi, [eax + 1]
call fcn.0053c511
mov ecx, dword [ebx + 0x1c0]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
dec eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edi
cmp edi, eax
jg 0x4335bf
mov eax, dword [ecx + 4]
mov edx, edi
shl edx, 4
mov edx, dword [eax + edx]
mov eax, dword [ebp - 0x24]
cmp dword [edx + 0x420], eax
je 0x433629
mov eax, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x20], edi
jmp 0x433606
test edi, edi
jl 0x4335bf
mov ecx, dword [ecx + 4]
mov eax, edi
shl eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 0x65c]
cmp ecx, 3
jne 0x4336e5
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4336e5
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x433702
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x433702
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x54]
lea edx, [ebp - 0x23c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x42
xor eax, eax
lea edi, [ebp - 0x23c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, dword [eax + 0x54]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebx + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x54]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], 3
mov word [ebp - 0x44], 0x54
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, dword [ebp - 0x20]
jmp 0x433702
mov al, byte [ebp - 0x1a]
test al, al
je 0x4335bf
cmp ecx, 1
je 0x4335bf
cmp ecx, 5
je 0x4335bf
mov eax, dword [ebx + 0x18c]
mov ecx, dword [ebp - 0x28]
push 0
push ecx
mov edx, dword [eax + 0x1c]
push 0x1008
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5c7574]
test ecx, ecx
je 0x433738
mov eax, dword [ebp - 0x18]
push 0
mov edx, dword [eax + 0x420]
push edx
call fcn.004a4970
mov esi, dword [ebx + 0x1c0]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], 1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, edi
dec eax
add ecx, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x28]
mov edx, ecx
dec ecx
test edx, edx
je 0x433766
add dword [ebp - 0x20], 0x10
jmp 0x433759
test eax, eax
je 0x433788
mov ecx, dword [esi + 4]
shl eax, 4
push eax
lea eax, [edi + 1]
shl eax, 4
shl edi, 4
add eax, ecx
add edi, ecx
push eax
push edi
call fcn.00527c60
add esp, 0xc
mov eax, dword [esi + 8]
dec eax
mov dword [esi + 8], eax
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00504dc0
test esi, esi
je 0x4337ad
mov ecx, esi
call fcn.004ff780
push esi
call fcn.00542796
add esp, 4
mov ecx, dword [ebx + 0x474]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
inc esi
jmp 0x4335bf
mov eax, dword [ebx + 0x474]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push eax
call esi
test eax, eax
jne 0x4338aa
mov ecx, dword [ebx + 0xbdc]
push eax
push 0x8016
push 0x401
push ecx
call esi
mov edx, dword [ebx + 0xbdc]
push 0
push 0x8017
push 0x401
push edx
call esi
mov eax, dword [ebx + 0xbdc]
push 0
push 0x8019
push 0x401
push eax
call esi
mov ecx, dword [ebx + 0x19c]
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x271d
push ecx
call esi
mov edx, dword [ebx + 0x19c]
push 1
push 0x271b
push edx
call esi
mov eax, dword [ebx + 0x19c]
push 1
push 0x271c
push eax
call esi
mov ecx, dword [ebx + 0x190]
push 1
push 0x8008
push ecx
call esi
mov edx, dword [ebx + 0x190]
push 1
push 0x8006
push edx
call esi
mov eax, dword [ebx + 0x190]
push 1
push 0x8007
push eax
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret