Function at 0x456de8
Capabilities:
Terminate process

Disassembly:
mov eax, 0x631597
call fcn.00600064
sub esp, 0xb4
mov eax, dword [0x6b55d0]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp + 0xc]
push edi
push eax
push dword [ebp + 8]
mov edi, ecx
push str.Calling_FileSystem::AddDataFile:__s__memory_cached__d__n
call fcn.00401000
add esp, 0xc
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.00493e85
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401c73
mov ecx, eax
call fcn.00455553
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00402a58
lea ecx, [ebp - 0x2c]
call fcn.004935c3
push eax
call fcn.00401c73
mov ecx, eax
call fcn.004567df
test al, al
jne 0x456e86
lea ecx, [ebp - 0x2c]
call fcn.004935c3
push eax
push str.Datafile__s_not_found___n
call fcn.00401000
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00402a58
jmp 0x457013
push ebx
push esi
lea ecx, [ebp - 0xc0]
call fcn.004564f6
lea ecx, [edi + 4]
mov edx, dword [ecx + 4]
push eax
push edx
mov byte [ebp - 4], 3
call fcn.00456db9
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.004566e2
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
lea esi, [eax + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00494014
cmp byte [ebp + 0xc], 0
je 0x456f57
push 1
push 0x649b30
lea ecx, [ebp - 0x2c]
call fcn.00493639
push eax
mov ecx, edi
call fcn.0045573d
mov ebx, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push eax
mov dword [ebp + 8], eax
call fcn.004239a5
test eax, eax
pop ecx
mov dword [ebp - 0x30], eax
je 0x456f4d
push dword [ebp + 8]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x10]
push ebx
mov ecx, edi
call fcn.00454d0a
push 0x18
call fcn.0042392e
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x456f33
mov ecx, eax
call fcn.0045702a
mov ebx, eax
jmp 0x456f35
xor ebx, ebx
mov eax, dword [ebx]
push 1
push dword [ebp + 8]
mov ecx, ebx
push dword [ebp - 0x30]
mov byte [ebp - 4], 2
call dword [eax + 0x30]
mov dword [esi + 0x1c], ebx
jmp 0x456f51
mov byte [ebp + 0xc], 0
cmp byte [ebp + 0xc], 0
jne 0x456f98
push 1
push 0x649b30
lea ecx, [ebp - 0x2c]
call fcn.00493639
push eax
mov ecx, edi
call fcn.0045573d
mov dword [esi + 0x1c], eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
test al, al
jne 0x456f98
lea ecx, [ebp - 0x2c]
call fcn.004935c3
push eax
push str.could_not_open_datafile__s_n
call fcn.0044ffcd
pop ecx
pop ecx
push 1
call fcn.00603043
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
push 0x40
lea edx, [esi + 0x20]
push edx
call dword [eax + 0x10]
push dword [esi + 0x40]
lea ecx, [esi + 0x60]
call fcn.0045667e
mov ebx, dword [esi + 0x40]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
shl ebx, 7
push ebx
push eax
call dword [edx + 0x10]
mov eax, dword [esi + 0x40]
test eax, eax
jle 0x456ff2
and dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x64]
mov ecx, dword [ebp + 0xc]
lea ebx, [ecx + eax]
push ebx
mov ecx, edi
call fcn.00454d5d
add dword [ebp + 0xc], 0x80
dec dword [ebp + 8]
mov dword [ebx + 0x7c], eax
jne 0x456fd2
push dword [esi + 0x1c]
push dword [esi + 0x40]
push str.__entries_in_datafile:__d_info__dataFile:__x__n
call fcn.00401000
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00402a58
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
call fcn.006009d4
leave
ret 8