Function at 0x1090de50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b2b0
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 0x1090dea2
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileW]
jmp 0x1090def8
push edi
mov esi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call esi
add esp, 4
test eax, eax
jne 0x1090deb7
mov dword [ebp + 8], eax
jmp 0x1090dece
push edi
call esi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924db0
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 0x1090df43
test byte [ebp + 0xc], 1
je 0x1090df3c
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 0x1090df2c
push 0x10935f18
push dword [eax]
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__]
add esp, 0xc
xor eax, eax
jmp 0x1090e04c
push 0x10935f80
push dword [eax]
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__]
add esp, 0xc
xor eax, eax
jmp 0x1090e04c
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x10936014
push 0x4c
call dword [eax]
mov dword [ebp + 8], eax
test eax, eax
je 0x1090df77
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.1090d2c0
mov esi, eax
jmp 0x1090df79
xor esi, esi
push edi
push 0x1093603c
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e062
test esi, esi
je 0x1090df9a
mov eax, dword [esi + 0x40]
mov dword [ebx + 4], eax
cmp dword [ebx + 4], 0x19d
je 0x1090dfc5
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090dfc5
push 0x10936050
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 0x1090e155
mov dword [ebp + 8], 0x109371f8
mov dword [ebp + 8], 0x109371dc
mov byte [ebp - 4], 1
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109360a4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e00f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090cae0
mov edi, eax
jmp 0x1090e011
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], 0x109371dc
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 0x109360c0
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e138
test esi, esi
je 0x1090e083
mov eax, dword [esi + 0x40]
mov dword [ebx + 8], eax
cmp dword [ebx + 8], 0x19d
je 0x1090e0ae
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090e0ae
push 0x109360d8
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 0x1090e155
mov dword [ebp + 0xc], 0x109371f8
mov dword [ebp + 0xc], 0x109371dc
mov byte [ebp - 4], 2
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109360a4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e0f8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090cae0
mov edi, eax
jmp 0x1090e0fa
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], 0x109371dc
jmp 0x1090e04a
push edi
push 0x10936130
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e15c
test esi, esi
je 0x1090e155
mov eax, dword [esi + 0x40]
mov dword [ebx + 0xc], eax
mov eax, esi
jmp 0x1090e04c
push 0x10936148
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 0x1090e1c7
test esi, esi
je 0x1090e155
cmp dword [esi + 0x40], 0x79
je 0x1090e155
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090e155
mov eax, dword [sym.imp.Core.dll_int_GL2ReplayMode]
cmp dword [eax], 0
je 0x1090e199
mov eax, dword [sym.imp.Core.dll_int_GL2ReplayLoadResource]
cmp dword [eax], 0
jne 0x1090e155
push 0x10936154
push edi
call ebx
add esp, 8
test eax, eax
jne 0x1090e155
push edi
push 0x10936168
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 0x1090e04c
push 0x109361cc
push edi
call ebx
add esp, 8
test eax, eax
je 0x1090e155
cmp dword [esi + 0x40], 0x137
jne 0x1090e155
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109360a4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e212
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090cae0
mov edi, eax
jmp 0x1090e214
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 0x1090e04a