Function at 0x42e2b0
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 0x42e382
push str.DIRNUL
push esi
call edi
test eax, eax
je 0x42e382
push 0x104
lea ecx, [esp + 0x130]
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
call esi
test eax, eax
je 0x42e368
push 0x104
lea edx, [esp + 0x234]
push edx
push ebx
call esi
test eax, eax
jne 0x42e3b9
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.00440494
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 0x42e3af
mov cl, byte [esi + eax]
test cl, cl
je 0x42e3af
mov byte [eax], cl
add eax, 1
sub edx, 1
jne 0x42e392
jmp 0x42e3b3
test edx, edx
jne 0x42e3b6
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 0x42e368
lea eax, [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x30]
push ecx
call fcn.0042e210
lea edx, [esp + 0x28]
push 0x464a78
push edx
call fcn.00443702
mov edi, eax
add esp, 8
test edi, edi
je 0x42e505
lea eax, [esp + 0x28]
push eax
push 0x464a74
lea ecx, [esp + 0x33c]
push 0x104
push ecx
call fcn.00408310
lea edx, [esp + 0x344]
push 0x464a70
push edx
call fcn.00443702
add esp, 0x18
mov esi, eax
test esi, esi
push edi
je 0x42e4f8
lea eax, [esp + 0x43c]
push 0x3e8
push eax
call fcn.004434b7
add esp, 0xc
test eax, eax
je 0x42e4b1
lea ecx, [esp + 0x438]
push esi
push ecx
call fcn.00443375
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x444]
push eax
call fcn.004431a0
add esp, 0x10
test eax, eax
je 0x42e497
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x130]
push edx
push str._s_s_n
push esi
call fcn.00443226
add esp, 0x10
push edi
lea eax, [esp + 0x43c]
push 0x3e8
push eax
call fcn.004434b7
add esp, 0xc
test eax, eax
jne 0x42e452
push esi
call fcn.00441b02
push edi
call fcn.00441b02
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.00440494
add esp, 0x818
ret
call fcn.00441b02
add esp, 4
jmp 0x42e368
lea ecx, [esp + 0x28]
push 0x464a70
push ecx
call fcn.00443702
mov esi, eax
add esp, 8
test esi, esi
je 0x42e368
lea edx, [esp + 0xc]
push edx
push 0x464a64
push esi
call fcn.00443226
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x13c]
push ecx
push str._s_s_n
push esi
call fcn.00443226
push esi
call fcn.00441b02
mov ecx, dword [esp + 0x840]
add esp, 0x20
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00440494
add esp, 0x818
ret