Function at 0x66209830
Capabilities:
Terminate process

Disassembly:
sub esp, 0x820
call fcn.66206d80
test eax, eax
setne al
mov byte [esp + 3], al
mov edx, str.Nt0SafeUtil::RaiseHardError_PID
test al, al
jne 0x66209852
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
push ebx
push ebp
push esi
mov eax, edx
push edi
lea esi, [eax + 2]
jmp 0x66209860
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209860
sub eax, esi
sar eax, 1
mov edi, eax
lea esi, [edi + edi]
push esi
push edx
lea eax, [esp + 0x38]
push eax
call fcn.6620bc70
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x20]
push 0xa
push 0
lea ebp, [esp + esi + 0x44]
push eax
mov esi, 0x400
push ebp
sub esi, edi
call fcn.662096e0
add esp, 0x1c
sub esi, eax
cmp dword [esp + 0x834], 0
lea edi, [ebp + eax*2]
je 0x6620997f
mov eax, 0x66217d20
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x662098c0
sub eax, edx
sar eax, 1
mov ebx, eax
lea ebp, [ebx + ebx]
push ebp
push 0x66217d20
push edi
call fcn.6620bc70
sub esi, ebx
mov ebx, dword [esp + 0x840]
push 0x5c
push ebx
add edi, ebp
call fcn.6620d100
add esp, 0x14
test eax, eax
je 0x66209904
inc eax
mov dword [esp + 0x834], eax
mov ebx, eax
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x66209910
sub eax, edx
mov ecx, eax
mov eax, 0
je 0x66209930
movsx dx, byte [eax + ebx]
mov word [edi + eax*2], dx
inc eax
cmp eax, ecx
jb 0x66209922
mov eax, 0x66217d1c
lea edi, [edi + ecx*2]
sub esi, ecx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209940
sub eax, edx
sar eax, 1
mov ebp, eax
lea ebx, [ebp + ebp]
push ebx
push 0x66217d1c
push edi
call fcn.6620bc70
mov eax, dword [esp + 0x844]
push 0xa
push 0
push eax
add edi, ebx
push edi
sub esi, ebp
call fcn.662096e0
add esp, 0x1c
lea edi, [edi + eax*2]
sub esi, eax
cmp dword [esp + 0x83c], 0
je 0x662099ea
mov eax, 0x66217d20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209991
sub eax, edx
sar eax, 1
mov ebp, eax
lea ebx, [ebp + ebp]
push ebx
push 0x66217d20
push edi
call fcn.6620bc70
mov edx, dword [esp + 0x848]
add edi, ebx
mov eax, edx
add esp, 0xc
sub esi, ebp
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x662099c5
sub eax, ebx
sar eax, 1
cmp eax, esi
jbe 0x662099da
mov eax, esi
lea esi, [eax + eax]
push esi
push edx
push edi
call fcn.6620bc70
add esp, 0xc
add edi, esi
lea ecx, [esp + 0x30]
sub edi, ecx
sar edi, 1
cmp byte [esp + 0x13], 0
je 0x66209b0f
xor eax, eax
test edi, edi
jbe 0x66209a10
mov dl, byte [esp + eax*2 + 0x30]
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, edi
jb 0x66209a03
mov eax, dword [str.__dml__]
lea edx, [eax + 2]
jmp 0x66209a20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209a20
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [str._col_fg_errfg__bg_errbg__]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209a40
sub eax, edx
sar eax, 1
mov ebx, eax
lea ebp, [ebx + esi]
push edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + ebp + 0x38]
push ecx
mov dword [esp + 0x30], ebp
call fcn.6620c0d0
add esp, 0xc
xor eax, eax
test esi, esi
jbe 0x66209a83
mov ecx, dword [str.__dml__]
mov dl, byte [ecx + eax*2]
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, esi
jb 0x66209a77
xor eax, eax
test ebx, ebx
jbe 0x66209aa3
mov ebp, dword [str._col_fg_errfg__bg_errbg__]
lea esi, [esp + esi + 0x30]
mov cl, byte [ebp + eax*2]
mov byte [esi + eax], cl
inc eax
cmp eax, ebx
jb 0x66209a93
mov ebp, dword [esp + 0x24]
add edi, ebp
mov ebp, dword [str.__col_]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209ab0
sub eax, edx
sar eax, 1
mov ecx, 0
je 0x66209adc
lea esi, [esp + edi + 0x30]
lea ebx, [ebx]
mov dl, byte [ebp + ecx*2]
mov byte [esi + ecx], dl
inc ecx
cmp ecx, eax
jb 0x66209ad0
lea ecx, [esp + 0x28]
push ecx
add edi, eax
push 2
mov byte [esp + edi + 0x38], 0xa
push 0
lea eax, [esp + 0x3c]
inc edi
push 0x40010006
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
call fcn.66206ce0
int3
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push 0
mov dword [esp + 0x24], edx
lea edx, [esp + 0x28]
push edx
lea eax, [edi + edi]
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]
test eax, eax
jl 0x66209b65
mov eax, dword [esp + 0x14]
cmp eax, 2
je 0x66209b65
cmp eax, 7
jne 0x66209b72
int3
push 0xc0000001
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x820
ret