Function at 0x40bc2d
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push ebx
push esi
push edi
push str.zipfldr.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x40bc4f
xor esi, esi
jmp 0x40bf76
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x40bc73
push 0x416c34
push dword [ebp + 8]
push 0xe2
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0040bb32
add esp, 0x10
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401036
mov eax, dword [0x42619c]
mov dword [ebp - 0x29c], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x298]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x104
push edi
lea eax, [ebp - 0x29c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x18]
call fcn.0040102a
push 0x105
lea ecx, [ebp - 0x18]
call fcn.00401863
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004018df
mov edi, 0x415c08
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00404981
push dword [0x40f1e8]
lea ecx, [ebp - 0xc]
call fcn.00401221
push str..exe
lea ecx, [ebp + 0x10]
call fcn.004010d3
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401203
lea ecx, [ebp + 0x10]
call fcn.00401911
push edi
push 0x416c2c
lea ecx, [ebp - 0xc]
call fcn.0040129c
push esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.Error___
lea ecx, [ebp - 8]
call fcn.004010d3
push 0x4261a0
lea ecx, [ebp - 0x20]
call fcn.004010d3
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [ebp - 0x10], esi
je 0x40bf4e
push dword [ebp - 0x1c]
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, esi
mov dword [ebp - 0x28], eax
jne 0x40bd94
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x40bf4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40bf4e
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
call fcn.00401863
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], esi
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48]
cmp eax, esi
push 1
pop edi
je 0x40bf3f
mov ebx, dword [sym.imp.USER32.dll_CreatePopupMenu]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ecx
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, esi
je 0x40c0d2
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.0040bbd4
add esp, 0xc
test eax, eax
je 0x40c116
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0x40d4ec
push esi
push dword [ebp - 0x30]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x38]
lea edx, [ebp + 0x10]
push edx
push esi
push 0x40d4fc
lea edx, [ebp - 0x34]
push edx
push edi
push esi
mov dword [ebp + 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x40bf85
call ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push 4
push 0x7fff
push edi
push esi
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
jl 0x40bfbc
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x90]
push edx
mov dword [ebp - 0x90], 0x24
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], 0x416c1c
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x40d4ec
push esi
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x24], esi
call ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmp eax, esi
je 0x40bffb
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x40d4fc
push eax
call dword [ecx]
test eax, eax
jl 0x40c047
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push 4
push 0x7fff
push edi
push esi
push dword [ebp - 0x14]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x40c07e
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x6c]
push edx
mov dword [ebp - 0x6c], 0x24
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], str.paste
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x40bf21
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x40bf2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, esi
jne 0x40bdca
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x40bf4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
lea ecx, [ebp - 0x20]
call fcn.00401911
lea ecx, [ebp - 8]
call fcn.00401911
lea ecx, [ebp - 0xc]
call fcn.00401911
lea ecx, [ebp - 0x18]
call fcn.00401911
lea ecx, [ebp - 0x1c]
call fcn.00401911
lea ecx, [ebp + 8]
call fcn.00401911
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
push 0x416c10
lea ecx, [ebp - 4]
call fcn.004010d3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404938
mov eax, dword [eax]
push esi
push esi
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.00401911
lea ecx, [ebp - 4]
jmp 0x40bff1
push 0x416c0c
lea ecx, [ebp - 4]
call fcn.004010d3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404938
mov eax, dword [eax]
push esi
push esi
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.00401911
lea ecx, [ebp - 4]
call fcn.00401911
jmp 0x40c0c5
push 0x416c08
lea ecx, [ebp - 4]
call fcn.004010d3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404938
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404938
push esi
push esi
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.00401911
lea ecx, [ebp - 0x28]
call fcn.00401911
lea ecx, [ebp - 4]
jmp 0x40c0b3
push 0x416c04
lea ecx, [ebp - 4]
call fcn.004010d3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404938
mov eax, dword [eax]
push esi
push esi
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.00401911
lea ecx, [ebp - 4]
jmp 0x40c0b3
push 0x416c00
lea ecx, [ebp - 4]
call fcn.004010d3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404938
mov eax, dword [eax]
push esi
push esi
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.00401911
lea ecx, [ebp - 4]
call fcn.00401911
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x40c0c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x40c0d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x40c0df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
call fcn.00401911
lea ecx, [ebp - 8]
call fcn.00401911
lea ecx, [ebp - 0xc]
call fcn.00401911
lea ecx, [ebp - 0x18]
call fcn.00401911
lea ecx, [ebp - 0x1c]
call fcn.00401911
lea ecx, [ebp + 8]
call fcn.00401911
xor eax, eax
jmp 0x40bf80
push 0x416bfc
lea ecx, [ebp - 4]
call fcn.004010d3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404938
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404938
push esi
push esi
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.00401911
lea ecx, [ebp - 0x2c]
call fcn.00401911
lea ecx, [ebp - 4]
call fcn.00401911
jmp 0x40c0d2