Function at 0x10022651
Capabilities:
Terminate process

Disassembly:
push 0x6e8
mov eax, 0x1005d80d
call fcn.10059743
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
cmp dword [eax - 0xc], edi
jne 0x10022680
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
call fcn.100597c6
ret 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
lea ecx, [ebp - 0x6c4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x6cc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea esi, [ebp - 0x6c0]
call fcn.1000bf4f
lea eax, [ebp - 0x6e0]
push eax
mov byte [ebp - 4], 3
call fcn.1001f552
lea eax, [ebp - 0x6f4]
push eax
mov byte [ebp - 4], 4
call fcn.1001f5d9
mov byte [ebp - 4], 5
cmp dword [ebp - 0x6b8], edi
jne 0x1002272c
xor esi, esi
lea ecx, [ebp - 0x6f4]
mov byte [ebp - 4], 4
call fcn.1001f62b
lea ecx, [ebp - 0x6e0]
mov byte [ebp - 4], 3
call fcn.1001f5a6
lea ecx, [ebp - 0x6c0]
mov byte [ebp - 4], 2
call fcn.1000c0b3
lea ecx, [ebp - 0x6cc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x6c4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
jmp 0x10022678
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x6c0]
call fcn.1000c153
jmp 0x100227ff
push dword [ebp - 0x6dc]
lea ecx, [ebp - 0x6c4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov esi, dword [ebp - 0x6d8]
lea ecx, [ebp - 0x6c4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
push dword [ebp + 8]
lea ecx, [ebp - 0x6c4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x100227ee
lea eax, [ebp - 0x6f4]
push eax
push esi
lea ecx, [ebp - 0x6c0]
call fcn.1000c2a2
lea eax, [ebp - 0x6e4]
push eax
lea ecx, [ebp - 0x6c8]
call dword [0x1006ce0c]
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
push esi
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x100227de
push 0x29a
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x100227d7
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x6e0]
lea ecx, [ebp - 0x6c0]
call fcn.1000c235
cmp eax, edi
jne 0x10022743
xor esi, esi
inc esi
jmp 0x100226d7