Function at 0x1001d430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x88], ebx
cmp dword [ebx + 0x10], 0
je 0x1001d87d
cmp dword [ebx + 0x14], 8
jb 0x1001d47f
mov eax, dword [ebx]
jmp 0x1001d481
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x1001d87d
push 0
lea edi, [ebp - 0xa0]
call fcn.1002ccea
mov dword [ebp - 4], 0
mov ecx, esi
lea esi, [ebp - 0x68]
call fcn.10034210
mov byte [ebp - 4], 1
sub esp, 0x1c
mov dword [ebp - 0x90], esp
mov ecx, esp
mov dword [ecx + 0x14], 7
xor esi, esi
mov dword [ecx + 0x10], esi
xor eax, eax
mov word [ecx], ax
push 1
push 0x100b624c
call fcn.10005fb0
mov byte [ebp - 4], 2
push ebx
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.10003050
test al, al
jne 0x1001d51b
mov byte [ebp - 4], al
cmp dword [ebp - 0x54], 0x10
jb 0x1001d508
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x68], 0
jmp 0x1001d86b
mov bl, 3
mov byte [ebp - 4], bl
push str.name
lea ecx, [ebp - 0xa0]
call fcn.1002d6e7
lea edx, [ebp - 0x4c]
push edx
mov ecx, eax
call fcn.1002d12f
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], esi
lea eax, [ebp - 0x68]
je 0x1001d54a
lea eax, [ebp - 0x4c]
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x68]
call fcn.100058a0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x38], 0x10
jb 0x1001d56b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x8c], 0x80000002
mov dword [ebp - 0x90], 0x80000001
lea ecx, [ebp - 0x68]
push ecx
lea ebx, [ebp - 0x30]
call fcn.10034330
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
lea esi, [ebp - 0x4c]
call fcn.10026900
mov ecx, eax
mov byte [ebp - 4], 7
mov eax, edi
lea edi, [ebp - 0x84]
call fcn.10006920
mov byte [ebp - 4], 9
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x1001d5de
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1003d468
add esp, 4
mov edi, 7
mov dword [ebp - 0x38], edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1c], esi
jb 0x1001d606
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
call fcn.10033ab0
push ebx
push 0x100b61ec
test al, al
je 0x1001d73e
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
call fcn.10005fb0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, 0x200
mov esi, dword [ebp - 0x88]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1c], 8
jb 0x1001d673
mov edx, dword [ebp - 0x30]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor ecx, ecx
mov word [ebp - 0x4c], cx
push ebx
push 0x100b61ec
lea ecx, [ebp - 0x4c]
call fcn.10005fb0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x8c]
push edx
mov ecx, 0x100
mov esi, dword [ebp - 0x88]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x38], 8
jb 0x1001d6d3
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor ecx, ecx
mov word [ebp - 0x4c], cx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
push ebx
push 0x100b61ec
lea ecx, [ebp - 0x30]
call fcn.10005fb0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x100
mov esi, dword [ebp - 0x88]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1c], 8
jb 0x1001d733
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov word [ebp - 0x30], dx
jmp 0x1001d7ec
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov word [ebp - 0x4c], ax
lea ecx, [ebp - 0x4c]
call fcn.10005fb0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x8c]
push ecx
xor ecx, ecx
mov esi, dword [ebp - 0x88]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x38], 8
jb 0x1001d789
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov word [ebp - 0x30], cx
push ebx
push 0x100b61ec
lea ecx, [ebp - 0x30]
call fcn.10005fb0
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x90]
push edx
xor ecx, ecx
mov esi, dword [ebp - 0x88]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1c], 8
jb 0x1001d7e6
mov eax, dword [ebp - 0x30]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], 8
jb 0x1001d80b
mov edx, dword [ebp - 0x84]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
xor eax, eax
mov word [ebp - 0x84], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], 0x10
jb 0x1001d82f
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.1002cf07
mov al, 1
jmp 0x1001d87f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.1002cf07
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret