Function at 0x43e080
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x5030bb
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
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 0x43e0e8
push eax
call fcn.004c31b0
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea esi, [esp + 0x1c]
call fcn.0043a2a0
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.0043a3e0
test al, al
je 0x43e1a4
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 0x43e157
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x43e157
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 0x43e185
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x43e185
xor esi, esi
lea ecx, [esi + 4]
push ecx
call fcn.004c328d
mov edi, eax
add esp, 4
test edi, edi
jne 0x43e215
cmp byte [ebp + 0x11c], al
je 0x43e1ce
add ebp, 0xc
jmp 0x43e1d1
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.0043a310
xor al, al
jmp 0x43e2eb
mov ebp, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.00433db0
push 0x520914
mov esi, eax
push 0x51620c
mov edx, esi
call fcn.004351e0
add ebp, 4
push ebp
push 0x51620c
mov edx, esi
call fcn.004351e0
mov dword [esp + 0x390], 0xffffffff
add esp, 0x10
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x43e1b3
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
lea ecx, [esp + 0x374]
call fcn.00441fe0
test al, al
jne 0x43e25a
cmp byte [ebp + 0x11c], al
je 0x43e247
mov ecx, dword [esp + 0x14]
add ebp, 0xc
call fcn.00433db0
push 0x51fa60
jmp 0x43e1df
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
call fcn.00433db0
push 0x51fa60
jmp 0x43e1df
lea eax, [esp + 0x1c]
push eax
call fcn.0043a600
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.0043e4e0
test al, al
jne 0x43e2c2
cmp byte [ebp + 0x11c], al
je 0x43e290
add ebp, 0xc
jmp 0x43e293
mov ebp, dword [ebp + 8]
add ebp, 4
push ebp
push 0x51fa60
mov ecx, esi
call fcn.00402790
mov ecx, eax
call fcn.00434720
mov dword [esp + 0x380], 0xffffffff
mov dword [esp + 0x1c], vtable.t_fileRead.0
jmp 0x43e1b3
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.0043a310
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.004c31a1
add esp, 0x370
ret 8