Function at 0x1090ddf0
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 0x1090de42
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileW]
jmp 0x1090de98
push edi
mov esi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call esi
add esp, 4
test eax, eax
jne 0x1090de57
mov dword [ebp + 8], eax
jmp 0x1090de6e
push edi
call esi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924d50
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 0x1090dee3
test byte [ebp + 0xc], 1
je 0x1090dedc
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 0x1090decc
push 0x10935d28
push dword [eax]
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__]
add esp, 0xc
xor eax, eax
jmp 0x1090dfec
push 0x10935d90
push dword [eax]
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__]
add esp, 0xc
xor eax, eax
jmp 0x1090dfec
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x10935e24
push 0x4c
call dword [eax]
mov dword [ebp + 8], eax
test eax, eax
je 0x1090df17
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.1090d260
mov esi, eax
jmp 0x1090df19
xor esi, esi
push edi
push 0x10935e4c
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e002
test esi, esi
je 0x1090df3a
mov eax, dword [esi + 0x40]
mov dword [ebx + 4], eax
cmp dword [ebx + 4], 0x19d
je 0x1090df65
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090df65
push 0x10935e60
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 0x1090e0f5
mov dword [ebp + 8], 0x10936f68
mov dword [ebp + 8], 0x10936f4c
mov byte [ebp - 4], 1
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x10935eb4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090dfaf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090ca80
mov edi, eax
jmp 0x1090dfb1
xor edi, edi
push edi
push esi
lea ecx, [ebp + 8]
call fcn.1090ba60
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], 0x10936f4c
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 0x10935ed0
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e0d8
test esi, esi
je 0x1090e023
mov eax, dword [esi + 0x40]
mov dword [ebx + 8], eax
cmp dword [ebx + 8], 0x19d
je 0x1090e04e
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090e04e
push 0x10935ee8
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 0x1090e0f5
mov dword [ebp + 0xc], 0x10936f68
mov dword [ebp + 0xc], 0x10936f4c
mov byte [ebp - 4], 2
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x10935eb4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e098
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090ca80
mov edi, eax
jmp 0x1090e09a
xor edi, edi
push edi
push esi
lea ecx, [ebp + 0xc]
call fcn.1090ba60
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], 0x10936f4c
jmp 0x1090dfea
push edi
push 0x10935f40
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1090e0fc
test esi, esi
je 0x1090e0f5
mov eax, dword [esi + 0x40]
mov dword [ebx + 0xc], eax
mov eax, esi
jmp 0x1090dfec
push 0x10935f58
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 0x1090e167
test esi, esi
je 0x1090e0f5
cmp dword [esi + 0x40], 0x79
je 0x1090e0f5
mov eax, dword [sym.imp.Core.dll_int_GIsUCC]
cmp dword [eax], 0
jne 0x1090e0f5
mov eax, dword [sym.imp.Core.dll_int_GL2ReplayMode]
cmp dword [eax], 0
je 0x1090e139
mov eax, dword [sym.imp.Core.dll_int_GL2ReplayLoadResource]
cmp dword [eax], 0
jne 0x1090e0f5
push 0x10935f64
push edi
call ebx
add esp, 8
test eax, eax
jne 0x1090e0f5
push edi
push 0x10935f78
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 0x1090dfec
push 0x10935fdc
push edi
call ebx
add esp, 8
test eax, eax
je 0x1090e0f5
cmp dword [esi + 0x40], 0x137
jne 0x1090e0f5
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x10935eb4
push 0x4c
call dword [eax]
mov edi, eax
test edi, edi
je 0x1090e1b2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, edi
call fcn.1090ca80
mov edi, eax
jmp 0x1090e1b4
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 0x1090dfea