Function at 0x1000a6e2
Capabilities:
Terminate process

Disassembly:
sub esp, 0x200
push ebx
push ebp
push esi
push edi
push str.Exception__n
or ebp, 0xffffffff
xor ebx, ebx
push ebp
push ebx
push ebx
push 2
mov edi, edx
mov esi, ecx
call fcn.10008864
add esp, 0x14
mov byte [0x100e7ae8], bl
mov ecx, 0x100e7ac0
mov byte [0x100e7ae9], bl
call fcn.10009b23
mov eax, dword [0x100e7abc]
test eax, eax
je 0x1000a744
mov edx, edi
mov ecx, esi
call eax
cmp eax, ebp
jne 0x1000a744
mov dword [0x100b3974], ebp
mov byte [0x100e7ab6], 1
mov eax, ebp
jmp 0x1000a8b4
mov eax, dword [0x100d0234]
mov dword [0x100e7aac], edi
cmp byte [eax], bl
jne 0x1000a8b2
cmp byte [0x100e7ab4], bl
jne 0x1000aa64
mov eax, dword [0x100b3974]
cmp eax, 3
je 0x1000aa64
inc eax
mov dword [0x100b3974], eax
cmp eax, 2
jg 0x1000a8b2
cmp esi, reloc.WS2_32.dll_closesocket
je 0x1000aa59
cmp esi, 0x406d1388
je 0x1000aa59
cmp esi, 0xe06d7363
je 0x1000aa59
mov ecx, dword [edi + 4]
mov edx, 0x100e7ae8
push 0x100e7ac0
push 0x100e7ae9
mov ecx, dword [ecx + 0xb8]
call fcn.1000a565
cmp byte [0x100e7ae9], bl
jne 0x1000a73d
mov eax, dword [0x100b3974]
cmp eax, 2
jge 0x1000aa0f
push str.About_to_call_Dump_Exception_Info___n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.10009ba5
push dword [0x100eba48]
lea eax, [esp + 0x14]
push dword [0x100eba44]
push dword [0x100eba40]
push dword [0x100eba3c]
push dword [0x100eba38]
push dword [0x100eba34]
push 0x100cfee0
push str._sEXCEPT__02u__02u__04u__02u__02u__02u.TXT
push 0x200
push eax
call fcn.100026fa
add esp, 0x28
lea eax, [esp + 0x10]
mov esi, 0x100e7ac8
mov ecx, esi
push eax
call fcn.10079ebf
push dword [0x100e7ac4]
mov ecx, esi
push 0x100d5848
call fcn.1007afa8
mov eax, dword [0x100e7aa8]
test eax, eax
je 0x1000a87c
cmp dword [0x100e7ab8], eax
jne 0x1000a87c
push str.Exception_dump_is_identical_to_the_previous_exception__n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
mov eax, dword [0x100e7ab8]
mov dword [0x100e7aa8], eax
cmp byte [0x100b3970], bl
je 0x1000a8bf
call fcn.10009a5d
test al, al
je 0x1000a8bf
cmp dword [0x100d55bc], 1
jne 0x1000a8bf
push str.Cant_bring_up_exception_dialog_due_to_Win16_mutex_issues__n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov esi, dword [sym.imp.USER32.dll_ShowCursor]
push 1
call esi
cmp byte [0x100b3970], bl
je 0x1000aa04
push str.About_to_call_Exception_Dialog___n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
call fcn.1000a36a
sub eax, 0x47d
je 0x1000a9e1
sub eax, 1
je 0x1000a9b2
sub eax, 3
je 0x1000a9ab
sub eax, 1
je 0x1000a941
sub eax, 3
jne 0x1000a9ab
push str.Continue_button_pressed__n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
call fcn.1000a5d4
call fcn.1006d1f2
push ebx
call esi
mov byte [0x100e7ab5], bl
jmp 0x1000a730
push str.Main_menu_button_pressed__n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
call fcn.1000a5d4
mov ecx, dword [0x100d0230]
cmp dword [ecx], ebx
je 0x1000a9d9
call fcn.1006d1f2
call fcn.10009b36
push ebx
call esi
mov eax, dword [0x100d0228]
mov byte [0x100e7ab6], 1
mov dword [0x100b3974], ebp
mov ecx, dword [edi + 4]
mov eax, dword [eax]
mov dword [ecx + 0xb4], eax
mov eax, dword [0x100d022c]
mov eax, dword [eax]
mov dword [ecx + 0xc4], eax
mov eax, dword [0x100d0230]
mov eax, dword [eax]
mov dword [ecx + 0xb8], eax
jmp 0x1000a73d
push str.Quit_button_pressed__n
jmp 0x1000a9e6
push str.Break_debugger_button_pressed__n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1000a9d3
call fcn.1000a5d4
call fcn.1006d1f2
int3
xor eax, eax
inc eax
jmp 0x1000a8b4
push str.Emergency_save_button_pressed__n
push ebp
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x14
call fcn.1000a5d4
call fcn.1006d1f2
mov byte [0x100e7ab5], 1
push ebx
call esi
mov eax, dword [0x100b3974]
cmp eax, 2
je 0x1000a8b2
mov eax, dword [0x100e7ab0]
test eax, eax
je 0x1000aa26
call eax
mov dword [0x100e7ab0], ebx
cmp byte [0x100e7ab5], bl
je 0x1000aa37
mov byte [0x100e7ab4], 1
jmp 0x1000a9d9
mov eax, dword [0x100d0714]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000aa47
call fcn.10075150
mov ecx, dword [0x100d01e8]
call fcn.1000a6c3
call fcn.1006d1f2
jmp 0x1000a9d9
dec eax
mov dword [0x100b3974], eax
jmp 0x1000a8b2
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]