Function at 0x43f000
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x43f008
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040588c
xor eax, eax
push ebp
push 0x43f273
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x43f04a
mov eax, dword [ebp - 4]
call fcn.0040589c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x43f04e
mov byte [ebp - 0x11], 0
xor eax, eax
push ebp
push 0x43f23e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409b0c
test al, al
jne 0x43f075
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43f248
mov eax, dword [0x48e998]
cmp dword [eax], 2
jne 0x43f096
push 5
push 0
mov eax, dword [ebp - 4]
call fcn.0040589c
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x43f234
mov dl, 1
mov eax, dword [0x41b334]
call fcn.004043c8
mov dword [ebp - 0x18], eax
push 0xff
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
xor eax, eax
push ebp
push 0x43f159
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.0040567c
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 8]
call fcn.0040e114
lea eax, [ebp - 0x120]
mov ecx, 0x43f290
mov edx, dword [ebp - 8]
call fcn.00405724
mov eax, dword [ebp - 0x120]
call fcn.00409b0c
test al, al
je 0x43f14f
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.0040567c
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0xc]
call fcn.0040e114
lea eax, [ebp - 0x128]
mov ecx, 0x43f290
mov edx, dword [ebp - 0xc]
call fcn.00405724
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43f16b
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.00409088
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x43f2a4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x43f1b5
mov edx, 0x43f2a4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.0040a0d8
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x134]
mov edx, 0x43f2b8
call fcn.00405724
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.0040567c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x10]
call fcn.0040e114
lea eax, [ebp - 0x140]
mov ecx, 0x43f290
mov edx, dword [ebp - 0x10]
call fcn.00405724
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x18]
call fcn.004043f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43f248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f27a
lea eax, [ebp - 0x140]
mov edx, 0xa
call fcn.00405430
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405430
ret