Function at 0x100784e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029ca9b
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.10081bb0
test al, al
jne 0x100788c2
push str._noassert
call fcn.1007f010
add esp, 4
test al, al
je 0x10078542
test bl, bl
je 0x100788c2
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104138a0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1040e3a0]
cmp eax, dword [ecx + 0x40]
jg 0x100788d5
mov ecx, 0x1040e39c
call fcn.10061aa0
test al, al
je 0x100785e7
mov ecx, 0x1040e39c
mov dword [ebp - 0x14], 0x1040e39c
call fcn.10079ac0
mov esi, eax
mov ecx, 0x1040e39c
mov dword [ebp - 0x10], esi
inc esi
push esi
mov dword [ebp - 0x10], esi
call fcn.10079dc0
mov dword [ebp - 4], 2
lea eax, [esi - 1]
cmp esi, 1
jle 0x100785cc
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x1040e39c
push eax
mov dword [ebp - 0x10], eax
call fcn.10079dc0
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, 0x1040e39c
push eax
mov dword [ebp - 0x10], eax
call fcn.10079dc0
test bl, bl
je 0x100785f9
jmp 0x100785ef
test bl, bl
je 0x100788c2
call fcn.10082a50
call fcn.10081bd0
cmp byte [0x1040df60], 0
je 0x10078607
call fcn.10080480
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0x102a9328
push edi
push esi
push 2
call fcn.10078d00
add esp, 0x14
mov dword [ebp + 0xc], eax
call fcn.10082930
test al, al
jne 0x10078643
test bl, bl
je 0x100788c2
call fcn.10082860
test al, al
jne 0x10078643
xor eax, eax
mov dword [eax], 1
call fcn.10082940
test al, al
jne 0x100788b1
push 1
call fcn.10081bc0
add esp, 4
cmp byte [0x1040df60], 0
je 0x1007869b
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.100805f0
push 1
lea eax, [ebp - 0xfc]
push 1
push eax
call fcn.10080790
add esp, 0x18
test bl, bl
je 0x100786aa
mov eax, dword [0x1040df48]
test eax, eax
je 0x100786aa
call eax
mov eax, dword [0x1040df4c]
test eax, eax
je 0x100786b5
call eax
cmp dword [ebp + 0xc], 0
jne 0x1007876d
push str.DONT_BREAK_ON_ASSERT
call fcn.10115458
add esp, 4
test eax, eax
jne 0x10078710
call fcn.10081be0
test al, al
je 0x10078710
push dword [ebp + 0x10]
push edi
push esi
call fcn.100819b0
add esp, 0xc
test al, al
je 0x10078710
cmp byte [0x1040e3a4], 0
jne 0x10078710
push 0
call fcn.10081bc0
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 0x1007876d
push str.Fatal_assert__application_exiting
push edi
push esi
push 2
call fcn.10078d00
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1007874a
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.10082ab0
add esp, 0x14
push str._ExitOnFatalAssert_n
push 1
push str.console
call fcn.10078cb0
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.10078420
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10078200
mov ebx, dword [ebp - 0x38]
cmp byte [ebx + 0xd], 0
jne 0x100787a9
cmp edi, dword [ebx + 0x14]
jne 0x100787a2
cmp esi, dword [ebx + 0x10]
setb al
test al, al
je 0x100787ae
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.10078420
cmp ebx, dword [eax]
jne 0x100788a5
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x100788a5
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.10117b43
add esp, 4
mov dword [ebp - 0x2c], eax
call fcn.10078420
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.10078200
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 0x10078814
cmp edi, dword [ecx + 0x14]
jne 0x1007880d
cmp esi, dword [ecx + 0x10]
setb al
test al, al
je 0x10078892
cmp dword [ebx + 4], 0x9249249
je 0x10078927
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.100ffd41
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.10077810
mov esi, dword [ebp + 8]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edi
push esi
push dword [ebp + 0x10]
call fcn.10082ab0
add esp, 0x14
push 0
call fcn.10081bc0
add esp, 4
jmp 0x100788bd
test bl, bl
je 0x100788bd
xor eax, eax
mov dword [eax], 1
call fcn.10082aa0
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 0x1040e3a0
call fcn.101004a8
add esp, 4
cmp dword [0x1040e3a0], 0xffffffff
jne 0x10078562
mov dword [ebp - 4], 0
mov ecx, 0x1040e39c
call fcn.10079650
mov byte [ebp - 4], 0
push 0x102a5170
call fcn.10100360
mov dword [ebp - 4], 0xffffffff
push 0x1040e3a0
call fcn.1010045e
add esp, 8
jmp 0x10078562
call fcn.1005f670
int3