Function at 0x10003850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa75f
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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 - 0xc0], ebx
cmp dword [ebx + 0x10], 0
je 0x10003d3d
cmp dword [ebx + 0x14], 8
jb 0x1000389f
mov eax, dword [ebx]
jmp 0x100038a1
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x10003d3d
push 0
lea edi, [ebp - 0xe0]
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 - 0xc8], 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 0x1000393b
mov byte [ebp - 4], al
cmp dword [ebp - 0x54], 0x10
jb 0x10003928
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 0x10003d2b
mov bl, 3
mov byte [ebp - 4], bl
push str.name
lea ecx, [ebp - 0xe0]
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 0x1000396a
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 0x1000398b
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 - 0xc4], 0x80000002
mov dword [ebp - 0xcc], 0x80000001
lea ecx, [ebp - 0x68]
push ecx
lea ebx, [ebp - 0xbc]
call fcn.10034330
add esp, 4
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], 7
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
push 1
push 0x100b6220
lea ecx, [ebp - 0x30]
call fcn.10005fb0
mov byte [ebp - 4], 7
lea esi, [ebp - 0xa0]
call fcn.10025590
mov ecx, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x4c]
call fcn.10006920
mov ecx, eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xc8]
lea edi, [ebp - 0x84]
call fcn.10006920
mov byte [ebp - 4], 0xb
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x10003a42
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1003d468
add esp, 4
mov edi, 7
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor ecx, ecx
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x8c], esi
jb 0x10003a6e
mov edx, dword [ebp - 0xa0]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
xor eax, eax
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1c], esi
jb 0x10003a98
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
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xa8], esi
jb 0x10003abf
mov eax, dword [ebp - 0xbc]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
xor ecx, ecx
mov word [ebp - 0xbc], cx
call fcn.10033ab0
xor edx, edx
push ebx
push 0x100b61ec
test al, al
je 0x10003c00
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
lea ecx, [ebp - 0x30]
call fcn.10005fb0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xc4]
push eax
mov ecx, 0x200
mov esi, dword [ebp - 0xc0]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1c], 8
jb 0x10003b35
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
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov word [ebp - 0x4c], ax
push ebx
push 0x100b61ec
lea ecx, [ebp - 0x4c]
call fcn.10005fb0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, 0x100
mov esi, dword [ebp - 0xc0]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x38], 8
jb 0x10003b95
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], 0x11
lea edx, [ebp - 0xcc]
push edx
mov ecx, 0x100
mov esi, dword [ebp - 0xc0]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1c], 8
jb 0x10003bf5
mov eax, dword [ebp - 0x30]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov word [ebp - 0x30], cx
jmp 0x10003cac
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
lea ecx, [ebp - 0x4c]
call fcn.10005fb0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov esi, dword [ebp - 0xc0]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x38], 8
jb 0x10003c49
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor edx, edx
mov word [ebp - 0x4c], dx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
push ebx
push 0x100b61ec
lea ecx, [ebp - 0x30]
call fcn.10005fb0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xcc]
push ecx
xor ecx, ecx
mov esi, dword [ebp - 0xc0]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x84]
call fcn.10035cc0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1c], 8
jb 0x10003ca6
mov edx, dword [ebp - 0x30]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], 8
jb 0x10003ccb
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
xor edx, edx
mov word [ebp - 0x84], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], 0x10
jb 0x10003cef
mov eax, dword [ebp - 0x68]
push eax
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 - 0xe0]
call fcn.1002cf07
mov al, 1
jmp 0x10003d3f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
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