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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.zipfldr.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x458794
xor ebx, ebx
jmp 0x458bf0
push 0x47e654
xor ebx, ebx
push dword [ebp + 8]
mov byte [ebp - 0x44], 0x50
mov byte [ebp - 0x43], 0x4b
mov byte [ebp - 0x42], 5
mov byte [ebp - 0x41], 6
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], bl
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x37], bl
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], bl
call fcn.0046ba30
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x45881a
push str.Write_Error
lea ecx, [ebp - 4]
call fcn.004013c8
mov eax, dword [eax]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 4]
jmp 0x458beb
push esi
push 0x16
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.0046b8c6
push esi
call fcn.0046b849
mov ecx, dword [ebp + 8]
add esp, 0x14
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0xc]
jl 0x458848
push eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x458859
mov eax, dword [0x47e520]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
call fcn.0040833f
mov eax, dword [0x488b6c]
mov ecx, 0x81
mov dword [ebp - 0x2bc], eax
xor eax, eax
lea edi, [ebp - 0x2b8]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2bc]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x47e520]
push 0x105
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.004016d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040173c
push str.S_OK_tmp_
lea ecx, [ebp - 4]
call fcn.004013c8
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push eax
push dword [eax - 8]
call fcn.00401658
lea ecx, [ebp - 4]
call fcn.0040139c
mov edi, 0x47ec6c
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00408569
mov eax, dword [0x491c1c]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00401658
push str._install.exe
lea ecx, [ebp - 4]
call fcn.004013c8
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00401658
lea ecx, [ebp - 4]
call fcn.0040139c
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00408569
mov eax, dword [0x491c1c]
lea ecx, [ebp - 0x18]
push eax
push dword [eax - 8]
call fcn.00401658
push str..exe
lea ecx, [ebp - 4]
call fcn.004013c8
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x18]
push eax
push dword [eax - 8]
call fcn.00401658
lea ecx, [ebp - 4]
call fcn.0040139c
mov esi, 0x47f814
push edi
push esi
lea ecx, [ebp - 0xc]
call fcn.00401b5d
push edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00401b5d
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 0x2bc]
push eax
call edi
push ebx
lea eax, [ebp - 0x2bc]
push dword [ebp - 0x18]
push eax
call edi
push str.Error___
lea ecx, [ebp - 8]
call fcn.004013c8
push 0x488b98
lea ecx, [ebp - 0x28]
call fcn.004013c8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [ebp - 0x1c], ebx
je 0x458bc0
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
mov dword [ebp - 0x48], eax
jne 0x4589ee
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x458bc0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x458bc0
push ebx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
call fcn.004016d4
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], eax
call fcn.004016d4
mov dword [ebp - 0x64], eax
xor eax, eax
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x60], ebx
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x458bb5
mov esi, dword [sym.imp.USER32.dll_CreatePopupMenu]
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], ecx
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
je 0x458dd8
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00458dee
add esp, 0xc
test eax, eax
je 0x458d89
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x58]
push edx
push 0x479de8
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x50]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x24]
push edx
push ebx
lea edx, [ebp - 0x54]
push 0x479df8
push edx
push 1
pop edi
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push edi
push ebx
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x458bff
call esi
mov ecx, dword [ebp - 0x24]
push 4
push 0x7fff
push edi
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
jl 0x458c3e
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x24
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], 0x48462c
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x4c]
push edx
push 0x479de8
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x48]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x2c], ebx
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x458c75
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x479df8
push eax
call dword [ecx]
test eax, eax
jl 0x458cc1
mov eax, dword [ebp - 0x2c]
push 4
push 0x7fff
push edi
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x458cf8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x24
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], str.paste
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00458e47
lea ecx, [ebp - 0x24]
call fcn.00458e47
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, ebx
jne 0x458a2c
lea ecx, [ebp - 0x1c]
call fcn.00458e47
push 1
pop ebx
lea ecx, [ebp - 0x28]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 0x18]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 0x10]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp + 8]
call fcn.0040139c
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
push str.234
lea ecx, [ebp - 4]
call fcn.004013c8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b6
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
jmp 0x458d3a
push 0x481e78
lea ecx, [ebp - 4]
call fcn.004013c8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b6
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp - 4]
jmp 0x458c34
push 0x484628
lea ecx, [ebp - 4]
call fcn.004013c8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b6
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp - 0x48]
call fcn.0040139c
lea ecx, [ebp - 4]
jmp 0x458d2d
push 0x484624
lea ecx, [ebp - 4]
call fcn.004013c8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b6
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp - 4]
jmp 0x458d2d
push 0x484620
lea ecx, [ebp - 4]
call fcn.004013c8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b6
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 0x2c]
call fcn.00458e47
lea ecx, [ebp - 0x24]
call fcn.00458e47
lea ecx, [ebp - 0x1c]
call fcn.00458e47
lea ecx, [ebp - 0x28]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 0x18]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 0x10]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp + 8]
call fcn.0040139c
xor eax, eax
jmp 0x458bfa
push 0x484614
lea ecx, [ebp - 4]
call fcn.004013c8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b6
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp - 0x4c]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x458d4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x458d4a