Function at 0x66209740
Capabilities:
Terminate process

Disassembly:
sub esp, 0x820
call fcn.66206c50
test eax, eax
setne al
mov byte [esp + 3], al
mov edx, str.Nt0SafeUtil::RaiseHardError_PID
test 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
push ebx
push ebp
push esi
mov eax, edx
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 edi, eax
lea esi, [edi + edi]
push esi
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 ebp, [esp + esi + 0x44]
push eax
mov esi, 0x400
push ebp
sub esi, edi
call fcn.662095f0
add esp, 0x1c
sub esi, eax
cmp dword [esp + 0x834], 0
lea edi, [ebp + eax*2]
je 0x6620988f
mov eax, 0x66217d58
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x662097d0
sub eax, edx
sar eax, 1
mov ebx, eax
lea ebp, [ebx + ebx]
push ebp
push 0x66217d58
push edi
call fcn.6620b9c0
sub esi, ebx
mov ebx, dword [esp + 0x840]
push 0x5c
push ebx
add edi, ebp
call fcn.6620ce50
add esp, 0x14
test eax, eax
je 0x66209814
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 0x66209820
sub eax, edx
mov ecx, eax
mov eax, 0
je 0x66209840
movsx dx, byte [eax + ebx]
mov word [edi + eax*2], dx
inc eax
cmp eax, ecx
jb 0x66209832
mov eax, 0x66217d54
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 0x66209850
sub eax, edx
sar eax, 1
mov ebp, eax
lea ebx, [ebp + ebp]
push ebx
push 0x66217d54
push edi
call fcn.6620b9c0
mov eax, dword [esp + 0x844]
push 0xa
push 0
push eax
add edi, ebx
push edi
sub esi, ebp
call fcn.662095f0
add esp, 0x1c
lea edi, [edi + eax*2]
sub esi, eax
cmp dword [esp + 0x83c], 0
je 0x662098fa
mov eax, 0x66217d58
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x662098a1
sub eax, edx
sar eax, 1
mov ebp, eax
lea ebx, [ebp + ebp]
push ebx
push 0x66217d58
push edi
call fcn.6620b9c0
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 0x662098d5
sub eax, ebx
sar eax, 1
cmp eax, esi
jbe 0x662098ea
mov eax, esi
lea esi, [eax + eax]
push esi
push edx
push edi
call fcn.6620b9c0
add esp, 0xc
add edi, esi
lea ecx, [esp + 0x30]
sub edi, ecx
sar edi, 1
cmp byte [esp + 0x13], 0
je 0x66209a1f
xor eax, eax
test edi, edi
jbe 0x66209920
mov dl, byte [esp + eax*2 + 0x30]
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, edi
jb 0x66209913
mov eax, dword [str.__dml__]
lea edx, [eax + 2]
jmp 0x66209930
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x66209930
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 0x66209950
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.6620be20
add esp, 0xc
xor eax, eax
test esi, esi
jbe 0x66209993
mov ecx, dword [str.__dml__]
mov dl, byte [ecx + eax*2]
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, esi
jb 0x66209987
xor eax, eax
test ebx, ebx
jbe 0x662099b3
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 0x662099a3
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 0x662099c0
sub eax, edx
sar eax, 1
mov ecx, 0
je 0x662099ec
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 0x662099e0
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.66206bb0
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 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