Function at 0x10924ca0
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x1092bcba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x784
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 4], eax
wait
mov esi, 0x7fffffff
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x40], eax
fld qword [0x10934108]
mov eax, dword [sym.imp.Core.dll_double_GSecondsPerCycle]
fdiv qword [eax]
fstp dword [ebp + 0x30]
lea ecx, [ebp - 0x144]
mov dword [ebp + 0x64], ecx
mov ecx, 0x130
mov edi, dword [ebp + 0x64]
xor eax, eax
mov ebx, ecx
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
mov ecx, ebx
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], 0x20
lea edx, [ebp + 0xc]
push edx
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp + 0x14]
shr eax, 0x14
mov dword [ebp + 0x3c], eax
push eax
push 0x10933348
push 0x2fa
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 0xc
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x70]
push ecx
call sub.dsetup.dll_DirectXSetupGetVersion
test eax, eax
je 0x10924e6d
mov edi, dword [ebp + 0x70]
call dword [sym.imp.Core.dll_public:_static_class_L2UserHardWareInformation____cdecl_TSingleton_class_L2UserHardWareInformation_::GetObj_void_]
mov dword [eax + 0x5c], edi
mov edi, dword [ebp + 0x6c]
call dword [sym.imp.Core.dll_public:_static_class_L2UserHardWareInformation____cdecl_TSingleton_class_L2UserHardWareInformation_::GetObj_void_]
mov dword [eax + 0x60], edi
mov eax, dword [ebp + 0x6c]
movzx edx, ax
push edx
shr eax, 0x10
push eax
mov eax, dword [ebp + 0x70]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push 0x10933380
push 0x2fa
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 0x18
mov ecx, dword [ebp + 0x70]
mov edx, ecx
shr edx, 0x10
mov dword [ebp + 0x64], edx
fild dword [ebp + 0x64]
fcomp qword [0x10934100]
fnstsw ax
test ah, 1
jne 0x10924dcc
movzx eax, cx
mov dword [ebp + 0x64], eax
fild dword [ebp + 0x64]
fcomp qword [0x109340f8]
fnstsw ax
test ah, 1
jne 0x10924dcc
cmp word [ebp + 0x6c], 0x387
ja 0x10924e6d
mov ecx, dword [sym.imp.Core.dll_class_FConfigCache__GConfig]
mov ecx, dword [ecx]
mov edx, dword [ecx]
push 0x1093308c
mov eax, dword [sym.imp.Core.dll_int_GLanguageType]
push eax
push 0x109330b0
push 0x109330c4
mov edx, dword [edx + 4]
call edx
mov eax, dword [sym.imp.Core.dll_int_GLanguageType]
mov eax, dword [eax]
test eax, eax
jne 0x10924e0e
push 0x109333c0
push 0x10930214
lea ecx, [ebp - 0x790]
push ecx
jmp 0x10924e2d
push 0x10933400
push 0x10930214
cmp eax, 1
jne 0x10924e26
lea edx, [ebp - 0x790]
push edx
jmp 0x10924e2d
lea eax, [ebp - 0x790]
push eax
call dword [sym.imp.Core.dll_int___cdecl_appSprintf_wchar_t___wchar_t_const__]
add esp, 0xc
push 0
push 0x109334bc
lea ecx, [ebp - 0x790]
push ecx
push 0
call dword [sym.imp.user32.dll_MessageBoxW]
mov edx, dword [sym.imp.Core.dll_int_GIsRequestingExit]
mov dword [edx], 1
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x78
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
wait
push 0
lea eax, [ebp + 0x64]
push eax
push 0
call sub.ddraw.dll_DirectDrawCreate
test eax, eax
jge 0x10924e9b
push 0x10933500
push 0x2fa
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 8
jmp 0x10924fd0
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
lea edx, [ebp + 0x60]
push edx
push 0x1092d878
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jge 0x10924eca
push 0x10933570
push 0x2fa
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 8
jmp 0x10924fc5
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x5c], ecx
mov ecx, 0x10
mov edi, dword [ebp + 0x5c]
xor eax, eax
mov ebx, ecx
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
mov ecx, ebx
rep stosb byte es:[edi], al
mov dword [ebp + 0x44], 0x10007000
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
lea ecx, [ebp + 0x58]
push ecx
lea ecx, [ebp + 0x74]
push ecx
lea ecx, [ebp + 0x44]
push ecx
push eax
mov edx, dword [edx + 0x5c]
call edx
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x10924f1e
cmp eax, 0x7fffffff
jb 0x10924f19
mov eax, 0x7fffffff
mov esi, eax
mov dword [ebp + 0x54], esi
lea eax, [ebp + 0x44]
mov dword [ebp + 0x5c], eax
mov ecx, 0x10
mov edi, dword [ebp + 0x5c]
xor eax, eax
mov ebx, ecx
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
mov ecx, ebx
rep stosb byte es:[edi], al
mov dword [ebp + 0x44], 0x10005000
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
lea edx, [ebp + 0x58]
push edx
lea edx, [ebp + 0x74]
push edx
lea edx, [ebp + 0x44]
push edx
push eax
mov eax, dword [ecx + 0x5c]
call eax
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x10924f6c
cmp esi, eax
ja 0x10924f67
mov eax, esi
mov esi, eax
mov dword [ebp + 0x54], esi
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x5c], ecx
mov ecx, 0x10
mov edi, dword [ebp + 0x5c]
xor eax, eax
mov ebx, ecx
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
mov ecx, ebx
rep stosb byte es:[edi], al
mov dword [ebp + 0x44], 0x10004040
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
lea ecx, [ebp + 0x58]
push ecx
lea ecx, [ebp + 0x74]
push ecx
lea ecx, [ebp + 0x44]
push ecx
push eax
mov edx, dword [edx + 0x5c]
call edx
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x10924fba
cmp esi, eax
ja 0x10924fb5
mov eax, esi
mov esi, eax
mov dword [ebp + 0x54], esi
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
wait
mov dword [ebp - 4], 0
cmp esi, 0x7fffffff
je 0x1092501c
mov eax, esi
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov esi, eax
mov dword [ebp + 0x54], esi
push esi
push 0x109335e0
push 0x2fa
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 0xc
call dword [sym.imp.Core.dll_public:_static_class_L2UserHardWareInformation____cdecl_TSingleton_class_L2UserHardWareInformation_::GetObj_void_]
mov dword [eax + 0x64], esi
mov byte [ebp - 4], 3
wait
push 0x20
call sub.d3d9.dll_Direct3DCreate9
mov esi, eax
test esi, esi
je 0x109250cd
mov eax, dword [esi]
lea ecx, [ebp - 0x144]
push ecx
push 1
push 0
push esi
mov edx, dword [eax + 0x38]
call edx
test eax, eax
jl 0x10925052
mov dword [ebp + 0x40], 1
jmp 0x10925065
push 0x10933650
push 0x2fa
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 8
mov eax, dword [esi]
push 0x33545844
push 3
push 0
push 0x16
push 1
push 0
push esi
mov ecx, dword [eax + 0x28]
call ecx
test eax, eax
jge 0x1092508b
mov eax, dword [ebp + 0x54]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x54], eax
mov edx, dword [esi]
lea eax, [ebp - 0x590]
push eax
push 0
push 0
push esi
mov ecx, dword [edx + 0x14]
call ecx
test eax, eax
jge 0x109250c3
lea edx, [ebp - 0x590]
mov dword [ebp + 0x5c], edx
mov ecx, 0x44c
mov edi, dword [ebp + 0x5c]
xor eax, eax
mov ebx, ecx
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
mov ecx, ebx
rep stosb byte es:[edi], al
mov eax, dword [esi]
push esi
mov ecx, dword [eax + 8]
call ecx
jmp 0x1092511a
push 0x10933400
push 0x318
mov edx, dword [sym.imp.Core.dll_class_FOutputDeviceError__GError]
mov eax, dword [edx]
push eax
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_enum_EName__wchar_t_const__]
push 0x10933650
push 0x2fa
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 0x14
lea ecx, [ebp - 0x590]
mov dword [ebp + 0x5c], ecx
mov ecx, 0x44c
mov edi, dword [ebp + 0x5c]
xor eax, eax
mov ebx, ecx
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
mov ecx, ebx
rep stosb byte es:[edi], al
wait
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x40], esi
je 0x1092514d
cmp dword [ebp - 0xac], 4
jae 0x1092514d
mov edx, dword [sym.imp.Core.dll_class_FConfigCache__GConfig]
mov ecx, dword [edx]
mov eax, dword [ecx]
push esi
push 0x10932e34
push 0x109336a0
push 0x10930ad0
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp + 0x68], esi
mov eax, dword [sym.imp.Core.dll_class_FConfigCache__GConfig]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x109336c0
lea eax, [ebp + 0x68]
push eax
push 0x109308f0
push 0x109308f0
mov edx, dword [edx + 4]
call edx
test eax, eax
je 0x1092517f
cmp dword [ebp + 0x68], 2
jge 0x109258eb
mov eax, dword [sym.imp.Core.dll_int_GL2IsFirstRun]
mov dword [eax], 1
mov eax, dword [ebp - 0x168]
cmp eax, 0x1002
jne 0x109252d6
mov eax, dword [ebp - 0x164]
cmp eax, 0x5159
je 0x109254b5
cmp eax, 0x5157
jne 0x109251ca
fld dword [0x109340f4]
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 1
jmp 0x109254c7
cmp eax, 0x514c
jne 0x109251e7
fld dword [0x109340f0]
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], 1
jmp 0x109254c7
cmp eax, 0x4966
jne 0x10925205
fld dword [0x109340f0]
mov ecx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [ecx], 1
jmp 0x109254c7
cmp eax, 0x4144
je 0x109252bf
cmp eax, 0x4164
je 0x109252bf
cmp eax, 0x4150
je 0x109252a9
cmp eax, 0x4151
je 0x109252a9
cmp eax, 0x4e46
je 0x109252a9
cmp eax, 0x4152
je 0x109252a9
cmp eax, 0x4e44
je 0x10925402
cmp eax, 0x4e45
je 0x10925402
cmp eax, 0x4145
je 0x10925402
cmp eax, 0x4146
je 0x10925402
cmp eax, 0x4e48
je 0x10925296
cmp eax, 0x4e49
je 0x10925296
cmp eax, 0x4148
je 0x10925296
cmp eax, 0x4e4a
jne 0x109252f5
fld dword [0x109340ec]
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], esi
jmp 0x109254c7
fld dword [0x109340e8]
mov ecx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [ecx], esi
jmp 0x109254c7
fld dword [0x109340e4]
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], 1
jmp 0x109254c7
fld dword [0x109340e0]
mov ecx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [ecx], 1
jmp 0x109254c7
cmp eax, 0x121a
jne 0x109252ee
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 2
jmp 0x109254c1
cmp eax, 0x8086
jne 0x10925305
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], 2
jmp 0x109254c1
cmp eax, 0x10de
jne 0x10925485
mov eax, dword [ebp - 0x164]
cmp eax, 0x20
je 0x109254b5
lea edx, [eax - 0x28]
cmp edx, 7
ja 0x10925337
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], 2
jmp 0x109254c1
lea ecx, [eax - 0x100]
cmp ecx, 3
ja 0x10925353
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 2
jmp 0x109254c1
lea ecx, [eax - 0x110]
cmp ecx, 3
ja 0x1092536f
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 2
jmp 0x109254c1
lea ecx, [eax - 0x150]
cmp ecx, 3
ja 0x1092538b
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 2
jmp 0x109254c1
lea ecx, [eax - 0x170]
cmp ecx, 9
ja 0x109253ad
fld dword [0x109340f0]
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 1
jmp 0x109254c7
lea ecx, [eax - 0x200]
cmp ecx, 3
jbe 0x10925396
lea ecx, [eax - 0x250]
cmp ecx, 3
ja 0x109253da
fld dword [0x109340e0]
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 1
jmp 0x109254c7
cmp eax, 0x281
jb 0x109253f7
fld dword [0x109340e0]
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], 1
jmp 0x109254c7
lea ecx, [eax - 0x140]
cmp ecx, 5
ja 0x10925419
fld dword [0x109340dc]
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 1
jmp 0x109254c7
cmp eax, 0x40
jb 0x10925423
cmp eax, 0x45
jbe 0x1092542a
cmp eax, 0xc1
jne 0x1092543c
fld dword [0x109340ec]
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], esi
jmp 0x109254c7
cmp eax, 0x91
jb 0x1092544a
cmp eax, 0x99
jbe 0x10925476
cmp eax, 0xf5
je 0x10925476
cmp eax, 0x37c
je 0x10925476
cmp eax, 0x191
je 0x10925466
cmp eax, 0x193
jne 0x109254b5
fld dword [0x109340d8]
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], esi
jmp 0x109254c7
fld dword [0x109340d4]
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], esi
jmp 0x109254c7
cmp eax, 0x102b
je 0x109254b5
cmp eax, 0x1023
jne 0x109254a1
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 2
jmp 0x109254c1
cmp eax, 0x1039
jne 0x109254b5
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [eax], 2
jmp 0x109254c1
mov ecx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [ecx], 2
fld dword [0x109340d0]
fstp dword [ebp + 0x74]
fld dword [ebp + 0x30]
fdiv qword [0x109340c8]
fmul dword [ebp + 0x74]
fstp dword [ebp + 0x74]
fld dword [0x109340c4]
fld dword [ebp + 0x74]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10925595
fstp st(0)
fstp st(0)
mov edx, dword [sym.imp.Core.dll_int_GSEKScreenX]
mov dword [edx], 0x320
mov eax, dword [sym.imp.Core.dll_int_GSEKScreenY]
mov dword [eax], 0x258
mov ecx, dword [sym.imp.Core.dll_int_GColorBits]
mov dword [ecx], 0x10
mov edx, dword [sym.imp.Core.dll_int_GL2TextureDetail]
mov dword [edx], 2
mov eax, dword [sym.imp.Core.dll_int_GIsL2Projector]
mov dword [eax], esi
mov ecx, dword [sym.imp.Core.dll_int_GL2RenderDeco]
mov dword [ecx], esi
fld dword [0x109340c0]
mov edx, dword [sym.imp.Core.dll_float_GL2TerrainCR]
fstp dword [edx]
push ecx
fld dword [0x109340bc]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshCR_float_]
push ecx
fld dword [0x109340c0]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetActorCR_float_]
push ecx
fld dword [0x109340c0]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshLodCR_float_]
fld1
mov eax, dword [sym.imp.Core.dll_float_GL2OriginPawnCR]
fstp dword [eax]
jmp 0x10925894
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10925650
fld dword [0x109340dc]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10925650
fstp st(0)
mov ecx, dword [sym.imp.Core.dll_int_GSEKScreenX]
mov dword [ecx], 0x320
mov edx, dword [sym.imp.Core.dll_int_GSEKScreenY]
mov dword [edx], 0x258
mov eax, dword [sym.imp.Core.dll_int_GColorBits]
mov dword [eax], 0x20
mov ecx, dword [sym.imp.Core.dll_int_GIsL2Projector]
mov dword [ecx], 1
mov edx, dword [sym.imp.Core.dll_int_GL2RenderDeco]
mov dword [edx], esi
fld dword [0x109340b8]
mov eax, dword [sym.imp.Core.dll_float_GL2TerrainCR]
fstp dword [eax]
push ecx
fld dword [0x109340b4]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshCR_float_]
push ecx
fld dword [0x109340b0]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetActorCR_float_]
push ecx
fld dword [0x109340b0]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshLodCR_float_]
fld dword [0x109340ac]
jmp 0x1092588c
fld dword [0x109340dc]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1092571b
fld dword [0x109340a8]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x1092571b
fstp st(0)
mov edx, dword [sym.imp.Core.dll_int_GSEKScreenX]
mov dword [edx], 0x400
mov eax, dword [sym.imp.Core.dll_int_GSEKScreenY]
mov dword [eax], 0x300
mov ecx, dword [sym.imp.Core.dll_int_GColorBits]
mov dword [ecx], 0x20
mov edx, dword [sym.imp.Core.dll_int_GIsL2Projector]
mov dword [edx], 1
mov eax, dword [sym.imp.Core.dll_int_GL2RenderDeco]
mov dword [eax], 1
fld dword [0x109340a4]
mov ecx, dword [sym.imp.Core.dll_float_GL2TerrainCR]
fstp dword [ecx]
push ecx
fld dword [0x109340a0]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshCR_float_]
push ecx
fld dword [0x109340b8]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetActorCR_float_]
push ecx
fld dword [0x109340b8]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshLodCR_float_]
fld dword [0x109340ac]
mov edx, dword [sym.imp.Core.dll_float_GL2OriginPawnCR]
fstp dword [edx]
jmp 0x10925894
fld dword [0x109340a8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x109257e5
fld dword [0x1093409c]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x109257e5
fstp st(0)
mov eax, dword [sym.imp.Core.dll_int_GSEKScreenX]
mov dword [eax], 0x400
mov ecx, dword [sym.imp.Core.dll_int_GSEKScreenY]
mov dword [ecx], 0x300
mov edx, dword [sym.imp.Core.dll_int_GColorBits]
mov dword [edx], 0x20
mov eax, dword [sym.imp.Core.dll_int_GIsL2Projector]
mov dword [eax], 1
mov ecx, dword [sym.imp.Core.dll_int_GL2RenderDeco]
mov dword [ecx], 1
fld dword [0x109340a4]
mov edx, dword [sym.imp.Core.dll_float_GL2TerrainCR]
fstp dword [edx]
push ecx
fld dword [0x109340a0]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshCR_float_]
push ecx
fld dword [0x109340b8]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetActorCR_float_]
push ecx
fld dword [0x109340b8]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshLodCR_float_]
fld dword [0x109340bc]
mov eax, dword [sym.imp.Core.dll_float_GL2OriginPawnCR]
fstp dword [eax]
jmp 0x10925894
fcomp dword [0x1093409c]
fnstsw ax
test ah, 0x41
jne 0x10925894
mov ecx, dword [sym.imp.Core.dll_int_GSEKScreenX]
mov dword [ecx], 0x400
mov edx, dword [sym.imp.Core.dll_int_GSEKScreenY]
mov dword [edx], 0x300
mov eax, dword [sym.imp.Core.dll_int_GColorBits]
mov dword [eax], 0x20
mov ecx, dword [sym.imp.Core.dll_int_GIsL2Projector]
mov dword [ecx], 1
mov edx, dword [sym.imp.Core.dll_int_GL2RenderDeco]
mov dword [edx], 1
fld dword [0x10934098]
mov eax, dword [sym.imp.Core.dll_float_GL2TerrainCR]
fstp dword [eax]
push ecx
fld dword [0x10934094]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshCR_float_]
push ecx
fld dword [0x10934090]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetActorCR_float_]
push ecx
fld dword [0x10934090]
fstp dword [esp]
call dword [sym.imp.Core.dll_public:_static_class_L2Configuration____cdecl_TSingleton_class_L2Configuration_::GetObj_void_]
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_L2Configuration::SetStaticMeshLodCR_float_]
fld dword [0x109340b4]
mov ecx, dword [sym.imp.Core.dll_float_GL2OriginPawnCR]
fstp dword [ecx]
cmp dword [ebp + 0x3c], 0x100
jge 0x109258a5
mov edx, dword [sym.imp.Core.dll_int_GL2RenderDeco]
mov dword [edx], esi
mov ecx, dword [ebp + 0x54]
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
cmp ecx, 0x40
jge 0x109258c2
cmp dword [eax], 2
jge 0x109258c2
mov dword [eax], 2
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
cmp ecx, 0x80
jge 0x109258d1
cmp dword [eax], 1
jge 0x109258e1
jmp 0x109258d6
cmp dword [eax], 1
jle 0x109258e1
mov dword [eax], 1
mov eax, dword [sym.imp.Core.dll_int_GL2TextureDetail]
cmp ecx, 0x100
jl 0x109258eb
mov dword [eax], esi
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x78
mov esp, ebp
pop ebp
ret