Function at 0x54e761
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x54e93d
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0053b4b7
test eax, eax
je 0x54e93d
push 1
push 4
pop ebx
lea eax, [esi + 0x5c]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
push 1
lea eax, [esi + 0x20c]
push 0xc
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
lea eax, [esi + 0x218]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
lea eax, [esi + 0x220]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
push 1
lea eax, [esi + 0x224]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
push 1
lea eax, [esi + 0x228]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
push 1
lea eax, [esi + 0x22c]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
lea eax, [esi + 0x230]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
push 1
lea eax, [esi + 0x24c]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
push 1
lea eax, [ebp - 4]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
test eax, eax
je 0x54e93d
push dword [esi + 0x230]
mov ecx, 0x73fea0
call fcn.005571da
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0066b08d
add edi, 0x1c
lea ecx, [ebp - 0x38]
push edi
call fcn.0066c4be
mov ecx, 0x6de0e0
call fcn.005b32ca
mov dword [ebp - 0x20], eax
lea edi, [esi + 0x60]
lea eax, [ebp - 0x3c]
push 0x6dd848
push eax
mov ecx, edi
mov dword [ebp - 0x3c], 0x70d290
call fcn.00597872
test eax, eax
jne 0x54e94b
lea ecx, [ebp - 0x38]
call fcn.0066b279
push eax
lea eax, [ebp - 0x1c]
push str.Model_Initialization_Failed_:___s_
push eax
call fcn.0066b0d0
call fcn.0067f5ad
sub esp, 0xc
mov ecx, esp
push 0xd6
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeVisualBuilding_FileIO.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x54e944
int3
xor eax, eax
jmp 0x54ea72
push 1
call fcn.006a16bc
mov ecx, edi
call fcn.00599d19
mov ebx, eax
push 0xffffffffffffffff
push ebx
push 1
mov ecx, esi
call fcn.004b9e1f
push esi
mov ecx, esi
call fcn.004b9ec5
mov ecx, esi
call fcn.004b9e14
fldz
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004b9e84
mov eax, dword [esi + 0x208]
test eax, eax
je 0x54e998
push eax
mov ecx, 0x6ee470
call fcn.0042a187
and dword [esi + 0x208], 0
mov ecx, esi
call fcn.004172f3
test eax, eax
je 0x54e9ae
push esi
mov ecx, 0x719f50
call fcn.004664e5
mov eax, dword [esi + 0x220]
lea edi, [esi + 0x220]
sub eax, 0
je 0x54e9ce
dec eax
je 0x54e9ca
dec eax
jne 0x54e9d0
push 2
pop ebx
jmp 0x54e9d0
push 1
jmp 0x54e9c7
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push 1
mov ecx, esi
call fcn.004b9e1f
push 1
lea ecx, [esi + 0x60]
call fcn.00598ee1
fldz
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004b9e84
mov ecx, esi
call fcn.004b93bf
mov eax, dword [esi + 0x208]
xor ebx, ebx
cmp eax, ebx
je 0x54ea17
push eax
mov ecx, 0x6ee470
call fcn.0042a187
mov dword [esi + 0x208], ebx
cmp dword [esi + 0x218], ebx
je 0x54ea26
mov ecx, esi
call fcn.004b94ec
push esi
mov ecx, 0x719f50
call fcn.00466487
mov eax, dword [edi]
cmp eax, ebx
jne 0x54ea47
fld dword [ebp - 4]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004b9e84
jmp 0x54ea60
cmp eax, 1
jne 0x54ea67
fld dword [ebp - 4]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004b9e84
mov dword [esi + 0x258], ebx
mov ecx, esi
call fcn.004b93bf
lea ecx, [ebp - 0x38]
call fcn.0066b24c
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4