Function at 0x536d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d88cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
mov ebx, edi
shr eax, 0x1e
and al, 1
shr ebx, 0x1f
mov byte [ebp - 0x24], bl
and edi, 0x3fffffff
mov byte [ebp - 0x28], al
call fcn.00542610
test al, al
jne 0x537112
push str._noassert
call fcn.0053c280
add esp, 4
test al, al
je 0x536d92
test bl, bl
je 0x537112
mov eax, dword fs:[0x2c]
mov ecx, dword [0x857378]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x823fa8]
cmp eax, dword [ecx + 0x480]
jg 0x537125
mov ecx, 0x823fa4
call fcn.0053ceb0
test al, al
je 0x536e37
mov ecx, 0x823fa4
mov dword [ebp - 0x14], 0x823fa4
call fcn.0053cfb0
mov esi, eax
mov ecx, 0x823fa4
mov dword [ebp - 0x10], esi
inc esi
push esi
mov dword [ebp - 0x10], esi
call fcn.0053d2c0
mov dword [ebp - 4], 2
lea eax, [esi - 1]
cmp esi, 1
jle 0x536e1c
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x823fa4
push eax
mov dword [ebp - 0x10], eax
call fcn.0053d2c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x823fa4
push eax
mov dword [ebp - 0x10], eax
call fcn.0053d2c0
test bl, bl
je 0x536e49
jmp 0x536e3f
test bl, bl
je 0x537112
call fcn.0053fe00
call fcn.00542630
cmp byte [0x823b68], 0
je 0x536e57
call fcn.00540490
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0x6e357c
push edi
push esi
push 2
call fcn.00537550
add esp, 0x14
mov dword [ebp + 0xc], eax
call fcn.0053fce0
test al, al
jne 0x536e93
test bl, bl
je 0x537112
call fcn.0053fc10
test al, al
jne 0x536e93
xor eax, eax
mov dword [eax], 1
call fcn.0053fcf0
test al, al
jne 0x537101
push 1
call fcn.00542620
add esp, 4
cmp byte [0x823b68], 0
je 0x536eeb
push 1
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x5c], 0
push 6
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.005408c0
push 1
lea eax, [ebp - 0xfc]
push 1
push eax
call fcn.00540a60
add esp, 0x18
test bl, bl
je 0x536efa
mov eax, dword [0x823b50]
test eax, eax
je 0x536efa
call eax
mov eax, dword [0x823b54]
test eax, eax
je 0x536f05
call eax
cmp dword [ebp + 0xc], 0
jne 0x536fbd
push str.DONT_BREAK_ON_ASSERT
call fcn.00558ed5
add esp, 4
test eax, eax
jne 0x536f60
call fcn.00542640
test al, al
je 0x536f60
push dword [ebp + 0x10]
push edi
push esi
call fcn.00542410
add esp, 0xc
test al, al
je 0x536f60
cmp byte [0x823fac], 0
jne 0x536f60
push 0
call fcn.00542620
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x536fbd
push 0x73e8c0
push edi
push esi
push 2
call fcn.00537550
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x536f9a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
push 1
push eax
push edi
mov eax, str.Fatal_assert
cmovne eax, ecx
push esi
push eax
call fcn.0053fea0
add esp, 0x14
push str._ExitOnFatalAssert_n
push 1
push str.console
call fcn.00537500
add esp, 0xc
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
call fcn.00536c10
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00536a30
mov ebx, dword [ebp - 0x38]
cmp byte [ebx + 0xd], 0
jne 0x536ff9
cmp edi, dword [ebx + 0x14]
jne 0x536ff2
cmp esi, dword [ebx + 0x10]
setb al
test al, al
je 0x536ffe
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00536c10
cmp ebx, dword [eax]
jne 0x5370f5
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x5370f5
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.00565656
add esp, 4
mov dword [ebp - 0x2c], eax
call fcn.00536c10
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.00536a30
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x537064
cmp edi, dword [ecx + 0x14]
jne 0x53705d
cmp esi, dword [ecx + 0x10]
setb al
test al, al
je 0x5370e2
cmp dword [ebx + 4], 0x9249249
je 0x537177
mov esi, dword [ebx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 3
push 0x1c
mov dword [ebp - 0x1c], 0
call fcn.0054d1bd
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00536090
mov esi, dword [ebp + 8]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edi
push esi
push dword [ebp + 0x10]
call fcn.0053fea0
add esp, 0x14
push 0
call fcn.00542620
add esp, 4
jmp 0x53710d
test bl, bl
je 0x53710d
xor eax, eax
mov dword [eax], 1
call fcn.0053fe60
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x823fa8
call fcn.0054d6a1
add esp, 4
cmp dword [0x823fa8], 0xffffffff
jne 0x536db2
mov dword [ebp - 4], 0
mov ecx, 0x823fa4
call fcn.0053cb70
mov byte [ebp - 4], 0
push 0x6e1600
call fcn.0054d453
mov dword [ebp - 4], 0xffffffff
push 0x823fa8
call fcn.0054d657
add esp, 8
jmp 0x536db2
call fcn.0047e1f0
int3