Function at 0x10001401
Capabilities:
Print debug messages

Disassembly:
jmp 0x10005cc0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10020a30
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
mov ebp, ecx
push esi
push edi
mov al, byte [ebp + 8]
test al, al
je 0x10005e86
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push esi
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::operator
push esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight_1
lea eax, [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], 2
jle 0x10005d8c
lea edx, [esp + 0x30]
push 2
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x10029110
push eax
call edi
add esp, 8
test eax, eax
jne 0x10005def
push str.find_the_mail_end_pos_and__close_handle_n
mov byte [ebp + 8], al
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [0x1002dac8]
push ecx
push 0x100290d8
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [ebp + 4]
push esi
inc edx
mov dword [ebp + 4], edx
call fcn.1000169a
add esp, 0x14
jmp 0x10005e53
mov edx, dword [esp + 0xc]
push 0x100290d4
push edx
call edi
add esp, 8
test eax, eax
jne 0x10005e4b
push str.find_the_mail_end_pos_n
mov byte [ebp + 8], al
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x1002dac8]
push eax
push 0x100290d8
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [ebp + 4]
push esi
inc edx
mov dword [ebp + 4], edx
call fcn.1000169a
add esp, 0x14
jmp 0x10005e53
push esi
mov ecx, ebp
call fcn.10001523
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jle 0x10005efe
mov edx, dword [edx]
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
push ebx
mov dword [esp + 0x1c], ecx
push eax
mov word [esp + 0x24], cx
mov dword [esp + 0x1c], edx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
mov esi, str.DATA
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x10005ef0
test cl, cl
je 0x10005eec
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x10005ef0
add eax, 2
add esi, 2
test cl, cl
jne 0x10005ec8
xor eax, eax
jmp 0x10005ef5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x10005efe
mov byte [ebp + 8], 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4