Function at 0x407ca2
Capabilities:
Check if file exists
Check os version
Compare security identifiers
Create process on windows
Enumerate processes
Get common file path

Disassembly:
push ebp
sub esp, 0xeb4
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0xeb4], eax
push 0x130
mov eax, 0x451615
call fcn.0042fb3d
cmp dword [0x466818], 8
mov eax, dword [0x466804]
jae 0x407cdc
mov eax, 0x466804
push eax
mov esi, 0x104
lea eax, [ebp + 0xba8]
push esi
push eax
call fcn.0042d016
add esp, 0xc
push str.KuaiZip.exe
lea eax, [ebp + 0xba8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0xba8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407d1c
xor eax, eax
jmp 0x408861
push str.kuaizipUpdateChecker.dll
lea eax, [ebp - 0x68]
push 0x466800
push eax
call fcn.004038b6
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x208
mov word [ebp + 0x794], ax
lea eax, [ebp + 0x796]
push ebx
push eax
call fcn.0042f410
add esp, 0x18
push esi
lea eax, [ebp + 0x794]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp + 0x794]
push eax
lea esi, [ebp + 0x568]
call fcn.0040217f
push str._regsvr32.exe
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.0040174a
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x407d8f
lea eax, [ebp - 0x64]
push 0x45cd2c
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
je 0x407e38
mov edi, 0x45cd30
push edi
lea esi, [ebp - 0xc0]
call fcn.0040217f
mov dword [ebp - 0x20], eax
push edi
lea esi, [ebp - 0x13c]
mov byte [ebp - 4], 2
call fcn.0040217f
lea ecx, [ebp - 0x68]
push ecx
push eax
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 3
call fcn.004050a4
mov byte [ebp - 4], 4
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004050a4
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00402658
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x4c]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x120]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x13c]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.0040273f
push 0x45cd34
lea eax, [ebp + 0x568]
push eax
call fcn.0040174a
push str.__s
lea eax, [ebp + 0x568]
push eax
call fcn.0040174a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
lea ecx, [ebp + 0x568]
call fcn.004022f3
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
sub esp, 0x1c
mov ecx, eax
mov ebx, esp
mov dword [ebp - 0x20], esp
call fcn.00405167
lea ebx, [ebp - 0xc0]
call fcn.004050ef
add esp, 0x1c
push str.SYSTEM
push 6
mov byte [ebp - 4], 6
mov ecx, dword [eax + 0x14]
pop edi
call fcn.0040221f
neg eax
sbb al, al
xor ebx, ebx
push ebx
inc al
push 1
lea esi, [ebp - 0xc0]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 1
call fcn.0040273f
cmp byte [ebp - 0x11], bl
je 0x40869a
sub esp, 0x1c
lea eax, [ebp + 0x568]
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004026e4
lea edi, [ebp - 0xc0]
call fcn.00402911
add esp, 0x1c
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 0x10
jb 0x407efc
mov esi, dword [eax + 4]
mov dword [ebp - 0x30], esi
jmp 0x407f04
add eax, 4
mov dword [ebp - 0x30], eax
mov esi, eax
cmp esi, ebx
je 0x40868a
push 0x103
lea eax, [ebp + 0xdb1]
push ebx
push eax
mov byte [ebp + 0xdb0], bl
call fcn.0042f410
mov eax, esi
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407f2c
sub eax, edi
cmp eax, 2
jbe 0x407f57
cmp byte [esi + 1], 0x3a
jne 0x407f57
push esi
lea eax, [ebp + 0xdb0]
push 0x104
push eax
call fcn.0042db0f
add esp, 0xc
jmp 0x407f85
push 0x104
lea eax, [ebp + 0xdb0]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp + 0xdb0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push esi
lea eax, [ebp + 0xdb0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov edi, 0x110
push edi
lea eax, [ebp + 4]
push ebx
push eax
call fcn.0042f410
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
mov dword [ebp - 0x1c], ebx
call esi
test eax, eax
je 0x407fbf
cmp dword [ebp + 4], 6
jne 0x407fbf
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x4081ee
push edi
lea eax, [ebp + 0x22c]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x228]
push eax
mov dword [ebp + 0x228], 0x114
call esi
test eax, eax
je 0x408008
cmp dword [ebp + 0x22c], 5
jne 0x408008
cmp dword [ebp + 0x230], ebx
je 0x40811c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push ebx
xor edi, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x40805c
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov esi, 0x490
cmp dword [ebp - 0x24], ebx
jbe 0x40804e
lea edx, [ecx + 8]
cmp dword [edx], ebx
je 0x408046
inc eax
add edx, 0xc
cmp eax, dword [ebp - 0x24]
jb 0x408037
jmp 0x40804e
imul eax, eax, 0xc
mov edi, dword [eax + ecx]
xor esi, esi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp esi, ebx
je 0x40805c
mov eax, esi
jmp 0x40808c
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
jne 0x40807f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x40808c
lea ecx, [ebp - 0x28]
push ecx
push edi
call eax
test eax, eax
je 0x408077
xor eax, eax
cmp eax, ebx
je 0x408388
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4080ae
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x408380
push 0x228
lea eax, [ebp + 0x340]
push ebx
push eax
xor edi, edi
mov dword [ebp - 0x10], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x33c]
push eax
push esi
mov dword [ebp + 0x33c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x40819d
lea eax, [ebp + 0x360]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x408192
lea eax, [ebp + 0x33c]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4080eb
jmp 0x4081a6
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4080a3
push 0x228
lea eax, [ebp + 0x340]
push ebx
push eax
xor edi, edi
mov dword [ebp - 0x10], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x33c]
push eax
push esi
mov dword [ebp + 0x33c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x40819d
lea eax, [ebp + 0x360]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x408192
lea eax, [ebp + 0x33c]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x408168
jmp 0x4081a6
mov edi, dword [ebp + 0x344]
mov dword [ebp - 0x10], ebx
jmp 0x4081a6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x10], eax
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push edi
push ebx
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x4080a3
lea eax, [ebp - 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4081e3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x10], eax
push edi
call esi
mov eax, dword [ebp - 0x10]
jmp 0x408380
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push ebx
mov dword [ebp - 0x18], ebx
xor edi, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x408245
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov esi, 0x490
cmp dword [ebp - 0x24], ebx
jbe 0x408237
lea edx, [ecx + 8]
cmp dword [edx], ebx
je 0x40822f
inc eax
add edx, 0xc
cmp eax, dword [ebp - 0x24]
jb 0x408220
jmp 0x408237
imul eax, eax, 0xc
mov edi, dword [eax + ecx]
xor esi, esi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp esi, ebx
je 0x408245
mov eax, esi
jmp 0x408275
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
jne 0x408268
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x408275
lea ecx, [ebp - 0x18]
push ecx
push edi
call eax
test eax, eax
je 0x408260
xor eax, eax
cmp eax, ebx
je 0x408359
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x408297
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x408351
push 0x228
lea eax, [ebp + 0x340]
push ebx
push eax
xor edi, edi
mov dword [ebp - 0x10], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x33c]
push eax
push esi
mov dword [ebp + 0x33c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x408305
lea eax, [ebp + 0x360]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x4082fa
lea eax, [ebp + 0x33c]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4082d0
jmp 0x40830e
mov edi, dword [ebp + 0x344]
mov dword [ebp - 0x10], ebx
jmp 0x40830e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x10], eax
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push edi
push ebx
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x40828c
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40834b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x10], eax
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x40867c
lea eax, [ebp + 0x584]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x13
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x40837b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
xor eax, eax
cmp eax, ebx
jne 0x40867c
push 0x40
lea eax, [ebp - 0x100]
push ebx
push eax
mov dword [ebp - 0x104], 0x44
call fcn.0042f410
xor eax, eax
mov dword [ebp - 0x40], ebx
add esp, 0xc
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
mov esi, dword [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp + 0x584]
push eax
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0x584], bl
mov byte [ebp + 0x585], bl
mov byte [ebp + 0x586], bl
mov byte [ebp + 0x587], bl
mov byte [ebp + 0x588], bl
mov byte [ebp + 0x589], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x408478
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x40841f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x408478
push dword [ebp - 0x10]
push 0x40
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push edi
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40846d
mov dword [ebp - 0x2c], ebx
cmp dword [edi], ebx
jbe 0x40846d
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x408469
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add esi, 8
cmp eax, dword [edi]
jb 0x40844b
jmp 0x40846d
mov byte [ebp - 0x11], 1
cmp edi, ebx
je 0x408478
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [ebp - 0x18], ebx
je 0x408486
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x11], bl
jne 0x408591
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x4084f9
push 0x110
lea eax, [ebp + 0x118]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x114]
push eax
mov dword [ebp + 0x114], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4084f4
cmp dword [ebp + 0x118], 6
jne 0x4084f4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x40852d
mov dword [ebp - 0x1c], ebx
jmp 0x408531
mov edx, dword [ebp - 0x20]
xor eax, eax
mov esi, 0x490
cmp dword [ebp - 0x2c], ebx
jbe 0x408525
lea ecx, [edx + 8]
cmp dword [ecx], ebx
je 0x40851a
inc eax
add ecx, 0xc
cmp eax, dword [ebp - 0x2c]
jb 0x40850b
jmp 0x408525
imul eax, eax, 0xc
mov eax, dword [eax + edx]
mov dword [ebp - 0x1c], eax
xor esi, esi
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
cmp eax, ebx
jne 0x408591
lea eax, [ebp - 0x10]
push eax
push 0xa
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp dword [ebp - 0x10], ebx
je 0x408591
lea eax, [ebp - 0x18]
push eax
push 1
push 1
push ebx
push 0x2000000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
jne 0x408570
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x408591
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 4
lea eax, [ebp - 0x1c]
push eax
push 0xc
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x408591
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
push str.userenv.dll
mov dword [ebp - 0xfc], str.Winsta0Default
mov dword [ebp - 0x20], 0x30
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x4085f5
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call esi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x18]
mov edi, eax
call esi
mov dword [ebp - 0x1c], eax
cmp edi, ebx
je 0x4085f5
push ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
call edi
test eax, eax
je 0x4085f2
mov dword [ebp - 0x20], 0x430
jmp 0x4085f5
mov dword [ebp - 0x24], ebx
mov esi, 0x103
push esi
lea eax, [ebp + 0x239]
push ebx
push eax
mov byte [ebp + 0x238], bl
call fcn.0042f410
push dword [ebp - 0x30]
lea eax, [ebp + 0x238]
push esi
push eax
call fcn.0042db0f
add esp, 0x18
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
push dword [ebp - 0x24]
lea eax, [ebp + 0x238]
push dword [ebp - 0x20]
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp dword [ebp - 0x40], ebx
je 0x408655
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x3c], ebx
je 0x408663
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x1c], ebx
je 0x40866e
push dword [ebp - 0x24]
call dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ebx
je 0x40867c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [ebp - 0x28], ebx
je 0x40868a
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00401ccf
jmp 0x408704
push 0x44
pop esi
push esi
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.0042f410
mov eax, dword [ebp + 0x56c]
add esp, 0xc
cmp dword [ebp + 0x580], 8
mov dword [ebp - 0x104], esi
jae 0x4086c9
lea eax, [ebp + 0x56c]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x408704
push 0xdbba0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp + 0x568]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x68]
call fcn.0040273f
push 0x38
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.0042f410
lea eax, [ebp + 0xba8]
mov dword [ebp - 0x94], eax
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x3c
mov dword [ebp - 0x90], str._AssociateAll
mov dword [ebp - 0x88], edi
mov dword [ebp - 0xa0], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x407d15
push 0xffffffffffffffff
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [0x466818], 8
mov eax, dword [0x466804]
jae 0x408793
mov eax, 0x466804
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push eax
lea eax, [ebp + 0x9a0]
push eax
call esi
push str.KZipShell.dll
lea eax, [ebp + 0x9a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x9a0]
push 0x45cd2c
push eax
call fcn.0042dde3
pop ecx
test eax, eax
lea eax, [ebp + 0x9a0]
pop ecx
push eax
lea eax, [ebp + 0x58c]
je 0x4087e0
push str.__s___s
jmp 0x4087e5
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.regsvr32.exe
lea eax, [ebp + 0xba8]
push eax
call esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0042f410
lea eax, [ebp + 0xba8]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x58c]
mov dword [ebp - 0x90], eax
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0xa0], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x407d15
push 0xffffffffffffffff
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xeb4]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0xeb8
leave
ret