Function at 0x494c80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 0x10]
mov byte [eax + 0x14], cl
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x14]
test eax, eax
je 0x494dd2
push 0x716764
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401720
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
cmp dword [ebp - 0xc], 0
je 0x494dc3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 1
push 4
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.006b7750
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x494d2f
push 0x1c
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenDDLibrarySourceFileClump.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0067ac30
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0067ac30
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.006b7750
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.006b7750
add esp, 0x10
jmp 0x494dcd
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
jmp 0x494f03
push 0x717e54
mov eax, dword [ebp + 8]
push eax
call fcn.00401720
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
cmp dword [ebp - 0x10], 0
je 0x494ef9
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 1
push 4
mov edx, dword [ebp - 4]
add edx, 4
push edx
call fcn.006cf670
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0067ac30
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0067ac30
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
mov dword [ebp - 8], 0
jmp 0x494e79
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 4]
jae 0x494ea6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + ecx*4], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + ecx*4], 0
jmp 0x494e70
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.006cf670
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.006cf670
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
shl eax, 1
lea ecx, [eax*4 + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
jmp 0x494f03
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc