Function at 0x10003be0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [0x100430b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xc2c], eax
mov eax, dword [ebp + 0x24]
push 0x200
mov dword [ebp - 0xc30], eax
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.1001ac20
push 0x200
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.1001ac20
push 0x208
lea eax, [ebp - 0x60c]
push 0
push eax
call fcn.1001ac20
push 0x208
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.1001ac20
push 0x208
lea eax, [ebp - 0xa1c]
push 0
push eax
call fcn.1001ac20
add esp, 0x3c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10003c7f
cmp byte [ebp + 0x20], al
jne 0x10003f65
lea ecx, [ebp - 0x60c]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x10003c90
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x404]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x10003cb0
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x404]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10003cc2
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x204]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x10003ce0
mov ecx, dword [ebp + 0x1c]
lea edx, [ebp - 0xa1c]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x10003d00
push edi
lea eax, [ebp - 0x204]
mov edi, 1
push eax
mov esi, str..ico
call fcn.1001c05d
add esp, 4
nop dword [eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x10003d56
test cx, cx
je 0x10003d52
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x10003d56
add eax, 4
add esi, 4
test cx, cx
jne 0x10003d30
xor eax, eax
jmp 0x10003d5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003d67
lea edi, [eax + 2]
jmp 0x10003eed
lea eax, [ebp - 0x204]
mov esi, str..gif
push eax
call fcn.1001c05d
add esp, 4
nop dword [eax + eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x10003da6
test cx, cx
je 0x10003da2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x10003da6
add eax, 4
add esi, 4
test cx, cx
jne 0x10003d80
xor eax, eax
jmp 0x10003dab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003db7
lea edi, [eax + 3]
jmp 0x10003eed
lea eax, [ebp - 0x204]
mov esi, str..jpg
push eax
call fcn.1001c05d
add esp, 4
nop dword [eax + eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x10003df6
test cx, cx
je 0x10003df2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x10003df6
add eax, 4
add esi, 4
test cx, cx
jne 0x10003dd0
xor eax, eax
jmp 0x10003dfb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003e07
lea edi, [eax + 4]
jmp 0x10003eed
lea eax, [ebp - 0x204]
mov esi, str..png
push eax
call fcn.1001c05d
add esp, 4
nop dword [eax + eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x10003e46
test cx, cx
je 0x10003e42
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x10003e46
add eax, 4
add esi, 4
test cx, cx
jne 0x10003e20
xor eax, eax
jmp 0x10003e4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003e57
lea edi, [eax + 5]
jmp 0x10003eed
lea eax, [ebp - 0x204]
mov esi, str..psd
push eax
call fcn.1001c05d
add esp, 4
nop dword [eax + eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x10003e96
test cx, cx
je 0x10003e92
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x10003e96
add eax, 4
add esi, 4
test cx, cx
jne 0x10003e70
xor eax, eax
jmp 0x10003e9b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003ea4
lea edi, [eax + 6]
jmp 0x10003eed
lea eax, [ebp - 0x204]
mov esi, str..tif
push eax
call fcn.1001c05d
add esp, 4
mov cx, word [eax]
cmp cx, word [esi]
jne 0x10003ede
test cx, cx
je 0x10003eda
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x10003ede
add eax, 4
add esi, 4
test cx, cx
jne 0x10003eb8
xor eax, eax
jmp 0x10003ee3
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 7
cmove edi, ecx
push edi
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x814]
push str.__s___d
push eax
call fcn.10006e10
add esp, 0x10
mov ecx, dword [ebp - 0xc2c]
lea eax, [ebp - 0xc25]
mov byte [ebp - 0xc25], 0
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 0xc24]
push str.42CA8D45_DC86_41CE_B701_EEF835F50DEA
push 0x10031d24
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.10004a00
cmp byte [ebp - 0xc25], 0
pop edi
je 0x10003f65
mov eax, dword [ebp - 0xc30]
mov byte [eax], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10018315
mov esp, ebp
pop ebp
ret 0x20