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

Disassembly:
sub esp, 0x818
mov eax, dword [0x4762c4]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [str.WININIT.INI]
mov ecx, dword [0x464a98]
mov edx, dword [0x464a9c]
push ebx
mov ebx, dword [esp + 0x824]
mov dword [esp + 0x10], eax
movzx eax, byte [0x464aa0]
push esi
mov esi, dword [esp + 0x824]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov byte [esp + 0x24], al
movzx eax, byte [0x464a90]
mov dword [esp + 0x1c], ecx
mov ecx, dword [str._rename_]
mov dword [esp + 0x20], edx
mov edx, dword [0x464a8c]
push 0x464a84
push esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], al
call edi
test eax, eax
je 0x42e3c2
push str.DIRNUL
push esi
call edi
test eax, eax
je 0x42e3c2
push 0x104
lea ecx, [esp + 0x130]
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
call esi
test eax, eax
je 0x42e3a8
push 0x104
lea edx, [esp + 0x234]
push edx
push ebx
call esi
test eax, eax
jne 0x42e3f9
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.004404d4
add esp, 0x818
ret
lea eax, [esp + 0x12c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x42e3ef
mov cl, byte [esi + eax]
test cl, cl
je 0x42e3ef
mov byte [eax], cl
add eax, 1
sub edx, 1
jne 0x42e3d2
jmp 0x42e3f3
test edx, edx
jne 0x42e3f6
sub eax, 1
mov byte [eax], 0
push 0x104
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x42e3a8
lea eax, [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x30]
push ecx
call fcn.0042e250
lea edx, [esp + 0x28]
push 0x464a78
push edx
call fcn.00443742
mov edi, eax
add esp, 8
test edi, edi
je 0x42e545
lea eax, [esp + 0x28]
push eax
push 0x464a74
lea ecx, [esp + 0x33c]
push 0x104
push ecx
call fcn.00408330
lea edx, [esp + 0x344]
push 0x464a70
push edx
call fcn.00443742
add esp, 0x18
mov esi, eax
test esi, esi
push edi
je 0x42e538
lea eax, [esp + 0x43c]
push 0x3e8
push eax
call fcn.004434f7
add esp, 0xc
test eax, eax
je 0x42e4f1
lea ecx, [esp + 0x438]
push esi
push ecx
call fcn.004433b5
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x444]
push eax
call fcn.004431e0
add esp, 0x10
test eax, eax
je 0x42e4d7
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x130]
push edx
push str._s_s_n
push esi
call fcn.00443266
add esp, 0x10
push edi
lea eax, [esp + 0x43c]
push 0x3e8
push eax
call fcn.004434f7
add esp, 0xc
test eax, eax
jne 0x42e492
push esi
call fcn.00441b42
push edi
call fcn.00441b42
add esp, 8
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.004404d4
add esp, 0x818
ret
call fcn.00441b42
add esp, 4
jmp 0x42e3a8
lea ecx, [esp + 0x28]
push 0x464a70
push ecx
call fcn.00443742
mov esi, eax
add esp, 8
test esi, esi
je 0x42e3a8
lea edx, [esp + 0xc]
push edx
push 0x464a64
push esi
call fcn.00443266
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x13c]
push ecx
push str._s_s_n
push esi
call fcn.00443266
push esi
call fcn.00441b42
mov ecx, dword [esp + 0x840]
add esp, 0x20
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.004404d4
add esp, 0x818
ret