Function at 0x10065300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push ebx
push esi
push edi
push 0xc
push 0x100348c4
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
call fcn.1003ae40
mov eax, dword [ebp + 8]
mov ecx, eax
push 0x28
push 0x100348d4
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.1003ae40
push 0xb
push 0x10034900
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xf
call fcn.1003ae40
push 0x1a
push 0x1003490c
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xf
call fcn.1003ae40
push 0x18
push 0x10034928
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0xf
call fcn.1003ae40
push 0x10
push 0x10034944
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xf
call fcn.1003ae40
push 0xf
push 0x10034958
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0xf
call fcn.1003ae40
push 0x1d
push 0x10034968
lea ecx, [esp + 0x100]
mov dword [esp + 0x100], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0xf
call fcn.1003ae40
push 0x19
push 0x10034988
lea ecx, [esp + 0x118]
mov dword [esp + 0x118], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0xf
call fcn.1003ae40
push 0x1d
push 0x100349a4
lea ecx, [esp + 0x130]
mov dword [esp + 0x130], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0xf
call fcn.1003ae40
push 0xe
push 0x100349c4
lea ecx, [esp + 0x148]
mov dword [esp + 0x148], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0xf
call fcn.1003ae40
push 0x20
push 0x100349d4
lea ecx, [esp + 0x160]
mov dword [esp + 0x160], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0xf
call fcn.1003ae40
push 0x1a
push 0x100349f8
lea ecx, [esp + 0x178]
mov dword [esp + 0x178], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0xf
call fcn.1003ae40
push 0x23
push 0x10034a14
lea ecx, [esp + 0x190]
mov dword [esp + 0x190], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0xf
call fcn.1003ae40
push 0x12
push 0x10034a38
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0xf
call fcn.1003ae40
lea ecx, [esp + 0x80]
push ecx
lea eax, [esp + 0x1bc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.100785e0
push 0x1003adf0
push 0xd
push 0x18
lea eax, [esp + 0x8c]
push eax
call fcn.10079b58
push 5
push 0x10034a50
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.1003ae40
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov ebx, dword [esp + 0x10]
cmovae edi, ebx
lea ecx, [edi + 1]
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x10065670
mov eax, dword [ebp + 0x4c]
sub edi, ecx
push eax
push dword [ebp + 0x18]
lea ecx, [esp + 0x58]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x14]
push dword [ebp + 0x54]
push 0x1009d170
push eax
mov eax, dword [ebp + 0x10]
push 0x1009d1f4
push 0x1009d224
push dword [ebp + 0x40]
push dword [ebp + 0x24]
push eax
push ecx
push dword [0x1000279c]
push 0x1009d1d0
push dword [0x100027ac]
push dword [0x100027c4]
push eax
push eax
push 0x1009d224
call sym.desktop.d_semiglorious
add esp, 0x54
mov esi, eax
push 0x10034a4c
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add eax, edi
xor esi, eax
mov eax, dword [esp + 0x24]
mov dword [0x10002788], esi
cmp eax, 0x10
jb 0x1006571c
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10065712
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bdf
push ecx
push ebx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d144], 0x45
jae 0x1006583c
push 0x1009d1d0
push 0x1009d224
push 0x1009d0d0
mov edx, 0x1009d11c
lea ecx, [esp + 0x74]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x40]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.10078930
add esp, 4
mov ecx, 0x1009d134
push eax
call fcn.1003b590
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x100657a6
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006579c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bd0
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x100657f1
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100657e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bd0
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
cmp edx, 0x10
jb 0x1006583c
mov ecx, dword [esp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bd0
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d21c], 0x87
jae 0x1006595f
push 0x1009d170
push 0x1009d1f4
push 0x1009d0d0
mov edx, 0x1009d134
lea ecx, [esp + 0x74]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x3c]
mov edx, eax
call fcn.10078930
add esp, 4
mov ecx, 0x1009d20c
push eax
call fcn.1003b590
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
jb 0x100658c9
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100658bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bd5
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
cmp edx, 0x10
jb 0x10065914
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006590a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bd5
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006595f
mov ecx, dword [esp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065955
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bd5
push edx
push ecx
call fcn.10079b22
add esp, 8
push dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push dword [0x1009d1ec]
push dword [0x1009d1e8]
call fcn.10078c90
mov ecx, 0x1009d1e8
cmp ecx, 0x1009d070
je 0x1006599a
push dword [esp + 0x34]
push dword [0x1009d074]
push dword [0x1009d070]
call fcn.10078c90
push 0x10034a58
call fcn.10081343
sub eax, dword [0x10002790]
add esp, 4
sub eax, dword [0x100027a0]
mov ecx, 0x1009d094
add eax, dword [ebp + 0x28]
add dword [0x100027c0], eax
push dword [esp + 0x34]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.10078c90
mov edx, dword [0x1009d1ec]
push ecx
mov ecx, dword [0x1009d1e8]
call fcn.1003b800
mov ecx, dword [0x1009d1e8]
mov edx, ecx
mov dword [0x1009d1ec], ecx
call fcn.1003b800
mov eax, dword [0x1009d1e8]
add esp, 4
cmp dword [esp + 0x60], 0xa5
mov edi, dword [ebp + 8]
mov dword [0x1009d1ec], eax
jae 0x10065b23
push 0x1009d11c
push edi
push 0x1009d0d0
mov edx, 0x1009d1b8
lea ecx, [esp + 0x74]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x3c]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x50]
push eax
call fcn.1003b590
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
jb 0x10065a8d
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065a83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bda
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
cmp edx, 0x10
jb 0x10065ad8
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065ace
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bda
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x10065b23
mov ecx, dword [esp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bda
push edx
push ecx
call fcn.10079b22
add esp, 8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10065b95
mov edx, dword [esp + 0x2c]
push ecx
call fcn.1003b800
mov ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x2c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10065b73
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bdf
push ecx
push esi
call fcn.10079b22
add esp, 8
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x64]
cmp edx, 0x10
jb 0x10065bc7
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065bbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bdf
push edx
push ecx
call fcn.10079b22
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
int3