Function at 0x40b3d5
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
mov eax, 0x40d1ff
call fcn.0040ce00
sub esp, 0x568
push ebx
push esi
push edi
mov esi, 0x41274c
lea edi, [ebp - 0x18]
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.zipinst_lng.ini
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
cmp dword [eax + 0x1394], ebx
movsd dword es:[edi], dword [esi]
je 0x40b420
add eax, 0x18
push eax
lea eax, [ebp - 0x448]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x40b432
lea eax, [ebp - 0x448]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea eax, [ebp - 0x340]
push eax
call fcn.0040463e
lea eax, [ebp - 0x340]
push eax
call fcn.00404672
pop ecx
mov esi, eax
pop ecx
call fcn.00401fc7
cmp dword [eax + 0xc], ebx
je 0x40b45b
lea esi, [ebp - 0x18]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x448]
push eax
push edi
call sub.MSVCRT.dll_strcpy
push edi
call fcn.00404274
push esi
push edi
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x340]
push eax
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 0x1c
test eax, eax
je 0x40b5fc
mov dl, byte [0x412a30]
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
mov byte [ebp - 0x130], dl
rep stosd dword es:[edi], eax
push 0x41
lea edi, [ebp - 0x237]
pop ecx
mov byte [ebp - 0x238], dl
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x130]
push eax
call fcn.00407285
lea eax, [ebp - 0x130]
push eax
call fcn.00404672
pop ecx
mov edi, eax
pop ecx
call fcn.00401fc7
cmp dword [eax + 0x10], ebx
je 0x40b4e4
lea edi, [ebp - 0x28]
lea eax, [ebp - 0x238]
push 0x104
push eax
lea eax, [ebp - 0x448]
push edi
push eax
call fcn.004049c7
add esp, 0x10
call fcn.00401fc7
cmp dword [eax + 0x10], ebx
je 0x40b51e
call fcn.004072f8
push eax
lea eax, [ebp - 0x130]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x130]
push eax
call fcn.004044ca
mov esi, dword [sym.imp.KERNEL32.DLL_CopyFileA]
pop ecx
test eax, eax
je 0x40b56a
lea eax, [ebp - 0x238]
push ebx
push eax
lea eax, [ebp - 0x130]
push eax
call esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1394], ebx
je 0x40b577
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x19d8
push eax
call fcn.004013fe
pop ecx
pop ecx
jmp 0x40b577
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov edi, dword [ebp + 8]
push edi
call fcn.004044ca
test eax, eax
pop ecx
je 0x40b599
lea eax, [ebp - 0x340]
push eax
push edi
call fcn.0040ccf8
pop ecx
cmp eax, 1
pop ecx
je 0x40b5fc
call fcn.00401fc7
cmp dword [eax + 0xc], ebx
je 0x40b5d5
lea ecx, [ebp - 0x574]
call fcn.00403ca8
lea eax, [ebp - 0x340]
push edi
push eax
lea ecx, [ebp - 0x574]
mov dword [ebp - 4], ebx
call fcn.0040412d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00403cb7
jmp 0x40b5e0
push ebx
lea eax, [ebp - 0x340]
push edi
push eax
call esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1394], ebx
je 0x40b5fc
mov eax, dword [ebp + 0x10]
push edi
add eax, 0x19d8
push eax
call fcn.004013fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret