Function at 0x4016d0
Capabilities:
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x40d08e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str._nics
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x150]
lea ecx, [esp + 0x2c]
push esi
call fcn.004029da
push str..bak
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14c], 0
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call fcn.004029da
push 0x4110ec
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x150], 3
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x150], 4
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 6
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
call fcn.004029da
push 0x4110ec
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x150], 8
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x150], 9
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 0xc
call sub.MFC42.DLL_CString::CString
mov bl, 0xb
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push eax
call edi
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
call esi
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x154], 0xd
call fcn.004029da
mov edx, dword [esp + 0x158]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x158], 0xe
call fcn.004029da
mov byte [esp + 0x154], bl
call fcn.00402600
add esp, 0x10
test al, al
push ecx
mov ecx, esp
je 0x401971
mov dword [esp + 0x1c], esp
push str.ExtractZip___Extract_success
call fcn.004029da
call fcn.00402420
mov eax, dword [esp + 0x14]
add esp, 4
push 0x80
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x401956
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ExtractZip___MoveFile_success
call fcn.004029da
call fcn.00402420
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4019bf
mov edx, dword [esp + 0xc]
push edx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ExtractZip___MoveFile_fail
jmp 0x40197a
mov dword [esp + 0x1c], esp
push str.ExtractZip___Extract_fail
call fcn.004029da
call fcn.00402420
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret