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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fa6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x338
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 - 0x19], al
mov byte [ebp - 0x11], al
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [esi + 0x484]
push 0x1032
push eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x1a], 1
call edi
mov ecx, dword [esi + 0x484]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call edi
inc eax
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x43c148
mov edx, dword [esi + 0x484]
dec edi
push 2
push edi
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
push edi
lea ecx, [esi + 0x468]
mov dword [ebp - 0x20], eax
call fcn.00564402
mov edx, dword [esi + 0x1c0]
mov dword [ebp - 0x24], eax
mov edi, dword [edx + 8]
dec edi
xor ecx, ecx
cmp ecx, edi
jg 0x43c0b7
mov ebx, dword [edx + 4]
mov eax, ecx
shl eax, 4
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x24]
cmp dword [eax + 0x390], ebx
je 0x43c114
inc ecx
jmp 0x43c0f7
test ecx, ecx
jl 0x43c0b7
mov edx, dword [edx + 4]
shl ecx, 4
mov ecx, dword [edx + ecx]
mov eax, dword [ecx + 0x5cc]
cmp eax, 3
jne 0x43c132
mov byte [ebp - 0x11], 1
jmp 0x43c0b7
cmp eax, 1
je 0x43c0b7
cmp eax, 5
je 0x43c0b7
inc dword [ebp - 0x18]
jmp 0x43c0b7
mov al, byte [ebp - 0x11]
mov ebx, 4
test al, al
je 0x43c1da
mov edx, dword [0x63e518]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
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 0x43c183
cmp dword [ebp - 0x2c], 1
je 0x43c1da
push 0
lea ecx, [ebp - 0x12c]
call fcn.0041c8f0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00566096
cmp eax, 1
jne 0x43c239
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00571dd3
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], bl
call fcn.00571dd3
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0
call fcn.00565cd7
mov edi, dword [ebp - 0x18]
test edi, edi
jle 0x43c36e
mov eax, dword [0x63e518]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x2c]
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 0x43c213
cmp dword [ebp - 0x2c], 1
je 0x43c36e
mov ecx, dword [0x639ad4]
mov dword [ebp - 0x18], ecx
mov bl, byte [ebp - 0x11]
mov byte [ebp - 4], 6
test bl, bl
je 0x43c277
mov edx, dword [0x63e9d0]
lea eax, [ebp - 0x18]
push edx
push 0x615e9c
push eax
jmp 0x43c29d
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00571dd3
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.00571dd3
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0
call fcn.00565cd7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x43c28e
mov ecx, dword [0x63e9d4]
lea edx, [ebp - 0x18]
push ecx
push 0x615e9c
push edx
jmp 0x43c29d
mov eax, dword [0x63e9d8]
lea ecx, [ebp - 0x18]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x130]
push 0
push 0
push edx
call fcn.0041cc50
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 7
call fcn.00566096
cmp eax, 1
je 0x43c329
test bl, bl
jne 0x43c325
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.0056a100
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.00571dd3
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.00571d9b
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.00565cd7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0056a100
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.0056a100
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.00571dd3
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.00571d9b
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.00565cd7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0056a100
mov eax, dword [esi + 0x484]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [eax + 1]
test edi, edi
je 0x43c59b
mov ecx, dword [esi + 0x484]
lea ebx, [edi - 1]
push 2
push ebx
push 0x100c
push ecx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
lea ecx, [esi + 0x468]
lea edi, [eax + 1]
call fcn.00564402
mov ecx, dword [esi + 0x1c0]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
dec eax
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
cmp edx, eax
jg 0x43c387
mov ebx, dword [ecx + 4]
mov eax, edx
shl eax, 4
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x24]
cmp dword [eax + 0x390], ebx
je 0x43c3f1
mov eax, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x18], edx
jmp 0x43c3ce
test edx, edx
jl 0x43c387
mov ecx, dword [ecx + 4]
shl edx, 4
mov dword [ebp - 0x24], edx
mov ebx, dword [ecx + edx]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebx + 0x5cc]
cmp eax, 3
jne 0x43c4a0
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x43c4a0
mov al, byte [ebp - 0x19]
test al, al
je 0x43c4bd
mov eax, dword [ebx + 0x54]
test eax, eax
jne 0x43c433
lea eax, [ebx + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c4bd
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x84
xor eax, eax
lea edi, [ebp - 0x344]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x54]
test eax, eax
jne 0x43c468
lea eax, [ebx + 0x58]
lea edx, [ebp - 0x344]
push eax
push edx
call fcn.0054e449
mov ecx, dword [esi + 0x1c]
add esp, 8
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x344]
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 3
mov word [ebp - 0x44], 0x54
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
jmp 0x43c4bd
mov cl, byte [ebp - 0x1a]
test cl, cl
je 0x43c387
cmp eax, 1
je 0x43c387
cmp eax, 5
je 0x43c387
mov eax, dword [esi + 0x18c]
mov ecx, dword [ebp - 0x30]
push 0
push ecx
mov edx, dword [eax + 0x1c]
push 0x1008
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x63e61c]
test ecx, ecx
je 0x43c4f0
mov eax, dword [ebx + 0x390]
push 0
push eax
call fcn.004bbbd0
mov edi, dword [esi + 0x1c0]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
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 0x43c518
add ecx, 0x10
jmp 0x43c50c
test eax, eax
je 0x43c53d
mov ecx, dword [edi + 4]
shl eax, 4
push eax
mov eax, dword [ebp - 0x18]
lea edx, [eax + 1]
shl edx, 4
shl eax, 4
add edx, ecx
add eax, ecx
push edx
push eax
call fcn.0054ee90
add esp, 0xc
mov eax, dword [edi + 8]
dec eax
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x20]
mov ecx, edi
call fcn.005245b0
test edi, edi
je 0x43c562
mov ecx, edi
call fcn.0051e0a0
push edi
call fcn.005664c5
add esp, 4
mov eax, dword [esi + 0x484]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
inc edi
jmp 0x43c387
mov edx, dword [esi + 0x484]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push edx
call edi
test eax, eax
jne 0x43c66f
push eax
mov eax, dword [esi + 0xbec]
push 0x8016
push 0x401
push eax
call edi
mov ecx, dword [esi + 0xbec]
push 0
push 0x8017
push 0x401
push ecx
call edi
mov edx, dword [esi + 0xbec]
push 0
push 0x8019
push 0x401
push edx
call edi
mov eax, dword [esi + 0x19c]
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x271d
push eax
call edi
mov ecx, dword [esi + 0x19c]
push 1
push 0x2b40
push ecx
call edi
mov edx, dword [esi + 0x19c]
push 1
push 0x271b
push edx
call edi
mov eax, dword [esi + 0x19c]
push 1
push 0x271c
push eax
call edi
mov ecx, dword [esi + 0x190]
push 1
push 0x8008
push ecx
call edi
mov edx, dword [esi + 0x190]
push 1
push 0x8006
push edx
call edi
mov eax, dword [esi + 0x190]
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