Function at 0x4fbe50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x5ed284]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x248]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__ftime64]
add esp, 4
mov dword [ebp - 0x268], 0
xor esi, esi
call sym.FLAMESLauncher.exe_FCEClassInitialize
test eax, eax
je 0x4fc2f1
call sym.FLAMESLauncher.exe_FLicenseManagerDefineFileRecords
movzx eax, word [ebp - 0x240]
mov edx, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x248]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x59f6b0]
movsd qword [ebp - 0x270], xmm0
call fcn.0052cc20
movsd xmm1, qword [ebp - 0x270]
sub esp, 8
addsd xmm1, xmm0
mulsd xmm1, qword [0x59f6d8]
movsd qword [ebp - 0x270], xmm1
fld qword [ebp - 0x270]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [ebp - 0x270]
call sym.FLAMESLauncher.exe_FMALCreate
movsd xmm0, qword [ebp - 0x270]
movsd qword [esp], xmm0
push str.1NIGIT
push eax
mov dword [ebp - 0x264], eax
call sym.FLAMESLauncher.exe_FMALAddFJulian
push esi
push str.1NIGIT
push dword [ebp - 0x264]
call sym.FLAMESLauncher.exe_FMALAddFEquipmentID
lea eax, [ebp - 0x264]
push eax
call sym.FLAMESLauncher.exe_MXV03Allocate
add esp, 0x20
test eax, eax
jne 0x4fbf67
push str.Error:_Failed_to_initialize_license_manager.
push eax
push eax
call sym.FLAMESLauncher.exe_FMHAnnounceError
push dword [ebp - 0x264]
call sym.FLAMESLauncher.exe_FMALDestroy
add esp, 0x10
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052bfb9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x268]
push eax
push str.1NIGIT
push dword [ebp - 0x264]
call sym.FLAMESLauncher.exe_FMALGetFInteger
add esp, 0xc
cmp eax, 1
jne 0x4fbfff
lea eax, [ebp - 0x260]
push eax
push 0x59f1e4
push dword [ebp - 0x268]
call sym.FLAMESLauncher.exe_FMALGetFPosition
add esp, 0xc
cmp eax, 1
jne 0x4fbfff
mov eax, dword [ebp - 0x268]
movsd xmm1, qword [ebp - 0x250]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ebp - 0x270]
subsd xmm1, xmm0
andps xmm1, xmmword [0x59f6e0]
comisd xmm1, xmmword [0x59f6a8]
jb 0x4fbff1
push str.FLAMES_LicenseManager_Verification_Corrupted.
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push eax
mov esi, 1
call sym.FLAMESLauncher.exe_FMALDestroy
add esp, 4
push dword [ebp - 0x264]
call sym.FLAMESLauncher.exe_FMALDestroy
push str.TERNION_LICENSE
call sym.FLAMESLauncher.exe_FOSUtilityGetOSVariable
add esp, 8
test eax, eax
je 0x4fc022
mov ecx, 0x59f228
jmp 0x4fc03c
push str.FLAMES_LAUNCHER_HOME
call sym.FLAMESLauncher.exe_FOSUtilityGetOSVariable
add esp, 4
test eax, eax
je 0x4fc2df
mov ecx, str._s_config_
push eax
push ecx
lea eax, [ebp - 0x238]
push eax
call fcn.004f9620
push str.flames.flf
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x130]
push 0x59f2ac
push eax
call fcn.004f9620
lea eax, [ebp - 0x130]
push eax
call sym.FLAMESLauncher.exe_FOSUtilityFileExists
add esp, 0x20
test eax, eax
je 0x4fc09e
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00512fa0
add esp, 8
test eax, eax
jne 0x4fc0f2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052bfb9
mov esp, ebp
pop ebp
ret
push str.flames.xflf
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x130]
push 0x59f2ac
push eax
call fcn.004f9620
lea eax, [ebp - 0x130]
push eax
call sym.FLAMESLauncher.exe_FOSUtilityFileExists
add esp, 0x14
test eax, eax
lea eax, [ebp - 0x130]
jne 0x4fc0df
push str.License_file_does_not_exist.
push eax
jmp 0x4fc2e9
push 0
push eax
call fcn.00512c90
add esp, 8
test eax, eax
je 0x4fc2f1
push 0x39c
push 0x59f2d4
lea eax, [ebp - 0x130]
mov word [0x5f5bcd], 0x3041
push eax
mov eax, dword [0xa1c674]
add eax, 0x130
mov word [0x5f5ba9], 0x4536
push 0x100
push eax
mov word [0x5f5bbb], 0x4534
mov dword [0x5f5bac], 0x34324331
mov dword [0x5f5bcf], 0x32463841
mov word [0x5f5bc5], 0x3238
mov dword [0x5f5bbe], 0x45333937
mov dword [0x5f5ba5], 0x43463931
mov word [0x5f5bb3], 0x3030
mov dword [0x5f5bb7], 0x44323132
mov word [0x5f5bca], 0x3544
mov word [0x5f5b9f], 0x4333
mov word [0x5f5ba2], 0x3937
mov word [0x5f5bb0], 0x3945
mov dword [0x5f5b98], 0x44414533
mov byte [0x5f5bab], 0x46
mov word [0x5f5bc2], 0x3931
mov dword [0x5f5bd4], 0x41383433
mov byte [0x5f5ba1], 0x35
mov word [0x5f5b9c], 0x3344
mov byte [0x5f5bbd], 0x32
mov byte [0x5f5b9e], 0x34
mov byte [0x5f5bc4], 0x31
mov word [0x5f5bb5], 0x4239
mov byte [0x5f5bd3], 0x44
mov byte [0x5f5bcc], 0x30
mov word [0x5f5bc7], 0x4233
mov byte [0x5f5bb2], 0x33
mov byte [0x5f5bc9], 0x36
mov byte [0x5f5ba4], 0x30
mov byte [0x5f5bd8], 0
call sym.FLAMESLauncher.exe_FStringCopyWithTag
push 0x39d
push 0x59f2d4
lea eax, [ebp - 0x238]
push eax
mov eax, dword [0xa1c674]
add eax, 0x30
push 0x100
push eax
call sym.FLAMESLauncher.exe_FStringCopyWithTag
mov ecx, dword [0xa1c674]
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x230]
push str._sflameslm.log
push eax
call fcn.004f9620
mov eax, dword [0xa1c674]
add eax, 0x230
push eax
call sym.FLAMESLauncher.exe_FOSUtilityFileExists
add esp, 0x38
test eax, eax
je 0x4fc2b7
mov eax, dword [0xa1c674]
add eax, 0x230
push eax
call sym.FLAMESLauncher.exe_FOSUtilityGetFileSize
add esp, 4
cmp eax, 0xf4240
jbe 0x4fc2b7
mov eax, dword [0xa1c674]
add eax, 0x230
push 0x59f300
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x4fc2b7
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
call fcn.00513830
test eax, eax
jne 0x4fc2ce
push str.Invalid_license_file_format
lea eax, [ebp - 0x130]
push eax
jmp 0x4fc2e9
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052bfb9
mov esp, ebp
pop ebp
ret
push str.Neither_FLAMES_LAUNCHER_HOME_nor_TERNION_LICENSE_is_defined._Unable_to_open_flames.xflf_license_file.
push 0x5b7db5
call fcn.004fb1b0
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0052bfb9
mov esp, ebp
pop ebp
ret