Function at 0x1002f000
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093440
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b5350]
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 ebx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.10008c10
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.1002f2a0
mov edi, eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.1002f2a0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.1002f360
mov byte [ebp - 4], 4
push dword [edi]
push dword [esi]
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x2c]
push dword [ebx + 0x978]
push str.__id_:__s___syncGUID_:__s___location_:_winreg_app_global___version_:_1.0.0___type_:_extension___internalName_:null__updateURL_:null__updateKey_:null__optionsURL_:null__optionsType_:null__aboutURL_:null__iconURL_:null__icon64URL_:null__defaultLocale_:_name_:_BrowserSafer___description_:_BrowserSafer___creator_:_Company___homepageURL_:null__visible_:true__active_:true__userDisabled_:false__appDisabled_:false__descriptor_:__s___installDate_:1443521394204__updateDate_:1443521394204__applyBackgroundUpdates_:1__bootstrap_:true__size_:2802__sourceURI_:null__releaseNotesURI_:null__softDisabled_:false__foreignInstall_:true__hasBinaryComponents_:false__strictCompatibility_:false__locales_:____targetApplications_:__id_:__s___minVersion_:_38.0a1___maxVersion_:_39.0___id_:__s___minVersion_:_38.0a1___maxVersion_:_39.0____targetPlatforms_:____multiprocessCompatible_:false__signedState_:0_
push eax
call fcn.1000db70
add esp, 0x1c
lea ecx, [ebp - 0x28]
call fcn.10008cc0
lea ecx, [ebp - 0x24]
call fcn.10008cc0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10008cc0
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
call fcn.10008c30
push str.extensions.json
push 0x104
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.10009350
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push ecx
lea ecx, [ebp - 0x24]
call fcn.10009380
lea ecx, [ebp - 0x24]
call fcn.10001a10
push 0
push 0
push 3
push 0
push 0
push accept
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1002f269
push 0
push ebx
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.1006caea
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1002f156
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002f269
push 0x100a73c5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.10008c50
push edi
lea eax, [ebp - 0x20]
push 0x100a752c
push eax
mov byte [ebp - 4], 6
call fcn.1000db70
add esp, 0xc
push edi
call fcn.100704e2
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push ebx
call edi
push 0
push 0x100acb9c
lea ecx, [ebp - 0x20]
call fcn.10008f80
mov esi, eax
cmp esi, 0xffffffff
je 0x1002f1c7
lea ecx, [esi + 3]
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.10017ce0
lea ecx, [ebp - 0x2c]
call fcn.10001a10
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.1002fa20
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.10009360
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0
call fcn.10001a10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1002f25e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.10008c10
mov byte [ebp - 4], 7
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push 0x100a752c
push eax
call fcn.1000db70
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10008cc0
push esi
call edi
lea ecx, [ebp - 0x20]
call fcn.10008cc0
lea ecx, [ebp - 0x24]
call fcn.10008cc0
lea ecx, [ebp - 0x2c]
call fcn.10008cc0
lea ecx, [ebp + 8]
call fcn.10008cc0
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.100704e7
mov esp, ebp
pop ebp
ret 4