Function at 0x1090de60
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b1a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
mov edi, dword [ebp + 8]
cmp dword [eax], 0
je 0x1090deb2
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileW]
jmp 0x1090df08
push edi
mov esi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call esi
add esp, 4
test eax, eax
jne 0x1090dec7
mov dword [ebp + 8], eax
jmp 0x1090dede
push edi
call esi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924dc0
mov dword [ebp - 0x10], esp
mov dword [ebp + 8], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call esi
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1090df53
test byte [ebp + 0xc], 1
je 0x1090df4c
mov eax, dword [sym.imp.Core.dll_int_GLanguageType]
push edi
cmp dword [eax], 0
mov eax, dword [sym.imp.Core.dll_class_FOutputDeviceError__GError]
jne 0x1090df3c
push 0x10936538
push dword [eax]
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__]
add esp, 0xc
xor eax, eax
jmp 0x1090e05c
push 0x109365a0
push dword [eax]
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__]
add esp, 0xc
xor eax, eax
jmp 0x1090e05c
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x10936634
push 0x4c
call dword [eax]
mov dword [ebp + 8], eax
test eax, eax
je 0x1090df87
push edi
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
push eax
push dword [ebp + 0x10]
push esi
mov ecx, dword [ebp + 8]
call fcn.1090d2d0
mov esi, eax
jmp 0x1090df89
xor esi, esi
push edi
push 0x1093665c
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e072
test esi, esi
je 0x1090dfaa
mov eax, dword [esi + 0x40]
mov dword [ebx + 4], eax
cmp dword [ebx + 4], 0x19d
je 0x1090dfd5
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090dfd5
push 0x10936670
push 0
call dword [sym.imp.Core.dll_int___cdecl_appMsgf_int__wchar_t_const__const]
push 0
call dword [sym.imp.Core.dll_void___cdecl_appRequestExit_int_]
add esp, 0xc
cmp dword [esi + 0x40], 0x19d
jne 0x1090e165
mov dword [ebp + 8], 0x10933fb0
mov dword [ebp + 8], 0x10933f94
mov byte [ebp - 4], 1
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109366c4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e01f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090cae0
mov edi, eax
jmp 0x1090e021
xor edi, edi
push edi
push esi
lea ecx, [ebp + 8]
call fcn.1090bac0
mov dword [edi + 0x48], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov dword [ebp + 8], 0x10933f94
mov eax, edi
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
push 0x109366e0
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e148
test esi, esi
je 0x1090e093
mov eax, dword [esi + 0x40]
mov dword [ebx + 8], eax
cmp dword [ebx + 8], 0x19d
je 0x1090e0be
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090e0be
push 0x109366f8
push 0
call dword [sym.imp.Core.dll_int___cdecl_appMsgf_int__wchar_t_const__const]
push 0
call dword [sym.imp.Core.dll_void___cdecl_appRequestExit_int_]
add esp, 0xc
cmp dword [esi + 0x40], 0x19d
jne 0x1090e165
mov dword [ebp + 0xc], 0x10933fb0
mov dword [ebp + 0xc], 0x10933f94
mov byte [ebp - 4], 2
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109366c4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e108
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090cae0
mov edi, eax
jmp 0x1090e10a
xor edi, edi
push edi
push esi
lea ecx, [ebp + 0xc]
call fcn.1090bac0
mov dword [edi + 0x48], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov dword [ebp + 0xc], 0x10933f94
jmp 0x1090e05a
push edi
push 0x10936750
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e16c
test esi, esi
je 0x1090e165
mov eax, dword [esi + 0x40]
mov dword [ebx + 0xc], eax
mov eax, esi
jmp 0x1090e05c
push 0x10936768
push edi
mov ebx, dword [sym.imp.Core.dll_wchar_t____cdecl_appStristr_wchar_t_const___wchar_t_const__]
call ebx
add esp, 8
test eax, eax
je 0x1090e1d7
test esi, esi
je 0x1090e165
cmp dword [esi + 0x40], 0x79
je 0x1090e165
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090e165
mov eax, dword [sym.imp.Core.dll_int_GL2ReplayMode]
cmp dword [eax], 0
je 0x1090e1a9
mov eax, dword [sym.imp.Core.dll_int_GL2ReplayLoadResource]
cmp dword [eax], 0
jne 0x1090e165
push 0x10936774
push edi
call ebx
add esp, 8
test eax, eax
jne 0x1090e165
push edi
push 0x109367c8
push eax
call dword [sym.imp.Core.dll_int___cdecl_appMsgf_int__wchar_t_const__const]
push 0
call dword [sym.imp.Core.dll_void___cdecl_appRequestExit_int_]
add esp, 0x10
mov eax, esi
jmp 0x1090e05c
push 0x1093682c
push edi
call ebx
add esp, 8
test eax, eax
je 0x1090e165
cmp dword [esi + 0x40], 0x137
jne 0x1090e165
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109366c4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e222
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090cae0
mov edi, eax
jmp 0x1090e224
xor edi, edi
mov eax, dword [sym.imp.Core.dll_class_FCodec__GL2DESCodec]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
push esi
call dword [eax + 0x10]
mov dword [edi + 0x48], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x1090e05a