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

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 0x50804e
mov eax, dword [esp + 0x2d0]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508f13
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x508f13
mov edx, dword [esp + 0x2d0]
add edx, 0xfffffff4
push edx
call fcn.00532222
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 0x5478f8
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.00532db8
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x508187
mov ecx, dword [0x547570]
mov edx, str.Write_Error
test edx, edx
mov dword [esp + 0x10], ecx
je 0x508118
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x508118
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x508118
mov eax, dword [esp + 0x10]
inc esi
push esi
push str.Write_Error
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
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 [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508164
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x508164
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x2d0]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508f13
add eax, 0xfffffff4
push eax
call esi
jmp 0x508026
push esi
push 0x16
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00532c4e
push esi
call fcn.00532bd1
mov ecx, dword [esp + 0x2e4]
add esp, 0x14
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebx
jl 0x5081bd
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x5081d1
mov edx, dword [0x547570]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
call fcn.00405920
mov eax, dword [0x554e0c]
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 [0x547570]
mov ecx, 0x105
mov dword [esp + 0x20], eax
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x508221
cmp dword [eax - 4], ecx
jge 0x50826a
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x14], esi
jle 0x50822e
mov ecx, esi
push ecx
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x50826a
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.00405590
mov eax, dword [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x20]
call fcn.004055c0
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 [0x547570]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x5082e9
push ecx
call ebp
mov esi, eax
cmp esi, ebx
je 0x5082e9
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x5082e9
mov edx, dword [esp + 0x10]
inc esi
push esi
push str.S_OK_tmp_
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x50832a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x50832a
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [0x547570]
mov ecx, 0x547f14
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x508340
xor eax, eax
jmp 0x508347
push 0x547f14
call edi
push 0x547f14
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.004059f0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.00405440
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [0x55df98]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405a90
mov edx, dword [0x547570]
mov eax, str._install.exe
test eax, eax
mov dword [esp + 0x10], edx
je 0x5083d2
push eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x5083d2
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x5083d2
mov ecx, dword [esp + 0x10]
inc esi
push esi
push str._install.exe
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00405a90
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508413
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x508413
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [0x547570]
mov ecx, 0x547f14
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x508429
xor eax, eax
jmp 0x508430
push 0x547f14
call edi
push 0x547f14
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.004059f0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.00405440
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [0x55df98]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405a90
mov edx, dword [0x547570]
mov eax, str..exe
test eax, eax
mov dword [esp + 0x10], edx
je 0x5084bb
push eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x5084bb
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x5084bb
mov ecx, dword [esp + 0x10]
inc esi
push esi
push str..exe
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00405a90
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x5084fc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x5084fc
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, 0x548b38
test eax, eax
je 0x508875
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
mov ebp, eax
cmp ebp, ebx
je 0x5086ba
mov ecx, 0x547f14
test ecx, ecx
jne 0x50852b
mov dword [esp + 0x10], ebx
jmp 0x508536
push 0x547f14
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 0x5086ba
push 0x548b38
push esi
call fcn.0053225f
add esp, 8
cmp eax, ebx
je 0x508576
lea esi, [eax + ebp*2]
push 0x548b38
push esi
inc edi
call fcn.0053225f
add esp, 8
cmp eax, ebx
jne 0x508560
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x34]
cmp esi, eax
jb 0x50854e
cmp edi, ebx
jle 0x5086ba
lea ecx, [esp + 0x18]
call fcn.004055c0
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 0x5085c1
cmp dword [esi - 0xc], 1
jle 0x5085ff
lea ecx, [esi - 0xc]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
je 0x5086ba
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.00405590
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
lea eax, [esi + eax*2]
cmp esi, eax
mov dword [esp + 0x34], eax
jae 0x5086b3
push 0x548b38
push esi
call fcn.0053225f
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x508698
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.00532360
mov ecx, esi
mov esi, 0x547f14
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 0x548b38
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.0053225f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x508625
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 0x508611
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword [esi - 8], ecx
push 0x548b38
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp ebp, ebx
je 0x508875
mov edx, 0x547f14
test edx, edx
jne 0x5086de
mov dword [esp + 0x10], ebx
jmp 0x5086ed
push 0x547f14
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 0x508875
push 0x548b38
push esi
call fcn.0053225f
add esp, 8
cmp eax, ebx
je 0x50872d
lea esi, [eax + ebp*2]
push 0x548b38
push esi
inc edi
call fcn.0053225f
add esp, 8
cmp eax, ebx
jne 0x508717
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x28]
cmp esi, eax
jb 0x508705
cmp edi, ebx
jle 0x508875
lea ecx, [esp + 0x1c]
call fcn.004055c0
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 0x508778
cmp dword [esi - 0xc], 1
jle 0x5087ba
lea ecx, [esi - 0xc]
push eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x508875
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.00405590
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 0x508870
push 0x548b38
push esi
call fcn.0053225f
mov edi, eax
add esp, 8
test edi, edi
je 0x508855
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.00532360
mov ecx, esi
mov esi, 0x547f14
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 0x548b38
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.0053225f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x5087e0
mov ebx, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebx
jb 0x5087cc
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 [0x547570]
mov eax, str.Error___
test eax, eax
mov dword [esp + 0x24], edx
je 0x5088ee
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x5088ee
push esi
lea ecx, [esp + 0x28]
call fcn.00405530
test eax, eax
je 0x5088ee
mov ecx, dword [esp + 0x24]
inc esi
push esi
push str.Error___
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x547570]
mov eax, 0x554e48
test eax, eax
mov dword [esp + 0x2c], edx
je 0x50893b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x50893b
push esi
lea ecx, [esp + 0x30]
call fcn.00405530
test eax, eax
je 0x50893b
mov ecx, dword [esp + 0x2c]
inc esi
push esi
push 0x554e48
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0xffffffffffffffff
call fcn.00405bb0
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [esp + 0x38], ebx
jne 0x508a79
mov eax, dword [esp + 0x2c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x50897f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x50897f
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x5089aa
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x5089aa
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x5089d5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x5089d5
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508a00
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x508a00
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508a2b
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x508a2b
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508a56
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x508a56
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x2d0]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508f13
add eax, 0xfffffff4
push eax
call edi
jmp 0x508026
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x508afd
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x508a9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x508ac5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x508ac5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x508ee3
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x508ee3
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x508ee3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.00413470
mov esi, eax
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], esi
call fcn.00413470
cmp esi, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x508cfe
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 0x508ec8
lea ecx, [esp + 0x64]
lea edx, [esp + 0x60]
push ecx
push edx
push eax
call fcn.00508f80
add esp, 0xc
test eax, eax
je 0x508f20
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x64]
mov ecx, dword [eax]
push 0x543354
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 0x543364
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 0x508d59
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 0x508d9e
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], 0x5501a0
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 0x543354
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 0x508de3
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x543364
push eax
call dword [ecx]
test eax, eax
jl 0x508e39
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 0x508e76
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.00514790
lea ecx, [esp + 0x28]
call fcn.00514790
mov eax, dword [ebp + 4]
add ebp, 4
cmp eax, ebx
jne 0x508b3f
lea ecx, [esp + 0x38]
call fcn.00514790
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x2d0]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2bc
ret
push 0x54c8f8
lea ecx, [esp + 0x18]
call fcn.00405730
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00412c10
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.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
jmp 0x508ebf
push 0x54c8fc
lea ecx, [esp + 0x18]
call fcn.00405730
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00412c10
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.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
jmp 0x508ebf
push 0x55019c
lea ecx, [esp + 0x18]
call fcn.00405730
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.00412c10
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00412c10
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.00405700
lea ecx, [esp + 0x3c]
call fcn.00405700
lea ecx, [esp + 0x14]
jmp 0x508eb1
push 0x550198
lea ecx, [esp + 0x18]
call fcn.00405730
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.00412c10
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.00405700
lea ecx, [esp + 0x14]
jmp 0x508eb1
push 0x550194
lea ecx, [esp + 0x18]
call fcn.00405730
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.00412c10
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.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00514790
lea ecx, [esp + 0x28]
call fcn.00514790
lea ecx, [esp + 0x38]
call fcn.00514790
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x2d0]
call fcn.00405700
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2bc
ret
push 0x550188
lea ecx, [esp + 0x18]
call fcn.00405730
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.00412c10
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00412c10
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.00405700
lea ecx, [esp + 0x5c]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
jmp 0x508ec8