Function at 0x45cdf0
Capabilities:
Check if file exists
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506c86
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, str.wndmax
mov dword [esp + 0x1c], 0
call fcn.00401640
call fcn.0048ed90
test eax, eax
je 0x45ce62
cmp dword [esp + 0x10], 0
jne 0x45ceda
mov eax, dword [ebx + 4]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [0x56610c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 8]
sub eax, dword [esp + 0x34]
test ecx, ecx
je 0x45ce98
imul eax, eax, 0x64
cmp ecx, 1
jne 0x45ce94
cdq
idiv dword [esi + 4]
jmp 0x45ce98
xor edx, edx
div dword [esi]
mov edi, eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
test ecx, ecx
je 0x45ceb8
imul eax, eax, 0x64
cmp ecx, 1
jne 0x45ceb4
cdq
idiv dword [esi + 4]
jmp 0x45ceb8
xor edx, edx
div dword [esi]
movzx ecx, di
movzx esi, ax
push ecx
shl esi, 0x10
mov edx, esp
or esi, ecx
mov dword [esp + 0x18], esp
push edx
mov ecx, str.wndsize
call fcn.00401640
call fcn.0048ee80
call fcn.0048e850
mov eax, dword [ebx + 0x51e4]
test eax, eax
je 0x45cf4b
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push eax
call edx
test eax, eax
je 0x45cf4b
lea edi, [ebx + 0xa8]
mov eax, edi
call fcn.00474290
push edi
call fcn.00474300
call fcn.004345d0
mov esi, eax
cmp dword [esi + 0x80], 0
mov dword [esi + 0x34], 1
je 0x45cf2b
mov eax, dword [esi + 0x60]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov dword [edi + 0x2c], ecx
mov eax, dword [ebx + 0x51e4]
cmp eax, ecx
je 0x45cf4b
mov dword [ebx + 0x51e4], ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x530c]
xor edi, edi
cmp eax, edi
je 0x45cfc6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45cfc6
mov edx, dword [ebx + 4]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x48]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x530c]
push 0x4a
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x24
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45cff0
mov eax, dword [ebx + 0x52a4]
cmp eax, edi
je 0x45cff0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45cfea
mov ecx, dword [ebx + 0x52a4]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebx + 0x52a4], edi
call fcn.00492130
cmp dword [eax], edi
je 0x45d1e4
lea edx, [esp + 0x14]
push edx
call fcn.004e5685
add esp, 4
cmp eax, 0xffffffff
jne 0x45d013
cmp edx, eax
je 0x45d01d
mov edi, dword [esp + 0x14]
add edi, 0xda67fa00
call fcn.00492130
mov eax, dword [eax + 0xf8]
test eax, eax
je 0x45d03d
cmp edi, eax
jb 0x45d03d
add eax, 0x15180
cmp edi, eax
jb 0x45d1e4
push 0
push str.360ZipUpdateTrayClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x45d1e4
call fcn.00492130
lea esi, [esp + 0x30]
call fcn.00493ff0
push str.360zipUpdate.exe
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0xac], 0
call fcn.00404510
add esp, 0xc
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d0a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d0e9
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45d1e4
push 0x44
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.004e8fe0
add esp, 0xc
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x10]
mov esi, 1
push eax
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], esi
call fcn.0041de00
add esp, 4
test eax, eax
jne 0x45d191
lea esi, [esp + 0x14]
call fcn.00401140
mov esi, eax
lea ecx, [esp + 0x28]
push 0x17d
push ecx
mov byte [esp + 0xa8], 4
call fcn.00433510
push esi
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0xb4], 5
call fcn.0041d700
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
add esp, 0x14
push ecx
push eax
push 0x40
push 0
call fcn.00488bf0
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.004016f0
lea ecx, [esp + 0x28]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
jmp 0x45d1d0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45d1d0
push edi
call fcn.00492130
mov ecx, eax
call fcn.004057d0
call fcn.00492130
mov dword [eax + 0x104], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004016f0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x5660e4]
add esi, 0x10
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x565340]
lea ecx, [esp + 0x14]
call fcn.0047fa80
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add ebx, 0x60
lea esi, [edi + 4]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0047f890
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004e3edb
mov esp, ebp
pop ebp
ret 4