Function at 0x1b560
Capabilities:
Get file attributes
Get system information on windows
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xe0], 0
push 0x18
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.00017e94
add esp, 0xc
mov dword [ebp - 0x44], 0x18
lea ecx, [ebp - 0x4c]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
push 0xb
call fcn.00017e8e
mov dword [ebp - 0xcc], eax
push 0x206b6444
mov eax, dword [ebp - 0x4c]
push eax
push 0
call dword [0x18050]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x1b5f2
push 0x206b6444
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
call dword [0x18050]
mov dword [ebp - 0x68], eax
push 0
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x68]
push eax
push 0xb
call fcn.00017e8e
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x70], ecx
push 0x100
push 0
push 0x1a120
call fcn.00017e94
add esp, 0xc
push 0x191c0
push 0x1a120
call fcn.0001c080
push 0x1a120
call fcn.0001c040
push eax
push 0x1a120
push 0x1a1a0
call fcn.0001bfe0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 8]
mov dword [ebp - 0xe0], eax
push 0x1a1a0
lea ecx, [ebp - 0xac]
push ecx
call dword [0x18018]
lea edx, [ebp - 0xac]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x40
push 0
push 0
push 0x20
push 1
push 1
push 0x80
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0x10000000
lea edx, [ebp - 0x50]
push edx
call dword [0x18038]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jl 0x1b77a
push 5
push 0x18
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [0x18034]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jl 0x1b770
push 0x206b6444
mov eax, dword [ebp - 0xc0]
push eax
push 1
call dword [0x18050]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x1b770
push 0
push 0
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0xa4]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x50]
push ecx
call dword [0x18030]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0001bb20
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0001be80
push 0
mov edx, dword [ebp - 0x9c]
push edx
call dword [0x1802c]
mov eax, dword [ebp - 0x50]
push eax
call dword [0x18028]
call fcn.000114f0
mov ecx, dword [0x1aa4c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0xd0], edx
mov eax, dword [0x1a890]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x48], ecx
mov edx, dword [0x1a990]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xb0], eax
mov ecx, dword [0x1a89c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], edx
mov eax, dword [0x1a9e8]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 8], 0
je 0x1b845
push 0x191e4
call fcn.00017e6a
add esp, 4
mov edx, dword [0x1aa4c]
sub edx, dword [ebp - 0xe0]
add edx, dword [ebp - 8]
mov dword [ebp - 0xd0], edx
mov eax, dword [0x1a890]
sub eax, dword [ebp - 0xe0]
add eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov ecx, dword [0x1a990]
sub ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 8]
mov dword [ebp - 0xb0], ecx
mov edx, dword [0x1a89c]
sub edx, dword [ebp - 0xe0]
add edx, dword [ebp - 8]
mov dword [ebp - 0x6c], edx
mov eax, dword [0x1a9e8]
sub eax, dword [ebp - 0xe0]
add eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
push 7
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [0x1a938]
push edx
call fcn.00017e64
add esp, 0xc
mov eax, dword [ebp - 0x74]
add eax, 7
mov ecx, dword [0x1a938]
add ecx, 7
sub eax, ecx
sub eax, 5
mov dword [ebp - 0x64], eax
mov edx, dword [0x1a938]
mov byte [edx + 7], 0xe9
mov eax, dword [0x1a938]
mov ecx, dword [ebp - 0x64]
mov dword [eax + 8], ecx
push 7
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [0x1a8ac]
push eax
call fcn.00017e64
add esp, 0xc
mov ecx, dword [ebp - 0x98]
add ecx, 7
mov edx, dword [0x1a8ac]
add edx, 7
sub ecx, edx
sub ecx, 5
mov dword [ebp - 0x64], ecx
mov eax, dword [0x1a8ac]
mov byte [eax + 7], 0xe9
mov ecx, dword [0x1a8ac]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 8], edx
push 8
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [0x1a894]
push ecx
call fcn.00017e64
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, 8
mov eax, dword [0x1a894]
add eax, 8
sub edx, eax
sub edx, 5
mov dword [ebp - 0x64], edx
mov ecx, dword [0x1a894]
mov byte [ecx + 8], 0xe9
mov edx, dword [0x1a894]
mov eax, dword [ebp - 0x64]
mov dword [edx + 9], eax
push 0xb
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [0x1aa3c]
push edx
call fcn.00017e64
add esp, 0xc
mov eax, dword [ebp - 0x5c]
add eax, 0xb
mov ecx, dword [0x1aa3c]
add ecx, 0xb
sub eax, ecx
sub eax, 5
mov dword [ebp - 0x64], eax
mov edx, dword [0x1aa3c]
mov byte [edx + 0xb], 0xe9
mov eax, dword [0x1aa3c]
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0xc], ecx
push 7
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [0x1aa64]
push eax
call fcn.00017e64
add esp, 0xc
mov ecx, dword [ebp - 0x58]
add ecx, 7
mov edx, dword [0x1aa64]
add edx, 7
sub ecx, edx
sub ecx, 5
mov dword [ebp - 0x64], ecx
mov eax, dword [0x1aa64]
mov byte [eax + 7], 0xe9
mov ecx, dword [0x1aa64]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 8], edx
call fcn.00011510
cmp dword [ebp - 8], 0
je 0x1b9a8
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x1802c]
mov esp, ebp
pop ebp
ret