Function at 0x4a6400
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2bc
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.zipfldr.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x4a646e
mov eax, dword [esp + 0x2d0]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a7333
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a7333
mov edx, dword [esp + 0x2d0]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2bc
ret
mov eax, dword [esp + 0x2d0]
xor ebx, ebx
push 0x4d9640
push eax
mov byte [esp + 0x4c], 0x50
mov byte [esp + 0x4d], 0x4b
mov byte [esp + 0x4e], 5
mov byte [esp + 0x4f], 6
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], bl
call fcn.004c5fc8
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4a65a7
mov ecx, dword [0x4d9540]
mov edx, str.Write_Error
test edx, edx
mov dword [esp + 0x10], ecx
je 0x4a6538
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x4a6538
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4a6538
mov eax, dword [esp + 0x10]
inc esi
push esi
push str.Write_Error
push eax
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2d0]
push ebx
push ecx
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6584
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a6584
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x2d0]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a7333
add eax, 0xfffffff4
push eax
call esi
jmp 0x4a6446
push esi
push 0x16
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.004c5e5e
push esi
call fcn.004c5de1
mov ecx, dword [esp + 0x2e4]
add esp, 0x14
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebx
jl 0x4a65dd
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4a65f1
mov edx, dword [0x4d9540]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
call fcn.004016e0
mov eax, dword [0x4e3a2c]
mov ecx, 0x81
mov dword [esp + 0xc0], eax
xor eax, eax
lea edi, [esp + 0xc4]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc4]
push ecx
push ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4d9540]
mov ecx, 0x105
mov dword [esp + 0x20], eax
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x4a6641
cmp dword [eax - 4], ecx
jge 0x4a668a
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x14], esi
jle 0x4a664e
mov ecx, esi
push ecx
lea ecx, [esp + 0x24]
call fcn.004012f0
test eax, eax
je 0x4a668a
mov edi, dword [esp + 0x20]
lea ecx, [esi + esi + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [eax - 8], ecx
call fcn.00401350
mov eax, dword [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x20]
call fcn.00401380
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call edi
mov ecx, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x20]
mov ecx, str.S_OK_tmp_
mov word [edx + eax*2], bx
mov eax, dword [0x4d9540]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4a6709
push ecx
call ebp
mov esi, eax
cmp esi, ebx
je 0x4a6709
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4a6709
mov edx, dword [esp + 0x10]
inc esi
push esi
push str.S_OK_tmp_
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00401850
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a674a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a674a
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [0x4d9540]
mov ecx, 0x4d9c5c
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4a6760
xor eax, eax
jmp 0x4a6767
push 0x4d9c5c
call edi
push 0x4d9c5c
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.004017b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.00401200
lea ecx, [esp + 0x10]
call fcn.004014c0
mov eax, dword [0x4ecbf4]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401850
mov edx, dword [0x4d9540]
mov eax, str._install.exe
test eax, eax
mov dword [esp + 0x10], edx
je 0x4a67f2
push eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x4a67f2
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4a67f2
mov ecx, dword [esp + 0x10]
inc esi
push esi
push str._install.exe
push ecx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00401850
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6833
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a6833
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [0x4d9540]
mov ecx, 0x4d9c5c
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4a6849
xor eax, eax
jmp 0x4a6850
push 0x4d9c5c
call edi
push 0x4d9c5c
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.004017b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.00401200
lea ecx, [esp + 0x10]
call fcn.004014c0
mov eax, dword [0x4ecbf4]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401850
mov edx, dword [0x4d9540]
mov eax, str..exe
test eax, eax
mov dword [esp + 0x10], edx
je 0x4a68db
push eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x4a68db
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4a68db
mov ecx, dword [esp + 0x10]
inc esi
push esi
push str..exe
push ecx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00401850
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a691c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a691c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, 0x4da880
test eax, eax
je 0x4a6c95
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
mov ebp, eax
cmp ebp, ebx
je 0x4a6ada
mov ecx, 0x4d9c5c
test ecx, ecx
jne 0x4a694b
mov dword [esp + 0x10], ebx
jmp 0x4a6956
push 0x4d9c5c
call esi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x18]
xor edi, edi
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x34], eax
jae 0x4a6ada
push 0x4da880
push esi
call fcn.004c546f
add esp, 8
cmp eax, ebx
je 0x4a6996
lea esi, [eax + ebp*2]
push 0x4da880
push esi
inc edi
call fcn.004c546f
add esp, 8
cmp eax, ebx
jne 0x4a6980
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x34]
cmp esi, eax
jb 0x4a696e
cmp edi, ebx
jle 0x4a6ada
lea ecx, [esp + 0x18]
call fcn.00401380
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
sub eax, ebp
imul eax, edi
mov ecx, dword [esi - 8]
mov dword [esp + 0x28], ecx
add eax, ecx
mov ecx, dword [esi - 4]
mov dword [esp + 0x40], eax
cmp ecx, eax
jl 0x4a69e1
cmp dword [esi - 0xc], 1
jle 0x4a6a1f
lea ecx, [esi - 0xc]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
call fcn.004012f0
test eax, eax
je 0x4a6ada
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push eax
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00401350
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
lea eax, [esi + eax*2]
cmp esi, eax
mov dword [esp + 0x34], eax
jae 0x4a6ad3
push 0x4da880
push esi
call fcn.004c546f
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4a6ab8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x28]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebp
lea ecx, [edi + ebp*2]
lea ebx, [eax + eax]
lea eax, [esi + edi]
push ebx
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.004c5570
mov ecx, esi
mov esi, 0x4d9c5c
mov edx, ecx
mov eax, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebp
and ecx, 3
push 0x4da880
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
push esi
mov word [ebx + esi], 0
mov ebx, dword [esp + 0x3c]
add ebx, eax
mov dword [esp + 0x3c], ebx
call fcn.004c546f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4a6a45
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x34]
cmp esi, eax
jb 0x4a6a31
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword [esi - 8], ecx
push 0x4da880
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp ebp, ebx
je 0x4a6c95
mov edx, 0x4d9c5c
test edx, edx
jne 0x4a6afe
mov dword [esp + 0x10], ebx
jmp 0x4a6b0d
push 0x4d9c5c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov eax, dword [esi - 8]
lea eax, [esi + eax*2]
cmp esi, eax
mov dword [esp + 0x28], eax
jae 0x4a6c95
push 0x4da880
push esi
call fcn.004c546f
add esp, 8
cmp eax, ebx
je 0x4a6b4d
lea esi, [eax + ebp*2]
push 0x4da880
push esi
inc edi
call fcn.004c546f
add esp, 8
cmp eax, ebx
jne 0x4a6b37
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x28]
cmp esi, eax
jb 0x4a6b25
cmp edi, ebx
jle 0x4a6c95
lea ecx, [esp + 0x1c]
call fcn.00401380
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
sub eax, ebp
imul eax, edi
mov ecx, dword [esi - 8]
mov dword [esp + 0x34], ecx
add eax, ecx
mov ecx, dword [esi - 4]
mov dword [esp + 0x14], eax
cmp ecx, eax
jl 0x4a6b98
cmp dword [esi - 0xc], 1
jle 0x4a6bda
lea ecx, [esi - 0xc]
push eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x20]
call fcn.004012f0
test eax, eax
je 0x4a6c95
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
push eax
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00401350
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi - 8]
lea ebx, [esi + ecx*2]
cmp esi, ebx
mov dword [esp + 0x28], ebx
jae 0x4a6c90
push 0x4da880
push esi
call fcn.004c546f
mov edi, eax
add esp, 8
test edi, edi
je 0x4a6c75
mov eax, dword [esp + 0x1c]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x34]
sar edx, 1
sub eax, edx
lea ecx, [edi + ebp*2]
sub eax, ebp
lea ebx, [eax + eax]
mov eax, dword [esp + 0x10]
push ebx
push ecx
lea esi, [eax + eax]
lea eax, [esi + edi]
push eax
mov dword [esp + 0x4c], eax
call fcn.004c5570
mov ecx, esi
mov esi, 0x4d9c5c
mov edx, ecx
mov eax, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebp
and ecx, 3
push 0x4da880
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x50]
push esi
mov word [ebx + esi], 0
mov ebx, dword [esp + 0x48]
add ebx, eax
mov dword [esp + 0x48], ebx
call fcn.004c546f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4a6c00
mov ebx, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebx
jb 0x4a6bec
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esi - 8], eax
xor ebx, ebx
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
lea edx, [esp + 0xc4]
push ecx
push edx
call esi
mov eax, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0xc4]
push eax
push ecx
call esi
mov edx, dword [0x4d9540]
mov eax, str.Error___
test eax, eax
mov dword [esp + 0x24], edx
je 0x4a6d0e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x4a6d0e
push esi
lea ecx, [esp + 0x28]
call fcn.004012f0
test eax, eax
je 0x4a6d0e
mov ecx, dword [esp + 0x24]
inc esi
push esi
push str.Error___
push ecx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
call fcn.00401970
mov edx, dword [0x4d9540]
mov eax, 0x4e3a5c
test eax, eax
mov dword [esp + 0x2c], edx
je 0x4a6d5b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x4a6d5b
push esi
lea ecx, [esp + 0x30]
call fcn.004012f0
test eax, eax
je 0x4a6d5b
mov ecx, dword [esp + 0x2c]
inc esi
push esi
push 0x4e3a5c
push ecx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0xffffffffffffffff
call fcn.00401970
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [esp + 0x38], ebx
jne 0x4a6e99
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6d9f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a6d9f
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6dca
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a6dca
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6df5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a6df5
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6e20
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a6e20
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6e4b
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a6e4b
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6e76
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a6e76
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x2d0]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a7333
add eax, 0xfffffff4
push eax
call edi
jmp 0x4a6446
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x4a6f1d
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4a6eba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a6ee5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a6ee5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a7303
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4a7303
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x4a7303
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0040f900
mov esi, eax
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], esi
call fcn.0040f900
cmp esi, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x4a711e
mov edi, dword [sym.imp.USER32.dll_CreatePopupMenu]
mov eax, esi
lea ebp, [esp + 0x68]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
je 0x4a72e8
lea ecx, [esp + 0x64]
lea edx, [esp + 0x60]
push ecx
push edx
push eax
call fcn.004a73a0
add esp, 0xc
test eax, eax
je 0x4a7340
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x64]
mov ecx, dword [eax]
push 0x4d4eb8
push ebx
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push ebx
lea edx, [esp + 0x6c]
push 0x4d4ec8
push edx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x4a7179
call edi
mov ecx, dword [esp + 0x28]
push 4
push 0x7fff
push 1
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
jl 0x4a71be
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x78]
mov dword [esp + 0x78], 0x24
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x4df4d8
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x4d4eb8
push ebx
push edx
push eax
call dword [ecx + 0x14]
mov dword [esp + 0x10], ebx
call edi
mov esi, eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4a7203
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x4d4ec8
push eax
call dword [ecx]
test eax, eax
jl 0x4a7259
mov eax, dword [esp + 0x10]
push 4
push 0x7fff
push 1
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4a7296
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0x24
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], str.paste
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x10]
lea ecx, [esp + 0x10]
call fcn.004a7410
lea ecx, [esp + 0x28]
call fcn.004a7410
mov eax, dword [ebp + 4]
add ebp, 4
cmp eax, ebx
jne 0x4a6f5f
lea ecx, [esp + 0x38]
call fcn.004a7410
lea ecx, [esp + 0x2c]
call fcn.004014c0
lea ecx, [esp + 0x24]
call fcn.004014c0
lea ecx, [esp + 0x1c]
call fcn.004014c0
lea ecx, [esp + 0x18]
call fcn.004014c0
lea ecx, [esp + 0x20]
call fcn.004014c0
lea ecx, [esp + 0x30]
call fcn.004014c0
lea ecx, [esp + 0x2d0]
call fcn.004014c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2bc
ret
push 0x4dcf70
lea ecx, [esp + 0x18]
call fcn.004014f0
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.0040f0a0
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x34]
call fcn.004014c0
lea ecx, [esp + 0x14]
call fcn.004014c0
jmp 0x4a72df
push 0x4dcf74
lea ecx, [esp + 0x18]
call fcn.004014f0
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.0040f0a0
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x34]
call fcn.004014c0
lea ecx, [esp + 0x14]
call fcn.004014c0
jmp 0x4a72df
push 0x4df4d4
lea ecx, [esp + 0x18]
call fcn.004014f0
lea edx, [esp + 0x30]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0040f0a0
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0040f0a0
mov ecx, dword [eax]
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x5c]
call fcn.004014c0
lea ecx, [esp + 0x3c]
call fcn.004014c0
lea ecx, [esp + 0x14]
jmp 0x4a72d1
push 0x4df4d0
lea ecx, [esp + 0x18]
call fcn.004014f0
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0040f0a0
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x3c]
call fcn.004014c0
lea ecx, [esp + 0x14]
jmp 0x4a72d1
push 0x4df4cc
lea ecx, [esp + 0x18]
call fcn.004014f0
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0040f0a0
mov eax, dword [eax]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x3c]
call fcn.004014c0
lea ecx, [esp + 0x14]
call fcn.004014c0
lea ecx, [esp + 0x10]
call fcn.004a7410
lea ecx, [esp + 0x28]
call fcn.004a7410
lea ecx, [esp + 0x38]
call fcn.004a7410
lea ecx, [esp + 0x2c]
call fcn.004014c0
lea ecx, [esp + 0x24]
call fcn.004014c0
lea ecx, [esp + 0x1c]
call fcn.004014c0
lea ecx, [esp + 0x18]
call fcn.004014c0
lea ecx, [esp + 0x20]
call fcn.004014c0
lea ecx, [esp + 0x30]
call fcn.004014c0
lea ecx, [esp + 0x2d0]
call fcn.004014c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2bc
ret
push 0x4df4c0
lea ecx, [esp + 0x18]
call fcn.004014f0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.0040f0a0
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040f0a0
mov ecx, dword [eax]
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x3c]
call fcn.004014c0
lea ecx, [esp + 0x5c]
call fcn.004014c0
lea ecx, [esp + 0x14]
call fcn.004014c0
jmp 0x4a72e8