Function at 0x10056770
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 0x10098a95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2f0
push esi
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x48], 0
mov esi, dword [0x100027a4]
mov edi, dword [0x1000278c]
push 0x29
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
push 0x10032454
mov byte [eax], 0
call fcn.1003ae40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
push 0x15
mov dword [ebp - 0x78], 0
push 0x10032480
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.1003ae40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x198]
push 7
mov dword [ebp - 0x198], 0
push 0x10032498
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
call fcn.1003ae40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
push 0x22
mov dword [ebp - 0x180], 0
push 0x100324a0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
call fcn.1003ae40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
push 0x12
mov dword [ebp - 0x168], 0
push 0x100324c4
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
call fcn.1003ae40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
push 0x14
mov dword [ebp - 0x150], 0
push 0x100324d8
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
call fcn.1003ae40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
push 6
mov dword [ebp - 0x138], 0
push 0x100324f0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
call fcn.1003ae40
mov byte [ebp - 4], 6
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
push 0x11
push 0x100324f8
lea ecx, [ebp - 0x120]
mov byte [ebp - 0x120], 0
call fcn.1003ae40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x108]
push 6
mov dword [ebp - 0x108], 0
push 0x1003250c
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.1003ae40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf0]
push 3
mov dword [ebp - 0xf0], 0
push 0x10032514
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.1003ae40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd8]
push 0x22
mov dword [ebp - 0xd8], 0
push 0x10032518
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
call fcn.1003ae40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc0]
push 6
mov dword [ebp - 0xc0], 0
push 0x1003253c
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.1003ae40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
push 0x1b
mov dword [ebp - 0xa8], 0
push 0x10032544
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.1003ae40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x90]
push 0xd
mov dword [ebp - 0x90], 0
push 0x10032560
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.1003ae40
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
push ecx
lea eax, [ebp - 0x78]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.100785e0
push 0x1003adf0
push 0xc
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x198]
push 0x18
push eax
call fcn.10079b58
push 0xb
mov dword [ebp - 0x300], 0
lea ecx, [ebp - 0x300]
push 0x10032570
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0xf
mov byte [ebp - 0x300], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2e8]
push 0x15
mov dword [ebp - 0x2e8], 0
push 0x1003257c
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0xf
mov byte [ebp - 0x2e8], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2d0]
push 6
mov dword [ebp - 0x2d0], 0
push 0x10032594
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2b8]
push 0x1b
mov dword [ebp - 0x2b8], 0
push 0x1003259c
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2a0]
push 6
mov dword [ebp - 0x2a0], 0
push 0x100325b8
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x288]
push 0x23
mov dword [ebp - 0x288], 0
push 0x100325c0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x270]
push 0x16
mov dword [ebp - 0x270], 0
push 0x100325e4
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x258]
push 0x17
mov dword [ebp - 0x258], 0
push 0x100325fc
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x240]
push 0x15
mov dword [ebp - 0x240], 0
push 0x10032614
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x228]
push 3
mov dword [ebp - 0x228], 0
push 0x1003262c
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x210]
push 0x1e
mov dword [ebp - 0x210], 0
push 0x10032630
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0xf
mov byte [ebp - 0x210], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1f8]
push 0x19
mov dword [ebp - 0x1f8], 0
push 0x10032650
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1e0]
push 0xf
mov dword [ebp - 0x1e0], 0
push 0x1003266c
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1c8]
push 0x1a
mov dword [ebp - 0x1c8], 0
push 0x1003267c
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
call fcn.1003ae40
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1b0]
push 0xf
mov dword [ebp - 0x1b0], 0
push 0x10032698
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
call fcn.1003ae40
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x1e
push ecx
lea eax, [ebp - 0x198]
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.100785e0
mov byte [ebp - 4], 0x20
push 0x1003adf0
push 0xf
push 0x18
lea eax, [ebp - 0x300]
push eax
call fcn.10079b58
mov eax, dword [0x10002794]
lea ecx, [ebp - 0x78]
push eax
push dword [0x100027c0]
push ecx
push dword [0x100027b4]
push eax
mov eax, dword [ebx + 0x10]
push 0x1009d1f4
push dword [0x100027a8]
push eax
push dword [ebx + 0x18]
push dword [ebp - 0x2c]
push dword [ebx + 0xc]
push 0x1009d100
push dword [0x100027b8]
push esi
push 0x1009d1a0
push 0xa4b2
push edi
push dword [0x1000278c]
push dword [ebx + 0x20]
push 0x1009d134
push eax
lea eax, [ebp - 0x28]
push eax
call sym.desktop.d_hemochrome
add esp, 0x58
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x10056f23
mov eax, dword [eax]
mov byte [eax], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10056f5a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10056f50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574ca
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d1e0], 0x36
jae 0x10057016
push 0x1009d0a0
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.100789e0
push 0x1009d14c
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x28]
call fcn.10078930
add esp, 8
mov ecx, 0x1009d1d0
push eax
call fcn.1003b590
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10056fcc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10056fc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574cf
push edx
push ecx
call fcn.10079b22
add esp, 8
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10057016
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005700c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574cf
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d180], 0x4f
jae 0x10057073
push 0x1009d134
mov edx, 0x1009d100
lea ecx, [ebp - 0x60]
call fcn.100789e0
add esp, 4
mov ecx, 0x1009d170
push eax
call fcn.1003b590
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x10057073
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10057069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574d4
push edx
push ecx
call fcn.10079b22
add esp, 8
push 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x100326a8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003ae40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x20
mov byte [eax], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100570e1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100570d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574e3
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [0x1009d074]
push ecx
mov ecx, dword [0x1009d070]
call fcn.1003b800
mov eax, dword [0x1009d070]
add esp, 4
mov dword [0x1009d074], eax
mov eax, dword [0x100027b4]
add dword [0x1000279c], eax
cmp dword [0x1009d0f8], 0x44
jae 0x100571c9
push 0x1009d0a0
mov edx, 0x1009d0b8
lea ecx, [ebp - 0x60]
call fcn.100789e0
push 0x1009d188
mov edx, eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x28]
call fcn.10078930
add esp, 8
mov ecx, 0x1009d0e8
push eax
call fcn.1003b590
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1005717f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10057175
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574d9
push edx
push ecx
call fcn.10079b22
add esp, 8
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x100571c9
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100571bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574d9
push edx
push ecx
call fcn.10079b22
add esp, 8
push dword [ebp - 0x2c]
mov ecx, 0x1009d164
push dword [0x1009d098]
push dword [0x1009d094]
call fcn.10078c90
mov edx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1003b800
mov eax, dword [ebp - 0x38]
add esp, 4
cmp dword [0x1009d15c], 0x9d
mov dword [ebp - 0x34], eax
jae 0x10057333
push 0x1009d11c
mov edx, 0x1009d1d0
lea ecx, [ebp - 0x60]
call fcn.100789e0
push 0x1009d134
mov edx, eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x28]
call fcn.10078930
mov esi, eax
add esp, 8
cmp esi, 0x1009d14c
je 0x100572b5
mov ecx, dword [0x1009d160]
cmp ecx, 0x10
jb 0x10057272
mov eax, dword [0x1009d14c]
inc ecx
cmp ecx, 0x1000
jb 0x10057268
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574de
mov eax, edx
push ecx
push eax
call fcn.10079b22
add esp, 8
mov dword [0x1009d15c], 0
mov dword [0x1009d160], 0xf
mov byte [0x1009d14c], 0
movups xmm0, xmmword [esi]
movups xmmword [0x1009d14c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x1009d15c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100572e9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100572df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574de
push edx
push ecx
call fcn.10079b22
add esp, 8
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10057333
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10057329
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574de
push edx
push ecx
call fcn.10079b22
add esp, 8
push 2
push 0x100326b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.1003ae40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10057399
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005738f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574e3
push edx
push ecx
call fcn.10079b22
add esp, 8
push 0x100326b4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add dword [0x1000279c], eax
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10057419
mov edx, dword [ebp - 0x40]
push ecx
call fcn.1003b800
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x44]
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 0x100573fa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574e3
push ecx
push esi
call fcn.10079b22
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x10057484
mov edx, dword [ebp - 0x34]
push ecx
call fcn.1003b800
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
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 0x10057465
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574e3
push ecx
push esi
call fcn.10079b22
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x100574b4
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100574aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574e3
push edx
push ecx
call fcn.10079b22
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
int3