Function at 0x442ca0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x50596b
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x378]
mov dword fs:[0], eax
mov eax, dword [esp + 0x388]
mov ebp, dword [esp + 0x38c]
mov ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x442d08
push eax
call fcn.004c6103
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea esi, [esp + 0x1c]
call fcn.00441690
mov esi, vtable.t_fileRead.0
mov dword [esp + 0x1c], esi
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x36c], edi
mov dword [esp + 0x370], edi
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esp + 0x24]
push edx
mov eax, ebp
mov dword [esp + 0x38c], edi
call fcn.004417d0
test al, al
je 0x442dc4
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x442d77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x442d77
xor esi, esi
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x374], esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x442da5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x442da5
xor esi, esi
lea ecx, [esi + 4]
push ecx
call fcn.004c61e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x442e35
cmp byte [ebp + 0x11c], al
je 0x442dee
add ebp, 0xc
jmp 0x442df1
mov dword [esp + 0x380], 0xffffffff
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441700
xor al, al
jmp 0x442f0b
mov ebp, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.00437ec0
push 0x522b2c
mov esi, eax
push 0x5192f4
mov edx, esi
call fcn.004392f0
add ebp, 4
push ebp
push 0x5192f4
mov edx, esi
call fcn.004392f0
mov dword [esp + 0x390], 0xffffffff
add esp, 0x10
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x442dd3
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
lea ecx, [esp + 0x374]
call fcn.00446840
test al, al
jne 0x442e7a
cmp byte [ebp + 0x11c], al
je 0x442e67
mov ecx, dword [esp + 0x14]
add ebp, 0xc
call fcn.00437ec0
push 0x5228ec
jmp 0x442dff
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
call fcn.00437ec0
push 0x5228ec
jmp 0x442dff
lea eax, [esp + 0x1c]
push eax
call fcn.004419f0
xor ecx, ecx
xor edx, edx
push esi
mov word [edi + esi + 2], cx
mov word [edi + esi], dx
mov esi, dword [esp + 0x18]
push esi
push ebx
mov ebx, edi
call fcn.00443100
test al, al
jne 0x442ee2
cmp byte [ebp + 0x11c], al
je 0x442eb0
add ebp, 0xc
jmp 0x442eb3
mov ebp, dword [ebp + 8]
add ebp, 4
push ebp
push 0x5228ec
mov ecx, esi
call fcn.00402790
mov ecx, eax
call fcn.00438830
mov dword [esp + 0x380], 0xffffffff
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x442dd3
mov dword [esp + 0x380], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441700
mov al, 1
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.004c60f4
add esp, 0x370
ret 8