Function at 0x406350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x414e57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push ebp
mov ebp, dword [esp + 0x108]
mov ebx, ecx
push ebp
mov dword [esp + 0x18], ebx
lea ecx, [ebx + 0xe0]
call sub.MFC42.DLL_CWnd::SetWindowTextA
add ebx, 0x60
push 0x430c08
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
test ebp, ebp
je 0x40693a
push esi
push edi
call fcn.00413910
mov edx, eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
mov eax, ecx
mov edi, dword [edi + 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x120]
mov eax, dword [edi + 0x128]
push ecx
push eax
push ebp
mov ecx, edx
call fcn.00413230
mov ebp, eax
cmp dword [ebp], 0
jne 0x4063f9
push 0x80004003
call fcn.004144cf
mov esi, dword [ebp]
lea edx, [esp + 0x1a]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0x50]
test eax, eax
jge 0x406417
push 0x42fbe8
push esi
push eax
call fcn.004144dd
cmp word [esp + 0x1a], 0
je 0x406452
mov eax, dword [edi + 0x124]
mov ecx, dword [edi + 0x128]
push eax
push ecx
lea edx, [esp + 0xc8]
push 0x42fbc8
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0xc0]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
jne 0x40646b
push 0x80004003
call fcn.004144cf
mov esi, dword [ebp]
lea edx, [esp + 0x1a]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x406489
push 0x42fbe8
push esi
push eax
call fcn.004144dd
cmp word [esp + 0x1a], bx
jne 0x40692a
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x430c08
lea ecx, [esp + 0x14]
mov dword [esp + 0x10c], ebx
call sub.MFC42.DLL_CString::CString_1
push str.sender
mov byte [esp + 0x10c], 1
mov word [esp + 0x74], 8
call fcn.0041438a
cmp eax, ebx
mov dword [esp + 0x78], eax
jne 0x4064e8
mov ecx, str.sender
test ecx, ecx
je 0x4064e8
push 0x8007000e
call fcn.004144cf
mov eax, dword [ebp]
mov byte [esp + 0x108], 2
cmp eax, ebx
jne 0x406501
push 0x80004003
call fcn.004144cf
mov ecx, dword [ebp]
lea edx, [esp + 0x70]
lea eax, [esp + 0x90]
push edx
push eax
call fcn.00407200
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x110], 3
call esi
cmp eax, ebx
jge 0x406536
push eax
call fcn.004144cf
lea edx, [esp + 0x90]
mov byte [esp + 0x108], 2
push edx
call edi
cmp eax, ebx
jge 0x406552
push eax
call fcn.004144cf
lea eax, [esp + 0x70]
mov byte [esp + 0x108], 1
push eax
call edi
cmp eax, ebx
jge 0x40656b
push eax
call fcn.004144cf
cmp word [esp + 0x20], 8
mov dword [esp + 0x14], ebx
jne 0x406587
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406960
jmp 0x4065dd
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x80]
push eax
push 8
mov byte [esp + 0x110], 4
call fcn.00406ac0
mov ecx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406960
lea edx, [esp + 0x80]
mov byte [esp + 0x108], 1
push edx
call edi
cmp eax, ebx
jge 0x4065dd
push eax
call fcn.004144cf
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x108], 5
cmp ecx, ebx
je 0x4065f4
call fcn.00406a90
jmp 0x4065f6
xor eax, eax
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
push ecx
call sub.MFC42.DLL_operator
push 0x42fbbc
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0x114], 6
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x10c], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x108], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x108], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x108], 1
call fcn.00406a40
push str.senddate
mov word [esp + 0x44], 8
call fcn.0041438a
cmp eax, ebx
mov dword [esp + 0x48], eax
jne 0x40668f
mov eax, str.senddate
test eax, eax
je 0x40668f
push 0x8007000e
call fcn.004144cf
mov eax, dword [ebp]
mov byte [esp + 0x108], 8
cmp eax, ebx
jne 0x4066a8
push 0x80004003
call fcn.004144cf
mov ecx, dword [ebp]
lea edx, [esp + 0x40]
lea eax, [esp + 0xb0]
push edx
push eax
call fcn.00407200
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x110], 9
call esi
cmp eax, ebx
jge 0x4066d7
push eax
call fcn.004144cf
lea edx, [esp + 0xb0]
mov byte [esp + 0x108], 8
push edx
call edi
cmp eax, ebx
jge 0x4066f3
push eax
call fcn.004144cf
lea eax, [esp + 0x40]
mov byte [esp + 0x108], 1
push eax
call edi
cmp eax, ebx
jge 0x40670c
push eax
call fcn.004144cf
cmp word [esp + 0x20], 8
mov dword [esp + 0x14], ebx
jne 0x406728
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406960
jmp 0x406772
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x60]
push eax
push 8
mov byte [esp + 0x110], 0xa
call fcn.00406ac0
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406960
lea edx, [esp + 0x60]
mov byte [esp + 0x108], 1
push edx
call edi
cmp eax, ebx
jge 0x406772
push eax
call fcn.004144cf
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x108], 0xb
cmp ecx, ebx
je 0x406789
call fcn.00406a90
jmp 0x40678b
xor eax, eax
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x10c], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x108], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x108], 1
call fcn.00406a40
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00406d50
push 0x430c08
lea ecx, [esp + 0x14]
call fcn.00413de4
push str.message
mov word [esp + 0x54], 8
call fcn.0041438a
cmp eax, ebx
mov dword [esp + 0x58], eax
jne 0x406819
mov eax, str.message
test eax, eax
je 0x406819
push 0x8007000e
call fcn.004144cf
mov eax, dword [ebp]
mov byte [esp + 0x108], 0xd
cmp eax, ebx
jne 0x406832
push 0x80004003
call fcn.004144cf
mov ecx, dword [ebp]
lea edx, [esp + 0x50]
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.00407200
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x110], 0xe
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x406865
push eax
call fcn.004144cf
lea edx, [esp + 0xa0]
mov byte [esp + 0x108], 0xd
push edx
call edi
cmp eax, ebx
jge 0x406881
push eax
call fcn.004144cf
lea eax, [esp + 0x50]
mov byte [esp + 0x108], 1
push eax
call edi
cmp eax, ebx
jge 0x40689a
push eax
call fcn.004144cf
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
call fcn.00406b20
mov ecx, dword [eax]
mov byte [esp + 0x108], 0xf
cmp ecx, ebx
je 0x4068bd
call fcn.00406a90
jmp 0x4068bf
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call fcn.00413de4
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 1
call fcn.00406a40
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.00406d50
mov ecx, ebp
call fcn.00407280
mov ecx, eax
call fcn.004071d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], 0
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
mov dword [esp + 0x108], 0xffffffff
push eax
call edi
cmp eax, ebx
jge 0x406458
push eax
call fcn.004144cf
jmp 0x406458
mov ecx, ebp
call fcn.00407280
mov ecx, eax
call fcn.004071a0
pop edi
pop esi
mov ecx, dword [esp + 0xf8]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfc
ret 4