Function at 0x445870
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3a39
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x188
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x150], edi
mov esi, dword [ebx + 8]
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x4458c6
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4458d8
xor al, al
jmp 0x446111
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00459f90
test al, al
jne 0x445911
mov byte [ebp - 0x141], al
jmp 0x4460db
push 0x38
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.0049cdf0
lea ecx, [ebp - 0x140]
call fcn.0042fc50
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
lea ecx, [ebp - 0x140]
cmova eax, dword [ebp - 0x70]
push eax
call fcn.00434980
cmp dword [eax + 0x30], 0
je 0x445959
mov byte [ebp - 0x141], 0
jmp 0x4460d0
push str.filter
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0xb8]
call fcn.00456150
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa8], 0
jne 0x44598b
mov byte [ebp - 0x141], 0
jmp 0x446096
cmp dword [ebp - 0xa4], 0xf
lea edx, [ebp - 0xb8]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
cmova edx, dword [ebp - 0xb8]
lea esi, [edi + 0xf0]
mov ecx, edx
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4459c2
sub ecx, dword [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00408f20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00441a80
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x445a24
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445a1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446140
push ecx
push edx
call fcn.00472bfe
add esp, 8
cmp dword [ebp - 0x78], 0
jne 0x445a36
mov byte [ebp - 0x141], 0
jmp 0x44604a
lea eax, [ebp - 0x88]
mov dword [ebp - 0x44], 0
push eax
push dword [ebx + 0x10]
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push dword [ebx + 0xc]
movq qword [ebp - 0x4c], xmm0
push eax
call fcn.00446150
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x48]
je 0x44603b
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.004467d0
test al, al
je 0x44603b
push str.extra
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004305a0
mov ecx, dword [ebp - 0x140]
shl ecx, 5
add ecx, dword [ebp - 0x138]
cmp dword [eax], ecx
je 0x446032
push str.extra
lea ecx, [ebp - 0x140]
call fcn.00433b60
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x446032
push str.extra
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0xd0]
call fcn.00456150
add esp, 4
mov byte [ebp - 4], 7
lea edx, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x168], xmm0
cmova edx, dword [ebp - 0xd0]
mov ecx, edx
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445b20
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x168]
call fcn.00408f20
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00441a80
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x445b8a
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445b80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44613b
push ecx
push edx
call fcn.00472bfe
add esp, 8
push 0x38
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0049cdf0
lea ecx, [ebp - 0x108]
call fcn.0042fc50
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x108]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00434980
cmp dword [eax + 0x30], 0
jne 0x445fa7
cmp word [ebp - 0xfa], 3
jne 0x445fa7
push str.publisher
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x108]
call fcn.004305a0
mov ecx, dword [ebp - 0x108]
shl ecx, 5
add ecx, dword [ebp - 0x100]
cmp dword [eax], ecx
je 0x445fa7
push str.publisher
lea ecx, [ebp - 0x108]
call fcn.00433b60
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x445fa7
push str.publisher
lea ecx, [ebp - 0x108]
call fcn.00433b60
mov edx, eax
mov eax, 0x1000
test word [edx + 0xe], ax
jne 0x445c43
mov edx, dword [edx + 8]
mov ecx, edx
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445c66
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00408f20
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x198]
xorps xmm0, xmm0
mov dword [ebp - 0x188], 0
push 1
push 0x4f2df8
movlpd qword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x198], xmm0
mov dword [ebp - 0x184], 0
call fcn.00408f20
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0xd
push 1
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x58]
call fcn.004591a0
add esp, 8
mov ecx, eax
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], esi
call fcn.0041b5b0
mov byte [ebp - 4], 0xf
push 0x28
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00472c0c
mov edi, eax
add esp, 4
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [edi + 8], edi
mov word [edi + 0xc], 0x101
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x160]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x445daa
mov edx, esi
lea ecx, [ebp - 0x180]
call fcn.00458800
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0x11
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0042d220
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x10
call fcn.004013d0
add esi, 0x18
cmp esi, dword [ebp - 0x1c]
jne 0x445d72
lea ecx, [ebp - 0x160]
call fcn.0041b5b0
lea ecx, [ebp - 0x58]
call fcn.0041b5b0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x445dfb
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445df1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446131
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov eax, dword [ebp - 0x150]
xorps xmm0, xmm0
add eax, 0x52c
movlpd qword [ebp - 0x54], xmm0
push eax
mov dword [ebp - 0x54], eax
call fcn.00474979
add esp, 4
mov byte [ebp - 0x50], 1
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x28]
push 0x28
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
call fcn.00472c0c
mov esi, eax
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [esi + 8], esi
mov word [esi + 0xc], 0x101
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x445ec9
nop dword [eax]
lea edx, [eax + 0x10]
lea ecx, [ebp - 0x198]
call fcn.00458f70
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x18
push eax
push esi
lea ecx, [ebp - 0x14c]
call fcn.0042d220
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x17
call fcn.004013d0
lea ecx, [ebp - 0x20]
call fcn.004186f0
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x445e80
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
add edi, 0x530
cmp edi, eax
je 0x445f1d
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.00418e30
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov eax, dword [ebp - 0x14c]
mov dword [edi + 4], 0
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], esi
mov dword [edi + 4], eax
mov dword [ebp - 0x148], ecx
push dword [esi + 4]
lea eax, [ebp - 0x14c]
push eax
mov ecx, eax
call fcn.00418e30
push 0x28
push dword [ebp - 0x14c]
call fcn.00472bfe
mov eax, dword [ebp - 0x150]
add eax, 0x52c
push eax
call fcn.00474995
mov eax, dword [ebp - 0x28]
add esp, 0xc
push dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, eax
call fcn.00418e30
push 0x28
push dword [ebp - 0x28]
call fcn.00472bfe
mov ecx, dword [ebp - 0x8c]
add esp, 8
cmp ecx, 0xf
jbe 0x445fa7
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445f9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446136
push ecx
push edx
call fcn.00472bfe
add esp, 8
lea ecx, [ebp - 0x108]
call fcn.0042fbe0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x445fe6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445fdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44613b
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x446032
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x446028
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44613b
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov byte [ebp - 0x141], 1
jmp 0x446042
mov byte [ebp - 0x141], 0
lea ecx, [ebp - 0x4c]
call fcn.0041b5b0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x446081
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x446077
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446140
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x4460d0
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4460c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446140
push ecx
push edx
call fcn.00472bfe
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.0042fbe0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x44610b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x446101
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446140
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov al, byte [ebp - 0x141]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047299a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004a074e
call fcn.004a074e
call fcn.004a074e
call fcn.004a074e
int3