Function at 0x1003e5b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6e87
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x100ed294]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov ecx, dword [ebp + 0x10]
call fcn.100142c0
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp + 8]
jbe 0x1003e90b
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10022150
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
call fcn.10025e20
movzx edx, al
test edx, edx
jne 0x1003e90b
lea ecx, [ebp - 0x25c]
call fcn.1001c3f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x25c]
push eax
push 0x100bea20
mov ecx, dword [ebp - 0x238]
call fcn.1000ad70
push eax
call fcn.1000e1d0
add esp, 0xc
mov byte [ebp - 0x219], 0
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp - 0x23c]
call fcn.10026650
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x23c]
call fcn.100235b0
mov dword [ebp - 0x248], eax
jmp 0x1003e69e
mov edx, dword [ebp - 0x220]
add edx, 4
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x248]
je 0x1003e8cd
mov ecx, dword [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10008730
mov byte [ebp - 4], 1
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.1006cfe0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.1000ad70
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1000ad70
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003e723
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10009e40
jmp 0x1003e68f
lea edx, [ebp - 0x218]
push edx
call fcn.1000d4c0
add esp, 4
mov dword [ebp - 0x22c], eax
push 0x100bea24
lea ecx, [ebp - 0x230]
call fcn.100087d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x22c], 0
je 0x1003e87f
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.1000c740
add esp, 8
test eax, eax
je 0x1003e868
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x240], edx
mov ecx, dword [ebp - 0x240]
call fcn.10026650
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x240]
call fcn.100235b0
mov dword [ebp - 0x24c], eax
jmp 0x1003e7b3
mov eax, dword [ebp - 0x224]
add eax, 4
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp - 0x24c]
je 0x1003e868
mov edx, dword [ebp - 0x224]
push edx
lea ecx, [ebp - 0x228]
call fcn.10008730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.10025e20
movzx eax, al
test eax, eax
jne 0x1003e854
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
lea edx, [ebp - 0x228]
push edx
call fcn.10008730
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
lea eax, [ebp - 0x230]
push eax
call fcn.10008730
mov byte [ebp - 4], 3
call fcn.1000e880
add esp, 8
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x1003e854
mov byte [ebp - 0x219], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.10009e40
jmp 0x1003e868
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.10009e40
jmp 0x1003e7a4
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x22c], 0
movzx edx, byte [ebp - 0x219]
test edx, edx
je 0x1003e8aa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10009e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10009e40
jmp 0x1003e8cd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10009e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10009e40
jmp 0x1003e68f
movzx eax, byte [ebp - 0x219]
test eax, eax
jne 0x1003e8f9
mov byte [ebp - 0x21a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.1001cba0
mov al, byte [ebp - 0x21a]
jmp 0x1003e90d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.1001cba0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100633f2
mov esp, ebp
pop ebp
ret 0x10