Function at 0x1005e540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7bbb
mov eax, dword fs:[0]
push eax
mov eax, 0x249c
call fcn.100903a0
mov eax, dword [0x100fd16c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24a8]
mov edi, dword [ebp + 0xc]
mov ebx, 1
push esi
push eax
call fcn.1005f240
push dword [ebp - 0x24a8]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005f1ef
lea ecx, [ebp - 0x24a1]
call fcn.10056f60
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005e6a8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.1005beb0
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e604
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1005a2b0
mov edx, eax
test edx, edx
jne 0x1005e637
xor ecx, ecx
jmp 0x1005e64f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e640
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004a8a0
mov edx, eax
test edx, edx
jne 0x1005e680
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.1000f1b0
mov ebx, 1
jmp 0x1005f1f1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e685
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.1000f1b0
mov ebx, 1
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.100486f0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005e74f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.1005ac50
push eax
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e704
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.10055280
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.100533e0
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10047b90
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005e7fb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10058a30
push eax
push esi
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e7b0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004a6e0
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.100584f0
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.1005a010
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005e8a2
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.1004bb00
push eax
push esi
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e857
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004c200
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1004a980
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.1004c120
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
jne 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.1005c5b0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005e96b
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.1004bf60
push eax
push esi
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xa38]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e920
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004fda0
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1004d9a0
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.1004f320
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005ea12
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10055ec0
push eax
push esi
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xc40]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e9c7
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004aa60
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.10059f30
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10052ea0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005eabb
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10056240
push eax
push esi
lea eax, [ebp - 0xe48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xe48]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ea70
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.10059130
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.10053140
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.100557c0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005eb62
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10053680
push eax
push esi
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1050]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005eb17
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.10054f00
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1004ec00
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10057820
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005ec0b
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10050820
push eax
push esi
lea eax, [ebp - 0x1258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1258]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ebc0
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.100579e0
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1005b510
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10054560
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005ecb2
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.100593d0
push eax
push esi
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1460]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ec67
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.10056400
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1004f240
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.100541e0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005ed5b
push 0x208
lea eax, [ebp - 0x1668]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10058db0
push eax
push esi
lea eax, [ebp - 0x1668]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1668]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ed10
sub ecx, edx
lea eax, [ebp - 0x1668]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1005c3f0
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.10056be0
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.1004cf20
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005ee02
push 0x208
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.1005b6d0
push eax
push esi
lea eax, [ebp - 0x1870]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1870]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005edb7
sub ecx, edx
lea eax, [ebp - 0x1870]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.10057740
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1005aa90
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10053ae0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005eeab
push 0x208
lea eax, [ebp - 0x1a78]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10050740
push eax
push esi
lea eax, [ebp - 0x1a78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1a78]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ee60
sub ecx, edx
lea eax, [ebp - 0x1a78]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.100548e0
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1004c580
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10055de0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005ef52
push 0x208
lea eax, [ebp - 0x1c80]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10052500
push eax
push esi
lea eax, [ebp - 0x1c80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1c80]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ef07
sub ecx, edx
lea eax, [ebp - 0x1c80]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1005b270
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.10058870
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10052b20
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005effb
push 0x208
lea eax, [ebp - 0x1e88]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.1004ba20
push eax
push esi
lea eax, [ebp - 0x1e88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1e88]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005efb0
sub ecx, edx
lea eax, [ebp - 0x1e88]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1005ba50
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.10055c20
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.1005a0f0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005f0a2
push 0x208
lea eax, [ebp - 0x2090]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.1004ab40
push eax
push esi
lea eax, [ebp - 0x2090]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2090]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005f057
sub ecx, edx
lea eax, [ebp - 0x2090]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004a360
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1005a630
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.1004d540
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005f14b
push 0x208
lea eax, [ebp - 0x2298]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.100503c0
push eax
push esi
lea eax, [ebp - 0x2298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2298]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005f100
sub ecx, edx
lea eax, [ebp - 0x2298]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004c3c0
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.10058790
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
lea ecx, [ebp - 0x24a1]
call fcn.10049aa0
push eax
push esi
call fcn.10015260
add esp, 8
test al, al
je 0x1005f1ef
push 0x208
lea eax, [ebp - 0x24a0]
push 0
push eax
call fcn.100b24f0
mov esi, dword [ebp - 0x24a8]
lea ecx, [ebp - 0x24a1]
add esp, 0xc
call fcn.10051a80
push eax
push esi
lea eax, [ebp - 0x24a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x24a0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005f1a7
sub ecx, edx
lea eax, [ebp - 0x24a0]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f1b0
lea ecx, [ebp - 0x24a1]
call fcn.1004a0c0
push eax
lea ecx, [edi + 8]
call fcn.10015210
lea ecx, [ebp - 0x24a1]
call fcn.1005bdd0
push eax
lea ecx, [edi + 4]
call fcn.10015210
jmp 0x1005f1f1
xor ebx, ebx
mov eax, dword [ebp - 0x24a8]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1005f216
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10090156
mov esp, ebp
pop ebp
ret 0xc