Function at 0x40dd90
Capabilities:
Copy file
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40ef93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.zipfldr.dll
mov dword [esp + 0x2bc], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x40e627
cmp dword [esp + 0x2c8], ebx
jne 0x40ddf6
mov eax, dword [esp + 0x2c0]
push 0x418988
push eax
push 0xe2
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0040dc70
add esp, 0x10
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
lea ecx, [esp + 0x2c0]
push ecx
lea ecx, [esp + 0x28]
call fcn.004010d0
mov edx, dword [0x427f18]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa8]
mov dword [esp + 0xa4], edx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xa8]
mov byte [esp + 0x2bc], 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x20]
call fcn.004010c0
push 0x105
lea ecx, [esp + 0x24]
mov byte [esp + 0x2bc], 2
call fcn.00401ab0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
or edi, 0xffffffff
lea ecx, [esp + 0x20]
push edi
call fcn.00401b40
lea ecx, [esp + 0x20]
push 0x417c94
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0040e6f0
push 0x424a88
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], 3
call fcn.00401300
push str..exe
lea ecx, [esp + 0x30]
call fcn.00401190
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x2bc], 4
call fcn.00401300
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b8], 3
call fcn.00401b80
push 0x417c94
push 0x418978
lea ecx, [esp + 0x20]
call fcn.00401360
mov ecx, dword [esp + 0x18]
push ebx
lea edx, [esp + 0xa8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.Error___
lea ecx, [esp + 0x18]
call fcn.00401190
push 0x42a01c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2bc], 5
call fcn.00401190
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
mov byte [esp + 0x2b8], 7
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [esp + 0x1c], ebx
jne 0x40dfb6
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b8], 5
call fcn.00401b80
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 3
call fcn.00401b80
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 2
call fcn.00401b80
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b8], 1
call fcn.00401b80
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], bl
call fcn.00401b80
lea ecx, [esp + 0x2c0]
mov dword [esp + 0x2b8], edi
call fcn.00401b80
xor eax, eax
jmp 0x40e27f
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x30], esi
jne 0x40dfea
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 6
cmp eax, ebx
je 0x40df48
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40df48
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call fcn.00401ab0
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ecx
je 0x40e1fd
mov ebp, dword [sym.imp.USER32.dll_CreatePopupMenu]
lea edx, [esp + 0x4c]
mov dword [esp + 0x10], edx
jmp 0x40e02d
mov esi, dword [esp + 0x30]
or edi, 0xffffffff
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
je 0x40dfcb
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.0040dd20
add esp, 0xc
test eax, eax
je 0x40e645
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
mov ecx, dword [eax]
push 0x40f4d8
push ebx
push edx
push eax
call dword [ecx + 0x14]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
push edx
push ebx
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push 0x40f4e8
mov edi, 1
push edx
push edi
push ebx
push eax
mov byte [esp + 0x2d4], 0xa
call dword [ecx + 0x28]
cmp eax, ebx
jl 0x40e298
call ebp
mov ecx, dword [esp + 0x34]
push 4
push 0x7fff
push edi
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0xc]
cmp eax, ebx
jl 0x40e2fa
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x80]
mov dword [esp + 0x80], 0x24
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0x418968
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push edx
push 0x40f4d8
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x14]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x2b8], 0xd
call ebp
mov esi, eax
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x40e37f
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x40f4e8
push eax
call dword [ecx]
cmp eax, ebx
jl 0x40e43d
mov eax, dword [esp + 0x2c]
push 4
push 0x7fff
push edi
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x40e541
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x24
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], str.paste
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x2b8], 0xa
cmp eax, ebx
je 0x40e1cf
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2b8], 7
cmp eax, ebx
je 0x40e1e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [eax]
cmp eax, ebx
jne 0x40e026
or edi, 0xffffffff
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 6
cmp eax, ebx
je 0x40e213
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b8], 5
call fcn.00401b80
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 3
call fcn.00401b80
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 2
call fcn.00401b80
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b8], 1
call fcn.00401b80
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], bl
call fcn.00401b80
lea ecx, [esp + 0x2c0]
mov dword [esp + 0x2b8], edi
call fcn.00401b80
mov eax, 1
mov ecx, dword [esp + 0x2b0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ac
ret
push 0x41895c
lea ecx, [esp + 0x14]
call fcn.00401190
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x2c4], 0xb
call fcn.0040a420
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x30]
call fcn.00401b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0xa
call fcn.00401b80
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2b8], 7
cmp eax, ebx
je 0x40e360
jmp 0x40e35a
push 0x418958
lea ecx, [esp + 0x14]
call fcn.00401190
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x2c4], 0xc
call fcn.0040a420
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x30]
call fcn.00401b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0xa
call fcn.00401b80
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2b8], 7
cmp eax, ebx
je 0x40e360
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 6
cmp eax, ebx
je 0x40e5d3
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40e5d3
push 0x418954
lea ecx, [esp + 0x14]
call fcn.00401190
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
mov byte [esp + 0x2c4], 0xe
call fcn.0040a420
lea ecx, [esp + 0x24]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x2c4], 0xf
call fcn.0040a420
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x30]
call fcn.00401b80
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b8], 0xe
call fcn.00401b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0xd
call fcn.00401b80
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x2b8], 0xa
cmp eax, ebx
je 0x40e40e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2b8], 7
cmp eax, ebx
je 0x40e424
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 6
cmp eax, ebx
je 0x40e5d3
jmp 0x40e5cd
push 0x418950
lea ecx, [esp + 0x14]
call fcn.00401190
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x2c4], 0x10
call fcn.0040a420
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x38]
call fcn.00401b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0xd
call fcn.00401b80
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x2b8], 0xa
cmp eax, ebx
je 0x40e4a3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2b8], 7
cmp eax, ebx
je 0x40e4b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 6
cmp eax, ebx
je 0x40e4cf
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b8], 5
call fcn.00401b80
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 3
call fcn.00401b80
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 2
call fcn.00401b80
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b8], 1
call fcn.00401b80
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], bl
call fcn.00401b80
lea ecx, [esp + 0x2c0]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.00401b80
xor eax, eax
jmp 0x40e27f
push 0x41894c
lea ecx, [esp + 0x14]
call fcn.00401190
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
mov byte [esp + 0x2c4], 0x11
call fcn.0040a420
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x38]
call fcn.00401b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0xd
call fcn.00401b80
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x2b8], 0xa
cmp eax, ebx
je 0x40e5a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2b8], 7
cmp eax, ebx
je 0x40e5bd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 6
cmp eax, ebx
je 0x40e5d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b8], 5
call fcn.00401b80
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 3
call fcn.00401b80
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 2
call fcn.00401b80
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b8], 1
call fcn.00401b80
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], bl
call fcn.00401b80
lea ecx, [esp + 0x2c0]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.00401b80
xor eax, eax
jmp 0x40e27f
push 0x418948
lea ecx, [esp + 0x14]
call fcn.00401190
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x2c4], 8
call fcn.0040a420
lea edx, [esp + 0x28]
mov byte [esp + 0x2b8], 9
push edx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0040a420
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x38]
call fcn.00401b80
lea ecx, [esp + 0x30]
mov byte [esp + 0x2b8], 8
call fcn.00401b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 7
call fcn.00401b80
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 6
cmp eax, ebx
je 0x40df48
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40df48