Function at 0x48542a
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 0x485455
xor ebx, ebx
jmp 0x4858b1
push 0x4b08e0
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.0049d2e0
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x4854db
push str.Write_Error
lea ecx, [ebp - 4]
call fcn.00403927
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 0x4858ac
push esi
push 0x16
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.0049d176
push esi
call fcn.0049d0f9
mov ecx, dword [ebp + 8]
add esp, 0x14
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0xc]
jl 0x485509
push eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x48551a
mov eax, dword [0x4b0550]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
call fcn.0040a70f
mov eax, dword [0x4bd5dc]
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 [0x4b0550]
push 0x105
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00403c58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403cd2
push str.S_OK_tmp_
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 4]
call fcn.004038fb
mov edi, 0x4b0efc
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040a915
mov eax, dword [0x4c668c]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00403bd8
push str._install.exe
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 4]
call fcn.004038fb
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040a915
mov eax, dword [0x4c668c]
lea ecx, [ebp - 0x18]
push eax
push dword [eax - 8]
call fcn.00403bd8
push str..exe
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x18]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 4]
call fcn.004038fb
mov esi, 0x4b1aa4
push edi
push esi
lea ecx, [ebp - 0xc]
call fcn.004040f7
push edi
push esi
lea ecx, [ebp - 0x18]
call fcn.004040f7
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.00403927
push 0x4bd614
lea ecx, [ebp - 0x28]
call fcn.00403927
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [ebp - 0x1c], ebx
je 0x485881
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
mov dword [ebp - 0x48], eax
jne 0x4856af
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x485881
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x485881
push ebx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
call fcn.00403c58
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], eax
call fcn.00403c58
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 0x485876
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 0x485a99
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00485aaf
add esp, 0xc
test eax, eax
je 0x485a4a
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x58]
push edx
push 0x4ac2d8
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 0x4ac2e8
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 0x4858c0
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 0x4858ff
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], 0x4b8b38
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 0x4ac2d8
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 0x485936
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x4ac2e8
push eax
call dword [ecx]
test eax, eax
jl 0x485982
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 0x4859b9
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.0048c320
lea ecx, [ebp - 0x24]
call fcn.0048c320
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, ebx
jne 0x4856ed
lea ecx, [ebp - 0x1c]
call fcn.0048c320
push 1
pop ebx
lea ecx, [ebp - 0x28]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
push 0x4b56c4
lea ecx, [ebp - 4]
call fcn.00403927
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
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.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
jmp 0x4859fb
push 0x4b56c8
lea ecx, [ebp - 4]
call fcn.00403927
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
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.004038fb
lea ecx, [ebp - 4]
jmp 0x4858f5
push 0x4b8b34
lea ecx, [ebp - 4]
call fcn.00403927
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.00403b20
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x48]
call fcn.004038fb
lea ecx, [ebp - 4]
jmp 0x4859ee
push 0x4b8b30
lea ecx, [ebp - 4]
call fcn.00403927
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
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.004038fb
lea ecx, [ebp - 4]
jmp 0x4859ee
push 0x4b8b2c
lea ecx, [ebp - 4]
call fcn.00403927
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
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.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x2c]
call fcn.0048c320
lea ecx, [ebp - 0x24]
call fcn.0048c320
lea ecx, [ebp - 0x1c]
call fcn.0048c320
lea ecx, [ebp - 0x28]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
xor eax, eax
jmp 0x4858bb
push 0x4b8b20
lea ecx, [ebp - 4]
call fcn.00403927
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.00403b20
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x4c]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x485a0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x485a0b