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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090930
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100af440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.1000c2e0
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.100905e0
mov edi, eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.100905e0
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.10090690
mov byte [ebp - 4], 4
push dword [edi]
push dword [esi]
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x18]
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.10012f50
add esp, 0x1c
lea ecx, [ebp - 0x1c]
call fcn.1000c400
lea ecx, [ebp - 0x20]
call fcn.1000c400
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1000c400
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000c300
push str.extensions.json
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000ceb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.1000cf30
push 0
push 0
push 3
push 0
push 0
push accept
lea ecx, [ebp - 0x14]
call fcn.1000ce50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100905ae
push 0
push ebx
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.10061805
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 0x28]
push eax
push esi
push edi
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100904a3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100905ae
push 0x10099dc5
lea ecx, [ebp - 0x10]
call fcn.1000c340
push edi
lea eax, [ebp - 0x10]
push 0x10099ebc
push eax
mov byte [ebp - 4], 6
call fcn.10012f50
add esp, 0xc
push edi
call fcn.10061e3a
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push ebx
call edi
push 0
push 0x1009f22c
lea ecx, [ebp - 0x10]
call fcn.1000ca50
mov esi, eax
cmp esi, 0xffffffff
je 0x1009050d
lea ecx, [esi + 3]
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.1001dfb0
lea ecx, [ebp - 0x18]
call fcn.1000ce50
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10021b80
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x14]
call fcn.1000ce50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.1000ced0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], 0
call fcn.1000ce50
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100905a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x1c]
call fcn.1000c2e0
mov byte [ebp - 4], 7
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push 0x10099ebc
push eax
call fcn.10012f50
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.1000c400
push esi
call edi
lea ecx, [ebp - 0x10]
call fcn.1000c400
lea ecx, [ebp - 0x14]
call fcn.1000c400
lea ecx, [ebp - 0x18]
call fcn.1000c400
lea ecx, [ebp + 8]
call fcn.1000c400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4