Function at 0x421e30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44da86
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x45d2b0]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x28]
lea edi, [esi + 0x28]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x421e9a
mov ecx, ebx
mov eax, edi
call fcn.004043a0
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jge 0x421eab
push 0x80070057
call fcn.00404c40
mov dword [eax - 0xc], ebx
mov ecx, dword [edi]
push eax
push ebx
mov byte [ecx + 0x104], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x421ed6
push ecx
push eax
call fcn.004389ba
add esp, 8
test eax, eax
jl 0x421ea1
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x421ea1
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
mov byte [eax + edx], 0
call fcn.00422480
lea ebx, [esi + 0x2c]
mov eax, edi
call fcn.00404000
push str.rsinstall.7z
push ebx
mov edx, 0xc
call fcn.00404270
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.004220b0
test eax, eax
je 0x422088
push 0x103
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.0043d080
mov eax, dword [ebx]
lea edx, [esp + 0x30]
add esp, 0xc
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x421f40
mov ecx, dword [ebx]
push ecx
push 0x452c94
push 0x40
call fcn.004025a0
add esp, 0xc
lea edx, [esp + 0x24]
lea eax, [esi + 8]
push edx
push eax
mov dword [esp + 0x20], eax
call fcn.00423fa0
test eax, eax
jne 0x421f8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebx]
push eax
push str.Open_zip_file__s_fail_err_d
push 0x40
call fcn.004025a0
add esp, 0x10
lea ecx, [esp + 0x14]
push str.RSTMP_
push ecx
mov ecx, edi
call fcn.004228a0
mov ecx, dword [eax]
lea ebx, [esi + 0x30]
add esp, 8
mov edx, ebx
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x421fa6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push str.RSTMP
push ecx
mov ecx, edi
call fcn.004228a0
push 0
mov dword [esp + 0x14c], 0
mov eax, dword [eax]
push 1
push eax
call section..text
or edi, 0xffffffff
mov dword [esp + 0x154], edi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov ecx, 0x451170
call fcn.00422800
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push edx
mov ecx, 0x451170
mov dword [esp + 0x14c], 1
call fcn.00422800
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov esi, dword [esp + 0x20]
push eax
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x154], edi
call fcn.00424680
mov ecx, esi
call fcn.00424110
push str.rsinstall:_CInstallProc::ExtractPreInstallFiles_end
push 0x40
call fcn.004025a0
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00437bf9
mov esp, ebp
pop ebp
ret