Function at 0x4e4b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10f0
call fcn.004bdf20
mov eax, dword [0x5be9a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x10bc], ecx
mov dword [ebp - 0x10cc], ecx
mov dword [ebp - 0x10c8], ecx
mov ecx, dword [edi + 0x14]
push ecx
mov dword [ebp - 0x10d4], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
lea edx, [ebp - 0x10c]
push str._s.cyc
push edx
mov dword [ebp - 0x10dc], edi
mov dword [ebp - 0x10c0], eax
mov dword [ebp - 0x10b0], ebx
call fcn.004b70c5
add esp, 0xc
lea eax, [ebp - 0x10c]
push 0x5c1218
push eax
call fcn.004b80e6
mov esi, eax
add esp, 8
mov dword [ebp - 0x10d8], esi
test esi, esi
jne 0x4e4baa
push str.error:_read_cycles_cant_open_cycle_file_n
push edi
call fcn.00410350
add esp, 8
lea eax, [esi + 2]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bc40c
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 0
je 0x4e4c26
mov ecx, dword [edi + 0x14]
push ecx
lea edx, [ebp - 0x10c]
push 0x5c1248
push edx
call fcn.004b70c5
add esp, 0xc
lea eax, [ebp - 0x10c]
push 0x5c1250
push eax
call fcn.004b80e6
add esp, 8
mov dword [ebp - 0x10bc], eax
test eax, eax
jne 0x4e4c0a
push str.error:_read_cycles_cant_open_dependency_file_n
push edi
call fcn.00410350
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bc40c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
dec ecx
mov eax, 1
xor edx, edx
call fcn.0050dc90
mov dword [ebp - 0x10cc], eax
mov dword [ebp - 0x10c8], edx
push esi
push 1
lea ecx, [ebp - 0x10b8]
push 4
push ecx
call fcn.004b98dd
mov edi, dword [ebp - 0x10b8]
add esp, 0x10
test ebx, ebx
jne 0x4e4c71
push 0x10
push edi
call fcn.004b9228
add esp, 8
test eax, eax
jne 0x4e4c6b
shl edi, 4
push edi
push 0x5c1150
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov dword [ebp - 0x10b0], eax
xor ebx, ebx
mov dword [ebp - 0x10d0], ebx
test edi, edi
je 0x4e4d8e
mov edi, dword [ebp - 0x10b0]
push esi
push 1
lea edx, [ebp - 0x10b4]
push 4
push edx
call fcn.004b98dd
add esp, 0x10
cmp eax, 1
jne 0x4e4d8e
mov eax, dword [ebp - 0x10b4]
cmp eax, 0x3e8
ja 0x4e4e35
push esi
push eax
lea eax, [ebp - 0x10ac]
push 4
push eax
call fcn.004b98dd
add esp, 0x10
cmp eax, dword [ebp - 0x10b4]
jne 0x4e4d8e
cmp dword [ebp + 0x10], 0
je 0x4e4d18
mov ecx, dword [ebp - 0x10bc]
push ecx
push 1
lea edx, [ebp - 0x10ec]
push 8
push edx
call fcn.004b98dd
add esp, 0x10
test eax, eax
je 0x4e4e49
mov eax, dword [ebp - 0x10ec]
mov ecx, dword [ebp - 0x10e8]
and eax, dword [ebp - 0x10cc]
and ecx, dword [ebp - 0x10c8]
or eax, ecx
je 0x4e4d75
mov eax, dword [ebp - 0x10b4]
mov esi, edi
add edi, 0x10
mov dword [ebp - 0x10e0], edi
mov dword [esi + 8], eax
mov edi, dword [ebp - 0x10b4]
add edi, edi
add edi, edi
push edi
inc ebx
call fcn.004b7263
add esp, 4
test eax, eax
je 0x4e4e5d
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x10b4]
lea edx, [ecx*4]
push edx
lea ecx, [ebp - 0x10ac]
push ecx
push eax
call fcn.004bd390
mov esi, dword [ebp - 0x10d8]
mov edi, dword [ebp - 0x10e0]
add esp, 0xc
mov eax, dword [ebp - 0x10d0]
inc eax
mov dword [ebp - 0x10d0], eax
cmp eax, dword [ebp - 0x10b8]
jb 0x4e4c87
mov edi, dword [ebp - 0x10dc]
push ebx
push str.read__u_cycles_n
push edi
call fcn.00410350
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x10b8], ebx
test ebx, ebx
je 0x4e4dd1
mov ecx, dword [ebp - 0x10b0]
add ecx, 8
jmp 0x4e4dc0
cmp dword [ecx], 0
je 0x4e4e72
inc eax
add ecx, 0x10
cmp eax, ebx
jb 0x4e4dc0
push esi
call fcn.004b8276
mov eax, dword [ebp - 0x10bc]
add esp, 4
test eax, eax
je 0x4e4ded
push eax
call fcn.004b8276
add esp, 4
mov eax, dword [ebp - 0x10b8]
test eax, eax
jne 0x4e4e87
mov edx, dword [ebp - 0x10b0]
push edx
call fcn.004b7229
mov eax, dword [ebp - 0x10d4]
mov ecx, dword [ebp - 0x10c0]
mov dword [eax], 0
add esp, 4
mov dword [ecx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bc40c
mov esp, ebp
pop ebp
ret
push str.error:_cycle_too_large__corrupt_file__n
call fcn.004b7f6d
add esp, 4
push 0xffffffffffffffff
call fcn.004b856d
push str.dependency_file_corrupt_n
call fcn.004b7f6d
add esp, 4
push 0xffffffffffffffff
call fcn.004b856d
push edi
push 0x5c1130
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
push str.error:_empty_cycle_encountered_n
push edi
call fcn.00410350
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov edx, dword [ebp - 0x10d4]
mov dword [edx], eax
shl eax, 4
mov edi, eax
mov eax, dword [ebp - 0x10b0]
push edi
push eax
call fcn.004b95e6
add esp, 8
test eax, eax
jne 0x4e4ebd
push edi
push 0x5c116c
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov ecx, dword [ebp - 0x10c0]
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004bc40c
mov esp, ebp
pop ebp
ret