Function at 0x45ae80
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x62db0
call fcn.004beaf0
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
sub esp, 0x18
mov dword [ebp - 0x62db0], esi
mov ecx, esp
push esi
call fcn.004032f0
lea ecx, [ebp - 0x62d7c]
call fcn.00402070
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x45aec6
mov eax, dword [eax]
push eax
push 0xbe
push str.UpgradeMgr::InitHttpDownload
push str.__s__d___InitHttpDownload_download_url_:__s
call fcn.0041f720
mov edx, dword [ebp - 0x62d68]
add esp, 0x10
cmp edx, 8
jb 0x45af1e
mov ecx, dword [ebp - 0x62d7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45af14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [esi + 0x10], 0
je 0x45b666
cmp dword [ebx + 0x74], 8
lea esi, [ebx + 0x60]
mov eax, esi
jb 0x45af35
mov eax, dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x45af8c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45af4c
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45af8c
cmp dword [esi + 0x14], 8
jb 0x45af61
mov esi, dword [esi]
push esi
push 0xc5
push str.UpgradeMgr::InitHttpDownload
push str.__s__d___CreateDirectory_exits:_s
call fcn.0041f720
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
sub esp, 0x18
lea eax, [ebx + 0x18]
mov ecx, esp
push eax
call fcn.004032f0
lea ecx, [ebp - 0x38]
call fcn.00402070
add esp, 0x18
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x45afaf
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push 0
mov ecx, eax
call fcn.004057c0
mov dword [ebp - 0x62d6c], 0
lea edx, [ebp - 0x62d7c]
mov dword [ebp - 0x62d68], 0
xor ecx, ecx
push 0x5010bc
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x62d7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x62d6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x20]
call fcn.00404850
mov edx, dword [ebp - 0x62d68]
add esp, 4
cmp edx, 8
jb 0x45b050
mov ecx, dword [ebp - 0x62d7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b67e
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x62d6c], 0
mov dword [ebp - 0x62d68], 7
mov word [ebp - 0x62d7c], ax
cmp edx, 8
jb 0x45b0a7
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b09d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b67e
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x45b10b
sub esp, 0x18
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
add esp, 0x18
lea eax, [ebp - 0x20]
cmp dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x45b10b
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
push 0xd0
push str.UpgradeMgr::InitHttpDownload
push str.__s__d___Install_version_dir_is_exits:_s
call fcn.0041f720
add esp, 0x10
jmp 0x45b630
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push 0
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45b13f
push 0xd7
push str.UpgradeMgr::InitHttpDownload
push str.__s__d___CreateDirectory_err
call fcn.0041f720
add esp, 0xc
jmp 0x45b630
push str.360hb_inst.cab
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x62d7c]
call fcn.004048c0
mov edi, eax
lea esi, [ebx + 0x48]
add esp, 4
cmp esi, edi
je 0x45b188
mov ecx, esi
call fcn.00402e70
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x62d68]
cmp edx, 8
jb 0x45b1c8
mov ecx, dword [ebp - 0x62d7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b1be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b683
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0x62cf8
lea eax, [ebp - 0x62d64]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea ecx, [ebp - 0x62d64]
call fcn.0042fec0
lea ecx, [ebp - 0x62d64]
call fcn.004306e0
sub esp, 0x18
mov dword [ebp - 0x608fc], 1
mov ecx, esp
push dword [ebp - 0x62db0]
call fcn.004032f0
lea ecx, [ebp - 0x62d7c]
call fcn.00402070
mov edi, eax
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x45b226
mov edi, dword [edi]
push 0x1048
lea eax, [ebp - 0x5834]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x5834]
push edi
push 0x505268
push 0x823
push eax
call fcn.00434370
mov edx, dword [ebp - 0x62d68]
add esp, 0x10
cmp edx, 8
jb 0x45b296
mov ecx, dword [ebp - 0x62d7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b28c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b688
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [esi + 0x14], 8
mov edi, esi
mov dword [ebp - 0x606bc], 0x1d4c0
jb 0x45b2aa
mov edi, dword [esi]
push 0x208
lea eax, [ebp - 0x5c44]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x5c44]
push edi
push 0x505268
push 0x103
push eax
call fcn.00419550
add esp, 0x10
lea ecx, [ebp - 0x62d64]
call fcn.004305f0
lea ecx, [ebp - 0x62d64]
call fcn.004309d0
mov eax, dword [ebp - 0x60900]
test eax, eax
je 0x45b301
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x45b30b
mov edx, dword [esi]
lea ecx, [ebp - 0x50]
call fcn.0043a880
mov edx, ebx
lea ecx, [ebp - 0x50]
call fcn.0045fc00
test al, al
je 0x45b422
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.004032f0
lea ecx, [ebp - 0x38]
call fcn.00402070
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x45b348
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.004032f0
lea ecx, [ebp - 0x62d7c]
call fcn.00402070
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x45b369
mov eax, dword [eax]
push esi
push eax
push 0xeb
push str.UpgradeMgr::InitHttpDownload
push str.__s__d___md5_not_matching__m_strMd5:__s__GetFileMd5:__s
call fcn.0041f720
mov edx, dword [ebp - 0x62d68]
add esp, 0x14
cmp edx, 8
jb 0x45b3c2
mov ecx, dword [ebp - 0x62d7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b3b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b68d
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x62d6c], 0
mov dword [ebp - 0x62d68], 7
mov word [ebp - 0x62d7c], ax
cmp edx, 8
jb 0x45b5df
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b413
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b68d
push edx
push ecx
call fcn.004bdd39
add esp, 8
jmp 0x45b5df
push str.360hb_inst.zip
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x68]
call fcn.004048c0
add esp, 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x45b43f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b57a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45b458
mov eax, dword [esi]
mov dword [ebp - 0x62d70], eax
lea eax, [ebp - 0x62d74]
mov dword [ebp - 0x62d94], eax
lea eax, [ebp - 0x62dac]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x62d74], 0x10
push eax
push 0
mov dword [ebp - 0x62d6c], 0
mov dword [ebp - 0x62d68], 0
mov dword [ebp - 0x30], 0xaac56b
mov dword [ebp - 0x2c], 0x11d0cd44
mov dword [ebp - 0x28], 0xc000c28c
mov dword [ebp - 0x24], 0xee95c24f
mov dword [ebp - 0x62dac], 0x30
mov dword [ebp - 0x62da8], 0
mov dword [ebp - 0x62da4], 0
mov dword [ebp - 0x62da0], 2
mov dword [ebp - 0x62d9c], 0
mov dword [ebp - 0x62d98], 1
mov dword [ebp - 0x62d90], 0
mov dword [ebp - 0x62d8c], 0
mov dword [ebp - 0x62d88], 0
mov dword [ebp - 0x62d84], 0x100
mov dword [ebp - 0x62d80], 0
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test eax, eax
jne 0x45b569
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
cmp dword [esi + 0x14], 8
jb 0x45b53c
mov esi, dword [esi]
test esi, esi
je 0x45b569
test eax, eax
je 0x45b569
push eax
push 0x412da0
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
setne al
test al, al
je 0x45b569
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.0045b6a0
jmp 0x45b591
push 0xf5
push str.UpgradeMgr::InitHttpDownload
push str.__s__d___VerifyCabFile_error_
jmp 0x45b589
push 0xf8
push str.UpgradeMgr::InitHttpDownload
push str.__s__d___Path_not_exits_
call fcn.0041f720
add esp, 0xc
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x45b5cb
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b5c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b692
push edx
push ecx
call fcn.004bdd39
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x45b613
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45b609
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b692
push edx
push ecx
call fcn.004bdd39
add esp, 8
lea ecx, [ebp - 0x62d64]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.00430260
mov edx, dword [ebp - 0xc]
cmp edx, 8
jb 0x45b666
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b65c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b692
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3