Function at 0x4140b0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x527f52
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x581500]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4bc]
mov ebx, ecx
call fcn.00402330
xor esi, esi
cmp byte [ebx + 0x1c], 0
mov dword [ebx + 0x18], esi
jne 0x4141df
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.004114e0
mov eax, ebp
lea edx, [esp + 0x28]
call fcn.00411710
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 2
call fcn.00412cc0
mov byte [esp + 0x4b4], 0
cmp byte [esp + 0x144], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x28], vtable.t_str.0
jne 0x414180
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x414180
push eax
call fcn.004faac5
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x4141ba
mov ecx, edi
call fcn.00409990
push 0x55e014
push 0x55d15c
mov edx, eax
call fcn.00411e80
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, esi
je 0x4141b3
push eax
call fcn.004faac5
add esp, 4
xor al, al
jmp 0x4143b1
lea edx, [esp + 0x14]
push edx
push ebx
call fcn.004149a0
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4143af
push eax
call fcn.004faac5
add esp, 4
jmp 0x4143af
lea esi, [esp + 0x14c]
call fcn.00417b60
xor esi, esi
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x498], 0x55e6d8
mov dword [esp + 0x49c], esi
mov dword [esp + 0x4a0], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4b4], 3
call fcn.004114e0
mov eax, ebp
lea edx, [esp + 0x28]
call fcn.00411710
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x4bc], 5
call fcn.00418390
mov byte [esp + 0x4b4], 3
cmp byte [esp + 0x144], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x28], vtable.t_str.0
jne 0x41427d
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x41427d
push eax
call fcn.004faac5
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x4142d3
mov ecx, edi
call fcn.00409990
push 0x55e028
push 0x55d15c
mov edx, eax
call fcn.00411e80
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], 0x55e85c
call fcn.00417bd0
xor al, al
jmp 0x4143b1
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 0x4142fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x4142fd
xor ebp, ebp
lea ecx, [ebp + 1]
push ecx
call fcn.004faba2
mov esi, eax
add esp, 4
test esi, esi
jne 0x414320
mov ecx, edi
call fcn.00409990
push 0x55e03c
jmp 0x414290
push ebp
push esi
push edi
lea ecx, [esp + 0x4a4]
call fcn.004183f0
test al, al
jne 0x414344
push 0x55e060
mov ecx, edi
call fcn.00402ea0
jmp 0x41429f
lea ecx, [esp + 0x14c]
mov byte [esi + ebp], 0
call fcn.00417eb0
push 0x3a8
push ebp
push esi
mov ecx, ebx
call fcn.004143e0
push esi
mov bl, al
call fcn.004faac5
add esp, 4
test bl, bl
jne 0x414398
push 0x55e014
mov ecx, edi
call fcn.00402ea0
lea ecx, [esp + 0x14c]
mov dword [esp + 0x4b4], 0xffffffff
call fcn.00418370
xor al, al
jmp 0x4143b1
lea ecx, [esp + 0x14c]
mov dword [esp + 0x4b4], 0xffffffff
call fcn.00418370
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.004fa259
add esp, 0x4a8
ret 4