Function at 0x100f1ba0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x100f1df8
mov eax, dword [eax + 0x1a4]
cmp dword [eax - 0xc], 0
je 0x100f1df8
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x100f1df8
mov edx, dword [esi + 0x18]
sub edx, dword [esi + 0x10]
test edx, edx
jle 0x100f1df8
push ebx
push edi
lea eax, [esp + 0x14]
push str.Data_
push eax
call fcn.10077b2d
add esp, 8
lea edi, [esi + 0x28]
push eax
mov ecx, edi
call fcn.10003630
lea ecx, [esp + 0x14]
call fcn.10003610
mov ecx, dword [esi + 4]
add ecx, 0x1a4
push ecx
lea ecx, [esp + 0x10]
call fcn.100035f0
mov ebx, dword [esp + 0xc]
cmp dword [ebx - 0xc], 0
jl 0x100f1c5f
push str._devices_
push ebx
call fcn.100b2ecd
add esp, 8
test eax, eax
je 0x100f1c5f
sub eax, ebx
sar eax, 1
js 0x100f1c5f
add eax, 9
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.100185e0
push eax
mov ecx, edi
call fcn.10008980
lea ecx, [esp + 0x14]
call fcn.10003610
jmp 0x100f1ccb
push 0x1028bd68
push str.http:__
lea ecx, [esp + 0x14]
call fcn.10018390
mov ebx, dword [esp + 0xc]
cmp dword [ebx - 0xc], 0
jge 0x100f1c81
or eax, 0xffffffff
jmp 0x100f1c9c
push 0x10115730
push ebx
call fcn.100b2ecd
add esp, 8
test eax, eax
jne 0x100f1c98
or eax, 0xffffffff
jmp 0x100f1c9c
sub eax, ebx
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.100185e0
push eax
lea ecx, [esp + 0x10]
call fcn.10003630
lea ecx, [esp + 0x14]
call fcn.10003610
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.10008980
push 0x5c
push 0x2f
mov ecx, edi
call fcn.1008bfc0
push str..png
push 4
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.10018700
mov ecx, eax
call fcn.10031050
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.10003610
test bl, bl
je 0x100f1d14
lea ecx, [esp + 0xc]
call fcn.10003610
pop edi
pop ebx
xor al, al
pop esi
add esp, 0xc
ret
push edi
lea ecx, [esp + 0x14]
call fcn.100035f0
lea ecx, [esp + 0x10]
call fcn.10035750
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x10]
push eax
call fcn.100fd130
mov eax, dword [edi]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100f1d62
cmp dword [esi + 8], 0
je 0x100f1ddd
mov esi, dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [edx]
push edi
push 0
mov ecx, esi
call eax
jmp 0x100f1ddd
mov ecx, dword [esi + 0x20]
cmp dword [ecx - 0xc], 0
lea ebx, [esi + 0x20]
je 0x100f1d84
mov eax, dword [esi + 4]
add eax, 0x1a4
push eax
push ebx
call fcn.100e7e80
add esp, 8
test al, al
je 0x100f1ddd
mov ecx, dword [esi + 0x1c]
call fcn.100f9a10
mov ecx, dword [esi + 0x1c]
push esi
call fcn.100fa060
mov edx, dword [esi + 4]
add edx, 0x1a4
push edx
mov ecx, ebx
call fcn.10002fb0
mov eax, dword [esi + 4]
add eax, 0x1a4
push eax
lea ecx, [esp + 0x18]
call fcn.100035f0
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
call fcn.100f99a0
mov ecx, dword [esi + 0x1c]
push 0
push 0
call fcn.100f9970
lea ecx, [esp + 0x14]
call fcn.10003610
lea ecx, [esp + 0x10]
call fcn.10003610
lea ecx, [esp + 0xc]
call fcn.10003610
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0xc
ret
xor al, al
pop esi
add esp, 0xc
ret