Function at 0x41adb0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4f5252
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4bc]
mov ebx, ecx
call fcn.00404c20
xor esi, esi
cmp byte [ebx + 0x1c], 0
mov dword [ebx + 0x18], esi
jne 0x41aedf
mov dword [esp + 0x14], vtable.t_fileTextRead.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4b4], esi
call fcn.00410c10
mov eax, ebp
lea edx, [esp + 0x28]
call fcn.00410e40
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 2
call fcn.00420120
mov byte [esp + 0x4b4], 0
cmp byte [esp + 0x144], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x28], vtable.t_str.0
jne 0x41ae80
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x41ae80
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x41aeba
mov ecx, edi
call fcn.0040fa50
push 0x52bfdc
push 0x52a3bc
mov edx, eax
call fcn.004114a0
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, esi
je 0x41aeb3
push eax
call fcn.004d1d15
add esp, 4
xor al, al
jmp 0x41b0ac
lea edx, [esp + 0x14]
push edx
push ebx
call fcn.0041b6a0
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41b0aa
push eax
call fcn.004d1d15
add esp, 4
jmp 0x41b0aa
lea esi, [esp + 0x14c]
call fcn.0041c530
xor esi, esi
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x498], 0x52c3d8
mov dword [esp + 0x49c], esi
mov dword [esp + 0x4a0], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4b4], 3
call fcn.00410c10
mov eax, ebp
lea edx, [esp + 0x28]
call fcn.00410e40
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x4bc], 5
call fcn.0041f530
mov byte [esp + 0x4b4], 3
cmp byte [esp + 0x144], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x28], vtable.t_str.0
jne 0x41af7d
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x41af7d
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x41afd3
mov ecx, edi
call fcn.0040fa50
push 0x52bff0
push 0x52a3bc
mov edx, eax
call fcn.004114a0
add esp, 8
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x14c]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x498], 0x52c554
call fcn.0041c5a0
xor al, al
jmp 0x41b0ac
mov eax, dword [esp + 0x150]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41affd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x41affd
xor ebp, ebp
lea ecx, [ebp + 1]
push ecx
call fcn.004d1df2
mov esi, eax
add esp, 4
test esi, esi
jne 0x41b020
mov ecx, edi
call fcn.0040fa50
push 0x52c004
jmp 0x41af90
push ebp
push esi
push edi
lea ecx, [esp + 0x4a4]
call fcn.0041f590
test al, al
jne 0x41b044
push 0x52c028
mov ecx, edi
call fcn.00401490
jmp 0x41af9f
lea ecx, [esp + 0x14c]
mov byte [esi + ebp], 0
call fcn.0041c880
push esi
push ebx
mov eax, ebp
call fcn.0041b0e0
push esi
mov bl, al
call fcn.004d1d15
add esp, 4
test bl, bl
jne 0x41b093
push 0x52bfdc
mov ecx, edi
call fcn.00401490
lea ecx, [esp + 0x14c]
mov dword [esp + 0x4b4], 0xffffffff
call fcn.0041f510
xor al, al
jmp 0x41b0ac
lea ecx, [esp + 0x14c]
mov dword [esp + 0x4b4], 0xffffffff
call fcn.0041f510
mov al, 1
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.004d158d
add esp, 0x4a8
ret 4