Function at 0x636090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x78c
push ebx
push ebp
mov ebp, dword [esp + 0x798]
push esi
xor ebx, ebx
push edi
lea eax, [ebp + 5]
mov byte [ebp + 4], bl
mov dword [ebp], 0x6dc394
call fcn.004078a0
mov dword [ebp + 0x5e], ebx
lea eax, [ebp + 0x69]
and eax, 0xfffffffc
mov dword [ebp + 0x62], eax
mov dword [eax], ebx
mov eax, dword [esp + 0x7a4]
mov dword [ebp], 0x722cf8
mov dword [ebp + 0x6e], eax
mov eax, dword [eax + 0x62]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp + 0x72], ebx
mov dword [ebp + 0x76], ebx
mov dword [ebp + 0x7a], ebx
mov dword [ebp + 0x7e], ebx
mov byte [ebp + 0x82], bl
mov byte [ebp + 0x83], bl
lea edi, [ebp + 0xb1]
mov esi, 1
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x3c], ebx
or eax, 0xffffffff
mov dword [edi], eax
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [ebp + 0x10d], esi
mov dword [ebp + 0x111], esi
mov dword [ebp + 0x101], eax
mov dword [ebp + 0x105], ebx
mov dword [ebp + 0x109], ebx
mov dword [ebp + 0x11d], ebx
mov dword [ebp + 0x115], ebx
mov dword [ebp + 0x119], ebx
mov dword [ebp + 0x121], ebx
mov dword [ebp + 0x125], ebx
mov dword [ebp + 0x139], ebx
mov dword [ebp + 0x129], ebx
mov dword [ebp + 0x12d], ebx
mov dword [ebp + 0x131], ebx
mov dword [ebp + 0x135], ebx
mov dword [ebp + 0x13d], ebx
mov dword [ebp + 0x141], ebx
mov dword [ebp + 0x145], ebx
mov dword [ebp + 0x149], ebx
mov dword [ebp + 0x14d], ebx
mov dword [ebp + 0x15d], esi
mov dword [ebp + 0x161], esi
mov dword [ebp + 0x151], eax
mov dword [ebp + 0x155], ebx
mov dword [ebp + 0x159], ebx
mov dword [ebp + 0x16d], ebx
mov dword [ebp + 0x165], ebx
mov dword [ebp + 0x169], ebx
mov dword [ebp + 0x171], ebx
mov dword [ebp + 0x175], ebx
mov dword [ebp + 0x189], ebx
mov dword [ebp + 0x179], ebx
mov dword [ebp + 0x17d], ebx
mov dword [ebp + 0x181], ebx
mov dword [ebp + 0x185], ebx
mov dword [ebp + 0x18d], ebx
mov dword [ebp + 0x191], ebx
mov dword [ebp + 0x195], ebx
mov dword [ebp + 0x199], ebx
mov dword [ebp + 0x19d], ebx
mov dword [ebp + 0x1ad], esi
mov dword [ebp + 0x1b1], esi
mov dword [ebp + 0x1a1], eax
mov dword [ebp + 0x1a5], ebx
mov dword [ebp + 0x1a9], ebx
mov dword [ebp + 0x1bd], ebx
mov dword [ebp + 0x1b5], ebx
mov dword [ebp + 0x1b9], ebx
mov dword [ebp + 0x1c1], ebx
mov dword [ebp + 0x1c5], ebx
mov dword [ebp + 0x1d9], ebx
mov dword [ebp + 0x1c9], ebx
mov dword [ebp + 0x1cd], ebx
mov dword [ebp + 0x1d1], ebx
mov dword [ebp + 0x1d5], ebx
mov dword [ebp + 0x1dd], ebx
mov dword [ebp + 0x1e1], ebx
mov dword [ebp + 0x1e5], ebx
mov dword [ebp + 0x1e9], ebx
mov dword [ebp + 0x1ed], ebx
mov dword [ebp + 0x1fd], esi
mov dword [ebp + 0x201], esi
mov dword [ebp + 0x1f1], eax
mov dword [ebp + 0x1f5], ebx
mov dword [ebp + 0x1f9], ebx
mov dword [ebp + 0x20d], ebx
mov dword [ebp + 0x205], ebx
mov dword [ebp + 0x209], ebx
mov dword [ebp + 0x211], ebx
mov dword [ebp + 0x215], ebx
mov dword [ebp + 0x229], ebx
mov dword [ebp + 0x219], ebx
mov dword [ebp + 0x21d], ebx
mov dword [ebp + 0x221], ebx
mov dword [ebp + 0x225], ebx
mov dword [ebp + 0x22d], ebx
mov dword [ebp + 0x231], ebx
mov dword [ebp + 0x235], ebx
mov dword [ebp + 0x239], ebx
mov dword [ebp + 0x23d], ebx
mov dword [ebp + 0x24d], esi
mov dword [ebp + 0x251], esi
mov dword [ebp + 0x241], eax
mov dword [ebp + 0x245], ebx
mov dword [ebp + 0x249], ebx
mov dword [ebp + 0x25d], ebx
mov dword [ebp + 0x255], ebx
mov dword [ebp + 0x259], ebx
mov dword [ebp + 0x261], ebx
mov dword [ebp + 0x265], ebx
mov dword [ebp + 0x279], ebx
mov dword [ebp + 0x269], ebx
mov dword [ebp + 0x26d], ebx
mov dword [ebp + 0x271], ebx
mov dword [ebp + 0x275], ebx
mov dword [ebp + 0x27d], ebx
mov dword [ebp + 0x281], ebx
mov dword [ebp + 0x285], ebx
mov dword [ebp + 0x289], ebx
mov dword [ebp + 0x28d], ebx
mov dword [ebp + 0x29d], esi
mov dword [ebp + 0x2a1], esi
mov dword [ebp + 0x291], eax
mov dword [ebp + 0x295], ebx
mov dword [ebp + 0x299], ebx
mov dword [ebp + 0x2ad], ebx
mov dword [ebp + 0x2a5], ebx
mov dword [ebp + 0x2a9], ebx
mov dword [ebp + 0x2b1], ebx
mov dword [ebp + 0x2b5], ebx
mov dword [ebp + 0x2c9], ebx
mov dword [ebp + 0x2b9], ebx
mov dword [ebp + 0x2bd], ebx
mov dword [ebp + 0x2c1], ebx
mov dword [ebp + 0x2c5], ebx
mov dword [ebp + 0x2cd], ebx
mov dword [ebp + 0x2d1], ebx
mov dword [ebp + 0x2d5], ebx
mov dword [ebp + 0x2d9], ebx
mov dword [ebp + 0x2dd], ebx
mov dword [ebp + 0x2ed], esi
mov dword [ebp + 0x2f1], esi
mov dword [ebp + 0x2e1], eax
mov dword [ebp + 0x2e5], ebx
mov dword [ebp + 0x2e9], ebx
mov dword [ebp + 0x2fd], ebx
mov dword [ebp + 0x2f5], ebx
mov dword [ebp + 0x2f9], ebx
mov dword [ebp + 0x301], ebx
mov dword [ebp + 0x305], ebx
mov dword [ebp + 0x319], ebx
mov dword [ebp + 0x309], ebx
mov dword [ebp + 0x30d], ebx
mov dword [ebp + 0x311], ebx
mov dword [ebp + 0x315], ebx
mov dword [ebp + 0x31d], ebx
mov dword [ebp + 0x321], ebx
mov dword [ebp + 0x325], ebx
mov dword [ebp + 0x329], ebx
mov dword [ebp + 0x32d], ebx
mov dword [ebp + 0x33d], esi
mov dword [ebp + 0x341], esi
mov dword [ebp + 0x331], eax
mov dword [ebp + 0x335], ebx
mov dword [ebp + 0x339], ebx
mov dword [ebp + 0x34d], ebx
mov dword [ebp + 0x345], ebx
mov dword [ebp + 0x349], ebx
mov dword [ebp + 0x351], ebx
mov dword [ebp + 0x355], ebx
mov dword [ebp + 0x369], ebx
mov dword [ebp + 0x359], ebx
mov dword [ebp + 0x35d], ebx
mov dword [ebp + 0x361], ebx
mov dword [ebp + 0x365], ebx
mov dword [ebp + 0x36d], ebx
mov dword [ebp + 0x371], ebx
mov dword [ebp + 0x375], ebx
mov dword [ebp + 0x379], ebx
mov dword [ebp + 0x37d], ebx
mov dword [ebp + 0x38d], esi
mov dword [ebp + 0x391], esi
mov dword [ebp + 0x381], eax
mov dword [ebp + 0x385], ebx
mov dword [ebp + 0x389], ebx
mov dword [ebp + 0x39d], ebx
mov dword [ebp + 0x395], ebx
mov dword [ebp + 0x399], ebx
mov dword [ebp + 0x3a1], ebx
mov dword [ebp + 0x3a5], ebx
mov dword [ebp + 0x3b9], ebx
mov dword [ebp + 0x3a9], ebx
mov dword [ebp + 0x3ad], ebx
mov dword [ebp + 0x3b1], ebx
mov dword [ebp + 0x3b5], ebx
mov dword [ebp + 0x3bd], ebx
mov dword [ebp + 0x3c1], ebx
mov dword [ebp + 0x3c5], ebx
mov dword [ebp + 0x3c9], ebx
mov dword [ebp + 0x3cd], ebx
mov dword [ebp + 0x3dd], esi
mov dword [ebp + 0x3e1], esi
mov dword [ebp + 0x3d1], eax
mov dword [ebp + 0x3d5], ebx
mov dword [ebp + 0x3d9], ebx
mov dword [ebp + 0x3ed], ebx
mov dword [ebp + 0x3e5], ebx
mov dword [ebp + 0x3e9], ebx
mov dword [ebp + 0x3f1], ebx
mov dword [ebp + 0x3f5], ebx
mov dword [ebp + 0x409], ebx
mov dword [ebp + 0x3f9], ebx
mov ecx, dword [esp + 0x7a4]
mov dword [ebp + 0x3fd], ebx
mov dword [ebp + 0x401], ebx
mov dword [ebp + 0x405], ebx
mov dword [ebp + 0x40d], ebx
mov dword [ebp + 0x411], ebx
add ecx, 5
lea eax, [ebp + 5]
mov dword [ebp + 0x415], ebx
mov dword [ebp + 0x419], ebx
mov dword [ebp + 0x41d], ebx
call fcn.00408a40
mov eax, dword [esp + 0x7a4]
fld qword [eax + 0x45]
mov edx, dword [esp + 0x7a4]
add eax, 5
fstp qword [ebp + 0x45]
fld qword [eax + 0x48]
fstp qword [ebp + 0x4d]
fld qword [eax + 0x50]
fstp qword [ebp + 0x55]
mov cl, byte [eax + 0x58]
mov byte [ebp + 0x5d], cl
mov eax, dword [edx + 0x5e]
mov ecx, dword [0x736604]
mov dword [ebp + 0x5e], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x130]
push eax
call edx
lea eax, [esp + 0x388]
push eax
call fcn.004c4840
lea ecx, [esp + 0x388]
push ecx
push str._s_clickraw.png
lea edx, [esp + 0x598]
call fcn.00401000
add esp, 8
lea edx, [esp + 0x590]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x636695
push str.resources_
lea edx, [esp + 0x38c]
call fcn.00401000
add esp, 4
push str.clickraw.png
lea eax, [esp + 0x38c]
push eax
push 0x6ced0c
lea edx, [esp + 0x18c]
call fcn.00401000
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x188]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x84], 0x6dbbf0
call fcn.004cf2c0
mov ecx, dword [esp + 0x130]
cmp ecx, ebx
jle 0x636796
mov eax, dword [esp + 0x10]
push ecx
call fcn.004ce820
cmp dword [edi + 0x40], ebx
je 0x6367a2
cmp dword [edi], 0xffffffff
je 0x6367a2
cmp dword [edi + 4], ebx
jle 0x6367a2
cmp dword [edi + 8], ebx
jle 0x6367a2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x18], ecx
lea ecx, [esp + 0x88]
mov esi, edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
call fcn.004d0cb0
lea esi, [esp + 0x10]
mov eax, edi
call fcn.004d6b80
jmp 0x63679d
mov esi, edi
call fcn.004d16d0
mov esi, 1
mov ecx, dword [esp + 0x134]
cmp ecx, ebx
jle 0x636814
mov eax, dword [esp + 0x10]
push ecx
lea edi, [ebp + 0x101]
call fcn.004ce820
cmp dword [edi + 0x40], ebx
je 0x636824
cmp dword [edi], 0xffffffff
je 0x636824
cmp dword [edi + 4], ebx
jle 0x636824
cmp dword [edi + 8], ebx
jle 0x636824
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x80]
mov esi, edi
mov dword [edi + 0x18], edx
mov dword [esp + 0x80], eax
call fcn.004d0cb0
lea esi, [esp + 0x10]
lea eax, [ebp + 0x101]
call fcn.004d6b80
jmp 0x63681f
lea esi, [ebp + 0x101]
call fcn.004d16d0
mov esi, 1
mov ecx, dword [esp + 0x134]
cmp ecx, ebx
jle 0x636896
mov eax, dword [esp + 0x10]
push ecx
lea edi, [ebp + 0x151]
call fcn.004ce820
cmp dword [edi + 0x40], ebx
je 0x6368a6
cmp dword [edi], 0xffffffff
je 0x6368a6
cmp dword [edi + 4], ebx
jle 0x6368a6
cmp dword [edi + 8], ebx
jle 0x6368a6
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x90]
mov esi, edi
mov dword [edi + 0x18], eax
mov dword [esp + 0x94], edx
call fcn.004d0cb0
lea esi, [esp + 0x10]
lea eax, [ebp + 0x151]
call fcn.004d6b80
jmp 0x6368a1
lea esi, [ebp + 0x151]
call fcn.004d16d0
mov esi, 1
mov ecx, dword [esp + 0x134]
cmp ecx, ebx
jle 0x636918
mov eax, dword [esp + 0x10]
push ecx
lea edi, [ebp + 0x1a1]
call fcn.004ce820
cmp dword [edi + 0x40], ebx
je 0x636928
cmp dword [edi], 0xffffffff
je 0x636928
cmp dword [edi + 4], ebx
jle 0x636928
cmp dword [edi + 8], ebx
jle 0x636928
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x18], ecx
lea ecx, [esp + 0x98]
mov esi, edi
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
call fcn.004d0cb0
lea esi, [esp + 0x10]
lea eax, [ebp + 0x1a1]
call fcn.004d6b80
jmp 0x636923
lea esi, [ebp + 0x1a1]
call fcn.004d16d0
mov esi, 1
push str.cursorleft.png
lea ecx, [esp + 0x38c]
push ecx
push 0x6ced0c
lea edx, [esp + 0x18c]
call fcn.00401000
add esp, 0xc
lea eax, [ebp + 0x1f1]
push eax
lea edx, [esp + 0x74]
mov edi, 0x6dbbf0
push edx
lea ecx, [esp + 0x188]
mov dword [esp + 0x78], edi
call fcn.004cf2c0
push str.cursorboth.png
lea eax, [esp + 0x38c]
push eax
push 0x6ced0c
lea edx, [esp + 0x18c]
call fcn.00401000
add esp, 0xc
lea eax, [ebp + 0x241]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x188]
mov dword [esp + 0x80], edi
call fcn.004cf2c0
push str.cursorright.png
lea edx, [esp + 0x38c]
push edx
push 0x6ced0c
lea edx, [esp + 0x18c]
call fcn.00401000
add esp, 0xc
lea eax, [ebp + 0x291]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x188]
mov dword [esp + 0x6c], edi
call fcn.004cf2c0
push str.cursormiddle.png
lea ecx, [esp + 0x38c]
push ecx
push 0x6ced0c
lea edx, [esp + 0x18c]
call fcn.00401000
add esp, 0xc
lea eax, [ebp + 0x2e1]
push eax
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x188]
mov dword [esp + 0x70], edi
call fcn.004cf2c0
push str.mouse_middle_up.png
lea eax, [esp + 0x38c]
push eax
push 0x6ced0c
lea edx, [esp + 0x18c]
call fcn.00401000
add esp, 0xc
lea eax, [ebp + 0x331]
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x188]
mov dword [esp + 0x74], edi
call fcn.004cf2c0
push str.mouse_middle_down.png
lea edx, [esp + 0x38c]
push edx
push 0x6ced0c
lea edx, [esp + 0x18c]
call fcn.00401000
add esp, 0xc
lea eax, [ebp + 0x381]
mov dword [esp + 0x74], edi
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x188]
call fcn.004cf2c0
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
mov dword [ebp + 0x85], ecx
mov ecx, dword [esp + 0x134]
mov dword [ebp + 0x8d], eax
mov eax, dword [esp + 0x130]
cmp eax, ecx
mov dword [ebp + 0x89], edx
mov edx, eax
jg 0x636add
mov edx, ecx
mov eax, ecx
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
call fcn.004d4360
mov eax, dword [esp + 0xa0]
cmp eax, 8
jl 0x636b6a
cmp eax, 0xa
jle 0x636b92
cmp eax, 0xc
ja 0x636b76
call fcn.004981b0
jmp 0x636b78
xor eax, eax
mov ecx, dword [esp + 0xa4]
imul ecx, eax
shr ecx, 3
add ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0xbc], ecx
push ebx
push ebx
push ebx
lea eax, [esp + 0xac]
lea edi, [esp + 0xec]
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
call fcn.004d0d70
mov eax, edi
lea edi, [ebp + 0x3d1]
call fcn.004d1240
lea ecx, [esp + 0xe0]
call fcn.004d0c50
lea ecx, [esp + 0x10]
call fcn.004d0c50
mov edi, dword [esp + 0x7a4]
mov edx, dword [edi + 0x62]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x636c79
mov eax, dword [edi]
mov edx, dword [eax + 8]
push esi
mov ecx, edi
call edx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x78c
ret 8