Function at 0x4770b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5924eb
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 + 0x10]
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.00482840
test al, al
jne 0x477492
push str._noassert
call fcn.004765c0
add esp, 4
test al, al
je 0x477112
test bl, bl
je 0x477492
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6acca8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x660fc8]
cmp eax, dword [ecx + 4]
jg 0x4774a5
mov ecx, 0x660fc4
call fcn.00480dc0
test al, al
je 0x4771b7
mov ecx, 0x660fc4
mov dword [ebp - 0x14], 0x660fc4
call fcn.00480dd0
mov esi, eax
mov ecx, 0x660fc4
mov dword [ebp - 0x10], esi
inc esi
push esi
mov dword [ebp - 0x10], esi
call fcn.00480f90
mov dword [ebp - 4], 2
lea eax, [esi - 1]
cmp esi, 1
jle 0x47719c
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x660fc4
push eax
mov dword [ebp - 0x10], eax
call fcn.00480f90
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, 0x660fc4
push eax
mov dword [ebp - 0x10], eax
call fcn.00480f90
test bl, bl
je 0x4771c9
jmp 0x4771bf
test bl, bl
je 0x477492
call fcn.00483690
call fcn.00482860
cmp byte [0x660b88], 0
je 0x4771d7
call fcn.00483800
push dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x5b8434
push edi
push esi
push 2
call fcn.004776f0
add esp, 0x14
mov dword [ebp + 0x10], eax
call fcn.00483570
test al, al
jne 0x477213
test bl, bl
je 0x477492
call fcn.004834a0
test al, al
jne 0x477213
xor eax, eax
mov dword [eax], 1
call fcn.00483580
test al, al
jne 0x477481
push 1
call fcn.00482850
add esp, 4
cmp byte [0x660b88], 0
je 0x47726b
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.00483970
push 1
lea eax, [ebp - 0xfc]
push 1
push eax
call fcn.00483b10
add esp, 0x18
test bl, bl
je 0x47727a
mov eax, dword [0x660b70]
test eax, eax
je 0x47727a
call eax
mov eax, dword [0x660b74]
test eax, eax
je 0x477285
call eax
cmp dword [ebp + 0x10], 0
jne 0x47733d
push str.DONT_BREAK_ON_ASSERT
call fcn.0057aa03
add esp, 4
test eax, eax
jne 0x4772e0
call fcn.00482870
test al, al
je 0x4772e0
push dword [ebp + 8]
push edi
push esi
call fcn.00482660
add esp, 0xc
test al, al
je 0x4772e0
cmp byte [0x660fcc], 0
jne 0x4772e0
push 0
call fcn.00482850
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 0x47733d
push str.Fatal_assert__application_exiting
push edi
push esi
push 2
call fcn.004776f0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x47731a
mov ecx, dword [ebp + 8]
test ecx, ecx
push 1
push eax
push edi
mov eax, str.Fatal_assert
cmovne eax, ecx
push esi
push eax
call fcn.004836f0
add esp, 0x14
push str._ExitOnFatalAssert_n
push 1
push str.console
call fcn.004776c0
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.00476dd0
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x10], eax
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00476aa0
mov ebx, dword [ebp - 0x38]
cmp byte [ebx + 0xd], 0
jne 0x477379
cmp edi, dword [ebx + 0x14]
jne 0x477372
cmp esi, dword [ebx + 0x10]
setb al
test al, al
je 0x47737e
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.00476dd0
cmp ebx, dword [eax]
jne 0x477475
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x477475
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.0057b176
add esp, 4
mov dword [ebp - 0x2c], eax
call fcn.00476dd0
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.00476aa0
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x4773e4
cmp edi, dword [ecx + 0x14]
jne 0x4773dd
cmp esi, dword [ecx + 0x10]
setb al
test al, al
je 0x477462
cmp dword [ebx + 4], 0x9249249
je 0x4774f7
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.0056b455
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
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 + 0x10]
push dword [ebp - 0x10]
call fcn.00476e90
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edi
push esi
push dword [ebp + 8]
call fcn.004836f0
add esp, 0x14
push 0
call fcn.00482850
add esp, 4
jmp 0x47748d
test bl, bl
je 0x47748d
xor eax, eax
mov dword [eax], 1
call fcn.004836e0
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 0x660fc8
call fcn.0056b8ad
add esp, 4
cmp dword [0x660fc8], 0xffffffff
jne 0x477132
mov dword [ebp - 4], 0
mov ecx, 0x660fc4
call fcn.00480a00
mov byte [ebp - 4], 0
push 0x593560
call fcn.0056b765
mov dword [ebp - 4], 0xffffffff
push 0x660fc8
call fcn.0056b863
add esp, 8
jmp 0x477132
call fcn.004770a0
int3