Function at 0x4437a0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x50d26b
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
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 0x443808
push eax
call fcn.004ccef0
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea esi, [esp + 0x1c]
call fcn.0043fc80
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.0043fdc0
test al, al
je 0x4438c4
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 0x443877
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x443877
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 0x4438a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x4438a5
xor esi, esi
lea ecx, [esi + 4]
push ecx
call fcn.004ccfcd
mov edi, eax
add esp, 4
test edi, edi
jne 0x443935
cmp byte [ebp + 0x11c], al
je 0x4438ee
add ebp, 0xc
jmp 0x4438f1
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.0043fcf0
xor al, al
jmp 0x443a0b
mov ebp, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.00439450
push 0x52a87c
mov esi, eax
push 0x52139c
mov edx, esi
call fcn.0043a8a0
add ebp, 4
push ebp
push 0x52139c
mov edx, esi
call fcn.0043a8a0
mov dword [esp + 0x390], 0xffffffff
add esp, 0x10
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x4438d3
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
lea ecx, [esp + 0x374]
call fcn.00447bd0
test al, al
jne 0x44397a
cmp byte [ebp + 0x11c], al
je 0x443967
mov ecx, dword [esp + 0x14]
add ebp, 0xc
call fcn.00439450
push 0x5299c4
jmp 0x4438ff
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
call fcn.00439450
push 0x5299c4
jmp 0x4438ff
lea eax, [esp + 0x1c]
push eax
call fcn.0043ffe0
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.00443c00
test al, al
jne 0x4439e2
cmp byte [ebp + 0x11c], al
je 0x4439b0
add ebp, 0xc
jmp 0x4439b3
mov ebp, dword [ebp + 8]
add ebp, 4
push ebp
push 0x5299c4
mov ecx, esi
call fcn.00402960
mov ecx, eax
call fcn.00439dd0
mov dword [esp + 0x380], 0xffffffff
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x4438d3
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.0043fcf0
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.004ccee1
add esp, 0x370
ret 8