Function at 0x442fc0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x50bceb
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
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 0x443028
push eax
call fcn.004cc2c0
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea esi, [esp + 0x1c]
call fcn.004419b0
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.00441af0
test al, al
je 0x4430e4
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 0x443097
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x443097
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 0x4430c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x4430c5
xor esi, esi
lea ecx, [esi + 4]
push ecx
call fcn.004cc39d
mov edi, eax
add esp, 4
test edi, edi
jne 0x443155
cmp byte [ebp + 0x11c], al
je 0x44310e
add ebp, 0xc
jmp 0x443111
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.00441a20
xor al, al
jmp 0x44322b
mov ebp, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.00438300
push 0x52a54c
mov esi, eax
push 0x51f1f4
mov edx, esi
call fcn.00439710
add ebp, 4
push ebp
push 0x51f1f4
mov edx, esi
call fcn.00439710
mov dword [esp + 0x390], 0xffffffff
add esp, 0x10
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x4430f3
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
lea ecx, [esp + 0x374]
call fcn.00446be0
test al, al
jne 0x44319a
cmp byte [ebp + 0x11c], al
je 0x443187
mov ecx, dword [esp + 0x14]
add ebp, 0xc
call fcn.00438300
push 0x52a30c
jmp 0x44311f
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
call fcn.00438300
push 0x52a30c
jmp 0x44311f
lea eax, [esp + 0x1c]
push eax
call fcn.00441d10
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.00443420
test al, al
jne 0x443202
cmp byte [ebp + 0x11c], al
je 0x4431d0
add ebp, 0xc
jmp 0x4431d3
mov ebp, dword [ebp + 8]
add ebp, 4
push ebp
push 0x52a30c
mov ecx, esi
call fcn.00402790
mov ecx, eax
call fcn.00438c70
mov dword [esp + 0x380], 0xffffffff
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x4430f3
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.00441a20
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.004cc2b1
add esp, 0x370
ret 8