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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdf30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x633ef8]
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 - 0x2c], ebx
mov dword [ebp - 4], 0
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x42c73c
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0042cae0
mov edi, eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.0042cae0
mov esi, eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.0042cba0
mov byte [ebp - 4], 4
push dword [edi]
push dword [esi]
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x20]
push dword [ebx + 0x97c]
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.00415ec0
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
add esp, 0x1c
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c7b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c7d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c7f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
add eax, 0xc
mov dword [ebp - 0x1c], 0
push eax
call fcn.004163d0
mov byte [ebp - 4], 5
mov ecx, 1
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42c834
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.004165b0
mov esi, dword [ebp - 0x1c]
push str.extensions.json
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push dword [esi - 8]
push esi
call fcn.0059ea3d
add esp, 8
test eax, eax
js 0x42cad2
cmp eax, dword [esi - 8]
jg 0x42cad2
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x42c8c4
push 0
push eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.004544f0
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
mov byte [eax + edi], 0
push 0
push ecx
push edi
mov edi, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42c93a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42c8df
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c8fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42c91c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.005892bc
mov esp, ebp
pop ebp
ret 4
push 0x6097b3
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.004160f0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push 0x609340
push eax
call fcn.00415ec0
push 1
push dword [ebp - 0x18]
call fcn.00589403
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jl 0x42c9bb
push 0x60d444
push eax
call fcn.0059bf87
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x42c9bb
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
cmp ecx, 0xffffffff
je 0x42c9bb
lea eax, [ecx + 3]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040b100
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0042cf80
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
push 0
push edi
mov dword [ebp - 0x30], eax
mov edx, dword [ecx - 0xc]
push edx
push ecx
push eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x42ca71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x42ca30
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x609340
push eax
call fcn.00415ec0
mov byte [ebp - 4], 6
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ca71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ca98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42cab3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42c8fd
mov ecx, dword [edi]
push edi
jmp 0x42c8f8
push 0x80070057
call fcn.00416970
int3