Function at 0x1001b2d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015348b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x78]
call fcn.1001ac60
movzx eax, al
test eax, eax
jne 0x1001b314
xor al, al
jmp 0x1001b5e0
push 0xc
lea ecx, [ebp - 0x24]
call fcn.10001860
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.1001aa40
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.10001860
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x24]
call fcn.10005650
jmp 0x1001b351
lea ecx, [ebp - 0x14]
call fcn.1000b070
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000af30
push eax
lea ecx, [ebp - 0x14]
call fcn.1000b090
movzx ecx, al
test ecx, ecx
je 0x1001b5ca
lea ecx, [ebp - 0x14]
call fcn.100031c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.10004030
mov byte [ebp - 4], 1
push str.logins.json
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.1000bcd0
add esp, 0xc
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
lea edx, [ebp - 0x54]
push edx
call fcn.10004030
mov dword [ebp - 0xa0], eax
call fcn.1007dbc0
add esp, 0x18
mov byte [ebp - 0x72], al
movzx eax, byte [ebp - 0x72]
test eax, eax
jne 0x1001b3ec
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10003e00
jmp 0x1001b349
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x3c]
push edx
call fcn.10004030
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xcc]
call fcn.1007d260
add esp, 0x18
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x94]
call fcn.10001f00
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x60]
call edx
add esp, 4
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.10001f50
cmp dword [ebp - 0x8c], 0
je 0x1001b47c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10003e00
jmp 0x1001b349
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x54]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x1001b4c3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10003e00
jmp 0x1001b349
push 0
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
add ecx, 1
push ecx
call fcn.1014578c
add esp, 4
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 0
je 0x1001b51e
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.100029e0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x6c]
push eax
call fcn.1000d6d0
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x78]
call fcn.1001b600
cmp dword [ebp - 0x70], 0
je 0x1001b58f
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp dword [ebp - 0x80], 0
jne 0x1001b57f
mov dword [ebp - 0x88], 0
jmp 0x1001b58f
mov dword [ebp - 0x70], 0x8123
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x78]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10001f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10003e00
jmp 0x1001b349
mov byte [ebp - 0x71], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000af10
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 4