Function at 0x100105b0
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 0x100ee7c6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call fcn.10010140
test al, al
je 0x100108f1
lea eax, [esp + 0x58]
mov dword [esp + 0x60], 0
xorps xmm0, xmm0
mov ecx, ebx
push eax
movq qword [esp + 0x5c], xmm0
call fcn.1000fec0
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 0x100108d2
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.10001a70
push str.logins.json
lea eax, [esp + 0x68]
mov byte [esp + 0xac], 1
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10007140
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.10001a70
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 3
call fcn.1003ad30
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 0x100106fa
push dword [esp + 0x24]
call edi
add esp, 4
test bl, bl
je 0x10010885
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.10001a70
lea ecx, [esp + 0x3c]
call fcn.1003a310
add esp, 0x18
mov byte [esp + 0xa8], 4
cmp dword [eax + 0x14], 0x10
jb 0x10010746
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 0x1001076d
push dword [esp + 0x24]
call edi
add esp, 4
test ebx, ebx
jne 0x10010885
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 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x10010885
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
push ecx
call fcn.100e0c76
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100107e8
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.10007b40
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.10007d40
push dword [ebp + 8]
mov ecx, dword [esp + 0x38]
call fcn.10010920
test ebx, ebx
je 0x1001083e
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 0x10010867
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 0x10010895
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 0x100108bf
push dword [esp + 0x64]
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
add esi, 0x18
cmp esi, eax
jne 0x10010641
mov esi, dword [esp + 0x58]
test esi, esi
je 0x100108ef
push dword [esp + 0x14]
lea ecx, [esp + 0x1f]
push ecx
push eax
push esi
call fcn.100075e0
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.100ebd7b
mov esp, ebp
pop ebp
ret 4