Function at 0x41bfd0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x43736b
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x449250]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449250]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov eax, dword [esp + 0x39c]
mov ebp, dword [esp + 0x398]
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x1c], ebx
cmp eax, edi
je 0x41c03e
push eax
call fcn.004229f3
add esp, 4
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
lea esi, [esp + 0x24]
call fcn.0040ea50
mov esi, vtable.t_fileRead.0
mov dword [esp + 0x24], esi
mov dword [esp + 0x378], 0x443f04
mov dword [esp + 0x37c], edi
mov dword [esp + 0x380], edi
mov eax, dword [esp + 0x18]
push edi
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x39c], edi
call fcn.0040eba0
test al, al
je 0x41c14f
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileSize]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x41c0b1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
je 0x41c0b1
xor esi, esi
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x384], esi
mov dword [esp + 0x28], edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x41c0db
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
je 0x41c0db
xor esi, esi
lea eax, [esi + 4]
push eax
call fcn.00424233
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x41c180
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x24], 2
cmp byte [eax + 0x11c], 0
lea edi, [eax + 0xc]
jne 0x41c10b
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x1c]
call fcn.0040ba40
mov esi, eax
push 0x443d64
push 0x441f54
mov edx, esi
call fcn.0040c340
add edi, 4
push edi
push 0x441f54
mov edx, esi
call fcn.0040c340
mov dword [esp + 0x3a0], 0xffffffff
add esp, 0x10
mov dword [esp + 0x24], vtable.t_fileRead.0
jmp 0x41c165
mov dword [esp + 0x390], 0xffffffff
mov dword [ebp + 0x24], 1
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0040ead0
xor al, al
jmp 0x41c275
mov edi, dword [esp + 0x1c]
push esi
push ebx
push edi
lea ecx, [esp + 0x384]
call fcn.0041c930
test al, al
jne 0x41c1d4
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x24], 3
cmp byte [eax + 0x11c], 0
lea ebx, [eax + 0xc]
jne 0x41c1b1
mov ebx, dword [eax + 8]
mov eax, edi
call fcn.0040ba40
mov esi, eax
push 0x4431c4
push 0x441f54
mov edx, esi
call fcn.0040c340
add ebx, 4
push ebx
jmp 0x41c12b
lea edi, [esp + 0x24]
call fcn.0040edd0
mov edi, dword [esp + 0x1c]
push esi
push ebx
push edi
xor ecx, ecx
xor edx, edx
push ebp
mov word [ebx + esi + 2], cx
mov word [ebx + esi], dx
call fcn.0041c400
test al, al
jne 0x41c24c
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x24], 4
cmp byte [eax + 0x11c], 0
lea esi, [eax + 0xc]
jne 0x41c215
mov esi, dword [eax + 8]
push 0x4431c4
mov eax, edi
call fcn.00405520
add esi, 4
push esi
push 0x441f54
mov edx, eax
call fcn.0040c340
mov dword [esp + 0x398], 0xffffffff
add esp, 8
mov dword [esp + 0x24], vtable.t_fileRead.0
jmp 0x41c165
mov dword [esp + 0x390], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0040ead0
mov al, 1
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.004223b0
add esp, 0x380
ret 8