Function at 0x42b6d5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x795564]
push ebx
push esi
push edi
cmp eax, 5
mov dword [ebp - 0x14], eax
push 1
jae 0x42b6f6
pop eax
jmp 0x42b961
mov edi, dword [ebp + 8]
pop esi
push esi
push 4
pop ebx
lea eax, [ebp - 4]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
mov ecx, 0x6dddf0
call fcn.0043afc0
and dword [ebp - 8], 0
cmp dword [ebp - 4], 0
jbe 0x42b956
and dword [ebp + 8], 0
push esi
lea eax, [ebp + 8]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
cmp dword [ebp + 8], 0
je 0x42b747
push esi
push dword [ebp + 8]
call fcn.00410c5f
pop ecx
mov dword [ebp - 0x58], eax
pop ecx
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x50]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x48]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x40]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x38]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x34]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x30]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x2c]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x28]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
cmp dword [ebp - 0x14], 7
jb 0x42b803
push esi
lea eax, [ebp - 0x24]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push esi
lea eax, [ebp - 0x20]
push ebx
push eax
mov ecx, edi
call fcn.00673e23
push dword [ebp - 0x54]
mov ecx, 0x73fea0
call fcn.00557437
push dword [eax + 0x1c]
mov ecx, 0x73fea0
mov dword [ebp - 0xc], eax
call fcn.005571da
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x10], eax
call fcn.0066b08d
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
add eax, 0x1c
push eax
call fcn.0066c4be
mov ecx, 0x6de0e0
call fcn.005b32ca
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x90], 0x70d290
call fcn.005973c4
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x250]
push eax
call fcn.0059769a
test eax, eax
je 0x42b968
lea ecx, [ebp - 0x250]
call fcn.0059a1f9
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1c], eax
call fcn.0066b08d
mov ecx, 0x6de0e0
call fcn.005b32ca
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x42b8a8
add eax, 0x38
jmp 0x42b8ab
add eax, 0x20
push eax
lea ecx, [ebp - 0x70]
call fcn.0066c4be
mov eax, dword [ebp - 0x58]
mov ecx, 0x73e890
push dword [eax + 0x84]
call fcn.0046fc1a
test eax, eax
je 0x42b8e1
push dword [eax + 0x78]
lea eax, [ebp - 0x70]
mov ecx, 0x715a88
push eax
call fcn.00492137
mov dword [ebp - 0x18], eax
jmp 0x42b913
mov eax, dword [0x6dde20]
mov ecx, 0x715a88
mov dword [0x6dde24], eax
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00492137
inc dword [0x6dde20]
cmp dword [0x6dde20], 8
mov dword [ebp - 0x18], eax
jb 0x42b913
and dword [0x6dde20], 0
mov ecx, dword [ebp - 0x58]
call fcn.00418df6
lea eax, [ebp - 0x58]
mov ecx, 0x6dddf0
push eax
call fcn.0042c2e9
lea ecx, [ebp - 0x70]
call fcn.0066b24c
lea ecx, [ebp - 0x250]
call fcn.005975ee
lea ecx, [ebp - 0x8c]
call fcn.0066b24c
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x42b722
call fcn.005491b6
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret 4
lea ecx, [ebp - 0x8c]
call fcn.0066b279
push eax
lea eax, [ebp - 0xa8]
push str.Model_Initialization_Failed_:___s_
push eax
call fcn.0066b0d0
call fcn.0067f5ad
sub esp, 0xc
mov ecx, esp
push 0x356
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeDockingManager.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x42b9f1
int3
push esi
call fcn.006a16bc