Function at 0x422ee0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x512362
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4bc]
mov ebx, ecx
call fcn.00405700
xor esi, esi
cmp byte [ebx + 0x1c], 0
mov dword [ebx + 0x18], esi
jne 0x42300f
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.004174b0
mov eax, ebp
lea edx, [esp + 0x28]
call fcn.00417710
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4bc], 2
call fcn.00426eb0
mov byte [esp + 0x4b4], 0
cmp byte [esp + 0x144], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x28], vtable.t_str.0
jne 0x422fb0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x422fb0
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x422fea
mov ecx, edi
call fcn.00416430
push 0x54b5d0
push 0x549858
mov edx, eax
call fcn.00417ed0
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, esi
je 0x422fe3
push eax
call fcn.004ed7b6
add esp, 4
xor al, al
jmp 0x4231e1
lea edx, [esp + 0x14]
push edx
push ebx
call fcn.004237c0
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4231df
push eax
call fcn.004ed7b6
add esp, 4
jmp 0x4231df
lea esi, [esp + 0x14c]
call fcn.00425230
xor esi, esi
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x498], 0x54bd20
mov dword [esp + 0x49c], esi
mov dword [esp + 0x4a0], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4b4], 3
call fcn.004174b0
mov eax, ebp
lea edx, [esp + 0x28]
call fcn.00417710
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x4bc], 5
call fcn.00427790
mov byte [esp + 0x4b4], 3
cmp byte [esp + 0x144], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x28], vtable.t_str.0
jne 0x4230ad
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x4230ad
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x423103
mov ecx, edi
call fcn.00416430
push 0x54b5e4
push 0x549858
mov edx, eax
call fcn.00417ed0
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], 0x54bd40
call fcn.004252a0
xor al, al
jmp 0x4231e1
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 0x42312d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x42312d
xor ebp, ebp
lea ecx, [ebp + 1]
push ecx
call fcn.004ed893
mov esi, eax
add esp, 4
test esi, esi
jne 0x423150
mov ecx, edi
call fcn.00416430
push 0x54b5f8
jmp 0x4230c0
push ebp
push esi
push edi
lea ecx, [esp + 0x4a4]
call fcn.004277f0
test al, al
jne 0x423174
push 0x54b61c
mov ecx, edi
call fcn.004014b0
jmp 0x4230cf
lea ecx, [esp + 0x14c]
mov byte [esi + ebp], 0
call fcn.00425580
push 0x3a8
push ebp
push esi
mov ecx, ebx
call fcn.00423210
push esi
mov bl, al
call fcn.004ed7b6
add esp, 4
test bl, bl
jne 0x4231c8
push 0x54b5d0
mov ecx, edi
call fcn.004014b0
lea ecx, [esp + 0x14c]
mov dword [esp + 0x4b4], 0xffffffff
call fcn.00427770
xor al, al
jmp 0x4231e1
lea ecx, [esp + 0x14c]
mov dword [esp + 0x4b4], 0xffffffff
call fcn.00427770
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.004ecddb
add esp, 0x4a8
ret 4