Function at 0x10035d10
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102600b8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 8]
xor bl, bl
push 0xa
push 1
mov dword [ebp - 0x70], eax
call fcn.10007d80
mov ecx, eax
call fcn.10003450
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10035d6a
xor al, al
jmp 0x10036050
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
call edi
test eax, eax
je 0x10035d63
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x10035dad
test eax, eax
je 0x10035dad
push 0
push 0x10036210
push dword [ebp - 0x70]
push eax
push ecx
call fcn.100a29c0
test eax, eax
sete bl
push 0xa
push 8
call fcn.10007d80
mov ecx, eax
call fcn.10003450
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1003604e
push esi
push 0
call edi
test eax, eax
je 0x1003604e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x70]
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x6c], esi
call fcn.10006e50
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.1005ac75
add esp, 4
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0x102df854
test eax, eax
jne 0x10035e6b
call fcn.100382f0
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001b630
push eax
lea ecx, [ebp - 0x28]
call fcn.10022680
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10035ecf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035ec5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003606e
jmp 0x10035ec5
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov byte [eax + ecx - 1], 0
lea ecx, [ebp - 0x28]
call fcn.100382f0
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001b630
push eax
lea ecx, [ebp - 0x28]
call fcn.10022680
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10035ecf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035ec5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036073
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x10
push str.CloudPDFReader_
cmp eax, 0x10
jb 0x10035f09
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x10]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.100ccba0
mov byte [esi + 0x10], 0
add esp, 0xc
mov esi, dword [ebp - 0x6c]
jmp 0x10035f1a
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x6c]
push 0x10
call fcn.10025b80
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x28]
add ecx, 0x14
cmp ecx, eax
je 0x10035f38
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10006d00
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10035ff7
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.10004c70
lea eax, [ebp - 0x40]
push eax
call fcn.1005c0fc
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x10035f88
mov eax, dword [eax]
push eax
call fcn.1006a4a9
mov edx, dword [ebp - 0x2c]
add esp, 8
cmp edx, 8
jb 0x10035fcb
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10035fc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036078
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test ecx, ecx
je 0x10035ff7
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
test edi, edi
je 0x1003601e
test esi, esi
je 0x1003601e
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x10036530
push eax
push esi
push edi
call fcn.100a29c0
test eax, eax
sete bl
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1003604e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10036044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003607d
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret 4
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
int3