Function at 0x45bef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
push 0x50102d
mov dword [ebp - 0x6c], edi
call fcn.00404000
lea ecx, [ebp - 0x68]
call fcn.00417f20
push str.360hb_inst.exe
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x20]
call fcn.004048c0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20]
add esp, 4
cmp dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x45c137
lea ecx, [ebp - 0x38]
call fcn.00411830
cmp dword [ebp - 0x28], 0
jne 0x45c027
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x45bf9a
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45bf90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2cc
push edx
push ecx
call fcn.004bdd39
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0xc]
cmp edx, 8
jb 0x45bfd6
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45bfcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2cc
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
cmp edx, 8
jb 0x45c2b7
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c2ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2cc
jmp 0x45c2ad
push 0x5010bc
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.004048c0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x20]
cmp eax, esi
je 0x45c06e
mov ecx, eax
call fcn.00402e70
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x20], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x45c0a8
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c09e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2d1
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 0xe
jb 0x45c0e5
cmp edx, 8
lea esi, [ebp - 0x20]
push 0x1c
cmovae esi, dword [ebp - 0x20]
lea edi, [ecx + 0xe]
push str.360hb_inst.exe
mov dword [ebp - 0x10], edi
lea eax, [esi + ecx*2]
push eax
call fcn.004c0040
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x6c]
jmp 0x45c0fd
push 0xe
push str.360hb_inst.exe
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0x20]
push dword [ebp - 0x6c]
push 0xe
call fcn.00404fc0
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x45c137
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c12d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2cc
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 ebx
test eax, eax
je 0x45bf9a
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
cmp eax, 8
cmovae ecx, edx
cmp dword [0x558a30], 0
jne 0x45c178
call fcn.00440840
test eax, eax
je 0x45bf9a
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x40], 0
cmp eax, 8
mov word [ebp - 0x50], cx
lea esi, [ebp - 0x20]
mov dword [ebp - 0x28], ecx
cmovae esi, edx
mov dword [ebp - 0x3c], 7
mov ecx, esi
mov dword [ebp - 0x24], 7
xor eax, eax
mov word [ebp - 0x38], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c1b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00403e30
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x38]
call fcn.00410700
mov edx, dword [ebp - 0x24]
test eax, eax
sete bl
cmp edx, 8
jb 0x45c213
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c209
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2d6
push edx
push ecx
call fcn.004bdd39
add esp, 8
test bl, bl
je 0x45c21b
xor bl, bl
jmp 0x45c26e
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00402f60
lea ecx, [ebp - 0x38]
call fcn.004022e0
add esp, 0x18
mov ecx, edi
push eax
call fcn.004031f0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x45c26c
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45c262
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2db
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov bl, 1
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x45bf9c
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c29e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c2cc
push edx
push ecx
call fcn.004bdd39
add esp, 8
jmp 0x45bf9c
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 8]
mov al, bl
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
int3