Function at 0x66209740
Capabilities:
Terminate process

Disassembly:
sub esp, 0x820
call fcn.66206c50
or eax, eax
mov edx, str.Nt0SafeUtil::RaiseHardError_PID
setne al
mov byte [esp + 3], al
or al, al
jne 0x66209762
mov edx, str.ThinApp_has_encountered_an_unexpected_error._Click_Abort_to_close_the_application__Retry_to_debug__or_Continue_to_ignore_the_error._Support_info:_PID
mov eax, edx
push ebx
push ebp
push esi
push edi
lea esi, [eax + 2]
jmp 0x66209770
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209770
sub eax, esi
sar eax, 1
mov esi, eax
lea edi, [esi + esi]
push edi
push edx
lea eax, [esp + 0x38]
push eax
call fcn.6620b9c0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x20]
push 0xa
push 0
lea ebx, [esp + edi + 0x44]
mov edi, 0x400
sub edi, esi
push eax
push ebx
call fcn.662095f0
sub esp, 0xffffffe4
sub edi, eax
lea esi, [ebx + eax*2]
cmp dword [esp + 0x834], 0
je 0x6620988f
mov eax, 0x66217d58
lea edx, [eax + 2]
nop
mov cx, word [eax]
sub eax, 0xfffffffe
or cx, cx
jne 0x662097d0
sub eax, edx
sar eax, 1
mov ebx, eax
lea ebp, [ebx + ebx]
push ebp
push 0x66217d58
push esi
call fcn.6620b9c0
sub edi, ebx
mov edx, dword [esp + 0x840]
add esi, ebp
push 0x5c
push edx
call fcn.6620ce50
add esp, 0x14
test eax, eax
je 0x66209814
inc eax
mov edx, eax
mov dword [esp + 0x834], eax
lea esp, [esp]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x66209820
sub eax, ebx
mov ecx, eax
mov eax, 0
je 0x66209840
movsx bx, byte [eax + edx]
mov word [esi + eax*2], bx
inc eax
cmp eax, ecx
jb 0x66209832
mov eax, 0x66217d54
lea edx, [eax + 2]
sub edi, ecx
lea esi, [esi + ecx*2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
or cx, cx
jne 0x66209850
sub eax, edx
sar eax, 1
mov ebp, eax
lea ebx, [ebp + ebp]
push ebx
push 0x66217d54
push esi
call fcn.6620b9c0
add esi, ebx
mov eax, dword [esp + 0x844]
push 0xa
push 0
sub edi, ebp
push eax
push esi
call fcn.662095f0
lea esi, [esi + eax*2]
sub esp, 0xffffffe4
sub edi, eax
cmp dword [esp + 0x83c], 0
je 0x662098fa
mov eax, 0x66217d58
lea edx, [eax + 2]
mov cx, word [eax]
sub eax, 0xfffffffe
or cx, cx
jne 0x662098a1
sub eax, edx
sar eax, 1
mov ebp, eax
lea ebx, [ebp + ebp]
push ebx
push 0x66217d58
push esi
call fcn.6620b9c0
mov edx, dword [esp + 0x848]
add esi, ebx
sub esp, 0xfffffff4
mov eax, edx
lea ebx, [eax + 2]
sub edi, ebp
mov cx, word [eax]
add eax, 2
or cx, cx
jne 0x662098d5
sub eax, ebx
sar eax, 1
cmp eax, edi
jbe 0x662098ea
mov eax, edi
lea edi, [eax + eax]
push edi
push edx
push esi
call fcn.6620b9c0
add esp, 0xc
add esi, edi
lea ebx, [esp + 0x30]
sub esi, ebx
sar esi, 1
cmp byte [esp + 0x13], 0
je 0x66209a1f
xor edi, edi
test esi, esi
jbe 0x66209920
mov dl, byte [esp + edi*2 + 0x30]
mov byte [esp + edi + 0x30], dl
inc edi
cmp edi, esi
jb 0x66209913
mov eax, dword [str.__dml__]
lea ebp, [eax + 2]
jmp 0x66209930
mov bx, word [eax]
add eax, 2
test bx, bx
jne 0x66209930
sub eax, ebp
lea esp, [esp]
sar eax, 1
mov edi, eax
mov eax, dword [str._col_fg_errfg__bg_errbg__]
lea edx, [eax + 2]
mov bx, word [eax]
add eax, 2
test bx, bx
jne 0x66209950
push esi
sub eax, edx
sar eax, 1
mov ebx, eax
lea eax, [esp + 0x34]
lea ebp, [ebx + edi]
push eax
lea ecx, [esp + ebp + 0x38]
push ecx
mov dword [esp + 0x30], ebp
call fcn.6620be20
sub esp, 0xfffffff4
xor eax, eax
test edi, edi
jbe 0x66209993
mov ecx, dword [str.__dml__]
mov dl, byte [ecx + eax*2]
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, edi
jb 0x66209987
xor edx, edx
test ebx, ebx
jbe 0x662099b3
lea edi, [esp + edi + 0x30]
mov eax, dword [str._col_fg_errfg__bg_errbg__]
mov cl, byte [eax + edx*2]
mov byte [edi + edx], cl
inc edx
cmp edx, ebx
jb 0x662099a3
mov ebp, dword [esp + 0x24]
add esi, ebp
mov ebp, dword [str.__col_]
mov edi, ebp
lea edx, [edi + 2]
mov cx, word [edi]
sub edi, 0xfffffffe
test cx, cx
jne 0x662099c0
sub edi, edx
sar edi, 1
mov eax, 0
je 0x662099ec
lea ebx, [ebx]
lea ecx, [esp + esi + 0x30]
mov dl, byte [ebp + eax*2]
mov byte [ecx + eax], dl
inc eax
cmp eax, edi
jb 0x662099e0
lea ecx, [esp + 0x28]
add esi, edi
push ecx
push 2
mov byte [esp + esi + 0x38], 0xa
inc esi
push 0
lea eax, [esp + 0x3c]
push 0x40010006
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call fcn.66206bb0
int3
lea ecx, [esp + 0x14]
lea eax, [esi + esi]
push ecx
lea edi, [esp + 0x34]
push 0
lea edx, [esp + 0x28]
mov dword [esp + 0x24], edi
push edx
push 1
mov word [esp + 0x28], ax
mov word [esp + 0x2a], ax
push 1
lea eax, [esp + 0x2c]
push 0x40000015
mov dword [esp + 0x38], eax
call dword [sym.imp.ntdll.dll_NtRaiseHardError]
or eax, eax
jl 0x66209a75
mov eax, dword [esp + 0x14]
cmp eax, 2
je 0x66209a75
cmp eax, 7
jne 0x66209a82
int3
push 0xc0000001
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x820
ret