Function at 0x476b90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5905ab
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.00482980
test al, al
jne 0x476f80
push str._noassert
call fcn.00476040
add esp, 4
test al, al
je 0x476bf2
test bl, bl
je 0x476f80
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6aac10]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x65eee0]
cmp eax, dword [ecx + 4]
jg 0x476f93
mov ecx, 0x65eedc
call fcn.00480c30
test al, al
je 0x476c97
mov ecx, 0x65eedc
mov dword [ebp - 0x14], 0x65eedc
call fcn.00480c40
mov dword [ebp - 0x10], eax
mov ecx, 0x65eedc
lea esi, [eax + 1]
push esi
mov dword [ebp - 0x10], esi
call fcn.00480e50
mov dword [ebp - 4], 2
lea eax, [esi - 1]
cmp esi, 1
jle 0x476c7c
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x65eedc
push eax
mov dword [ebp - 0x10], eax
call fcn.00480e50
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, 0x65eedc
push eax
mov dword [ebp - 0x10], eax
call fcn.00480e50
test bl, bl
je 0x476ca9
jmp 0x476c9f
test bl, bl
je 0x476f80
call fcn.00483820
call fcn.004829a0
cmp byte [0x65eaa0], 0
je 0x476cb7
call fcn.00483a10
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0x5b6734
push edi
push esi
push 2
call fcn.004771f0
add esp, 0x14
mov dword [ebp - 0x10], eax
call fcn.00483700
mov byte [ebp + 0xf], al
test al, al
jne 0x476cf6
test bl, bl
je 0x476f80
call fcn.00483630
test al, al
jne 0x476cf6
xor eax, eax
mov dword [eax], 1
call fcn.00483710
test al, al
jne 0x476f6f
push 1
call fcn.00482990
add esp, 4
cmp byte [0x65eaa0], 0
je 0x476d4e
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.00483e40
push 1
lea eax, [ebp - 0xfc]
push 1
push eax
call fcn.00483fe0
add esp, 0x18
test bl, bl
je 0x476d5d
mov eax, dword [0x65ea88]
test eax, eax
je 0x476d5d
call eax
mov eax, dword [0x65ea8c]
test eax, eax
je 0x476d68
call eax
cmp dword [ebp - 0x10], 0
jne 0x476e2b
push str.DONT_BREAK_ON_ASSERT
call fcn.0057995e
add esp, 4
test eax, eax
jne 0x476dce
call fcn.004829b0
test al, al
je 0x476dce
push dword [ebp + 0x10]
push edi
push esi
call fcn.00482780
add esp, 0xc
test al, al
je 0x476dce
cmp byte [0x65eee4], 0
jne 0x476dce
push 0
call fcn.00482990
add esp, 4
cmp byte [ebp + 0xf], 0
je 0x476dbb
call fcn.00483870
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 0x476e2b
push str.Fatal_assert__application_exiting
push edi
push esi
push 2
call fcn.004771f0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x476e08
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.00483880
add esp, 0x14
push str._ExitOnFatalAssert_n
push 1
push str.console
call fcn.004771c0
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.00476880
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00476560
mov ebx, dword [ebp - 0x38]
cmp byte [ebx + 0xd], 0
jne 0x476e67
cmp edi, dword [ebx + 0x14]
jne 0x476e60
cmp esi, dword [ebx + 0x10]
setb al
test al, al
je 0x476e6c
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00476880
cmp ebx, dword [eax]
jne 0x476f63
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x476f63
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.0057a228
add esp, 4
mov dword [ebp - 0x2c], eax
call fcn.00476880
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.00476560
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 0x476ed2
cmp edi, dword [ecx + 0x14]
jne 0x476ecb
cmp esi, dword [ecx + 0x10]
setb al
test al, al
je 0x476f50
cmp dword [ebx + 4], 0x9249249
je 0x476fe5
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.0056ac25
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.00476990
mov esi, dword [ebp + 8]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edi
push esi
push dword [ebp + 0x10]
call fcn.00483880
add esp, 0x14
push 0
call fcn.00482990
add esp, 4
jmp 0x476f7b
test bl, bl
je 0x476f7b
xor eax, eax
mov dword [eax], 1
call fcn.00483870
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 0x65eee0
call fcn.0056b07e
add esp, 4
cmp dword [0x65eee0], 0xffffffff
jne 0x476c12
mov dword [ebp - 4], 0
mov ecx, 0x65eedc
call fcn.00480870
mov byte [ebp - 4], 0
push 0x591550
call fcn.0056af35
mov dword [ebp - 4], 0xffffffff
push 0x65eee0
call fcn.0056b034
add esp, 8
jmp 0x476c12
call fcn.00476b80
int3