Function at 0x477890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59144b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
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 - 0x2c], bl
and edi, 0x3fffffff
mov byte [ebp - 0x30], al
call fcn.00483760
test al, al
jne 0x477c89
push str._noassert
call fcn.00476d90
add esp, 4
test al, al
je 0x4778f2
test bl, bl
je 0x477c89
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6abc48]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x65ff30]
cmp eax, dword [ecx + 4]
jg 0x477c9c
mov ecx, 0x65ff2c
call fcn.004819f0
test al, al
je 0x47799d
mov ecx, 0x65ff2c
mov dword [ebp - 0x24], 0x65ff2c
call fcn.00481a00
mov dword [ebp - 0x20], eax
mov ecx, 0x65ff2c
mov dword [ebp + 0xc], eax
lea esi, [eax + 1]
push esi
mov dword [ebp - 0x20], esi
call fcn.00481c20
mov dword [ebp - 4], 2
cmp esi, 1
jle 0x47797f
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x65ff2c
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x20], eax
call fcn.00481c20
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, 0x65ff2c
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x20], eax
call fcn.00481c20
test bl, bl
je 0x4779af
jmp 0x4779a5
test bl, bl
je 0x477c89
call fcn.00484610
call fcn.00483780
cmp byte [0x65faf0], 0
je 0x4779bd
call fcn.00484800
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0x5b78dc
push edi
push esi
push 2
call fcn.00477ef0
add esp, 0x14
mov dword [ebp - 0x1c], eax
call fcn.004844f0
mov byte [ebp + 0xf], al
test al, al
jne 0x4779fc
test bl, bl
je 0x477c89
call fcn.00484420
test al, al
jne 0x4779fc
xor eax, eax
mov dword [eax], 1
call fcn.00484500
test al, al
jne 0x477c78
push 1
call fcn.00483770
add esp, 4
cmp byte [0x65faf0], 0
je 0x477a54
push 1
lea eax, [ebp - 0xec]
mov dword [ebp - 0x4c], 0
push 6
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.00484c30
push 1
lea eax, [ebp - 0xec]
push 1
push eax
call fcn.00484dd0
add esp, 0x18
test bl, bl
je 0x477a63
mov eax, dword [0x65fad8]
test eax, eax
je 0x477a63
call eax
mov eax, dword [0x65fadc]
test eax, eax
je 0x477a6e
call eax
cmp dword [ebp - 0x1c], 0
jne 0x477b31
push str.DONT_BREAK_ON_ASSERT
call fcn.0057a80e
add esp, 4
test eax, eax
jne 0x477ad4
call fcn.00483790
test al, al
je 0x477ad4
push dword [ebp + 0x10]
push edi
push esi
call fcn.00483570
add esp, 0xc
test al, al
je 0x477ad4
cmp byte [0x65ff34], 0
jne 0x477ad4
push 0
call fcn.00483770
add esp, 4
cmp byte [ebp + 0xf], 0
je 0x477ac1
call fcn.00484660
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x477b31
push str.Fatal_assert__application_exiting
push edi
push esi
push 2
call fcn.00477ef0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x477b0e
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.00484670
add esp, 0x14
push str._ExitOnFatalAssert_n
push 1
push str.console
call fcn.00477ec0
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.00477580
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00477260
mov ebx, dword [ebp - 0x20]
cmp byte [ebx + 0xd], 0
jne 0x477b6d
cmp edi, dword [ebx + 0x14]
jne 0x477b66
cmp esi, dword [ebx + 0x10]
setb al
test al, al
je 0x477b72
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00477580
cmp ebx, dword [eax]
jne 0x477c6c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x477c6c
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.0057b0d8
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], eax
call fcn.00477580
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.00477260
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x477bdb
cmp edi, dword [ecx + 0x14]
jne 0x477bd4
cmp esi, dword [ecx + 0x10]
setb al
test al, al
je 0x477c59
cmp dword [ebx + 4], 0x9249249
je 0x477cee
mov esi, dword [ebx]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 3
push 0x1c
mov dword [ebp - 0x10], 0
call fcn.0056ba25
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov ecx, dword [ebp + 0xc]
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 - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00477690
mov esi, dword [ebp + 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
push esi
push dword [ebp + 0x10]
call fcn.00484670
add esp, 0x14
push 0
call fcn.00483770
add esp, 4
jmp 0x477c84
test bl, bl
je 0x477c84
xor eax, eax
mov dword [eax], 1
call fcn.00484660
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 0x65ff30
call fcn.0056bdc6
add esp, 4
cmp dword [0x65ff30], 0xffffffff
jne 0x477912
mov dword [ebp - 4], 0
mov ecx, 0x65ff2c
call fcn.00481630
mov byte [ebp - 4], 0
push 0x592450
call fcn.0056bd35
mov dword [ebp - 4], 0xffffffff
push 0x65ff30
call fcn.0056bd75
add esp, 8
jmp 0x477912
call fcn.00477880
int3