Function at 0x4de070
Capabilities:
Get graphical window text
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x721bcc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov ax, word [0x738154]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0xe
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], 0
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0x2d0]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4de13f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4de135
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de813
push edx
push ecx
call fcn.006f4b9f
add esp, 8
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4de163
xor bl, bl
jmp 0x4de7c8
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
push 1
sar edx, 2
lea ecx, [ebp - 0x110]
mov edi, edx
shr edi, 0x1f
push str.TComposeHandle::AppendEmailToOneEditTextForFM71___EmailVec:____
add edi, edx
call fcn.004cc520
mov esi, eax
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004dd640
mov ecx, esi
call fcn.004db070
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004dbac0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x4de1b9
mov esi, dword [esi]
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d0]
call dword [eax + 0x34]
lea eax, [ebp - 0x298]
mov dword [ebp - 0x284], 6
push esi
push eax
call fcn.004cb4e0
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x44]
add esp, 0xc
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4de220
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4de216
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de818
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.004cca40
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.006f3999
mov eax, dword [ebx]
add esp, 4
mov byte [ebp - 4], 2
cmp eax, dword [ebx + 4]
je 0x4de7c6
xor eax, eax
mov dword [ebp - 0x58], 0
push eax
push 0x736434
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004da1e0
mov byte [ebp - 4], 6
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x4de81d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x218], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x1000
or eax, ecx
mov byte [ebp - 4], 7
jge 0x4de2e1
push 0x1000
lea ecx, [ebp - 0x218]
call fcn.004d5ad0
mov edi, dword [ebp - 0x218]
lea eax, [ebp - 0x228]
push eax
push 0x3e8
push 0
push edi
push 0x1000
push 0xd
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ecx, edi
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4de323
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.004da1e0
push 4
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x738954
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004da1e0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea ebx, [ebp - 0x40]
mov byte [ebp - 4], 9
cmovae esi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x220], esi
cmovae ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], 0
je 0x4de452
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.006f7570
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x21c], 0x100
lea edx, [esi + eax*2]
cmp esi, edx
je 0x4de3de
movzx eax, word [ecx]
cmp ax, word [ebp - 0x21c]
jae 0x4de40d
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x210], 1
cmp ecx, edx
jne 0x4de3c0
mov eax, dword [ebp - 0x30]
or ecx, 0xffffffff
dec eax
mov edx, 0x100
cmp eax, ecx
cmovb ecx, eax
lea ecx, [ebx + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x4de43d
cmp byte [ebp + eax - 0x210], 0
je 0x4de43d
cmp ecx, ebx
je 0x4de452
sub ecx, 2
jmp 0x4de3f2
mov eax, dword [ebp - 0x30]
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
lea ecx, [ebx + ecx*2]
nop dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, esi
test edx, edx
je 0x4de43d
movzx esi, word [ecx]
nop dword [eax]
cmp word [eax], si
je 0x4de443
add eax, 2
sub edx, 1
jne 0x4de430
sub ecx, ebx
sar ecx, 1
jmp 0x4de455
cmp ecx, ebx
je 0x4de452
mov esi, dword [ebp - 0x220]
sub ecx, 2
jmp 0x4de420
or ecx, 0xffffffff
inc ecx
cmp dword [ebp - 0x30], ecx
jb 0x4de827
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], ecx
cmovae eax, dword [ebp - 0x40]
xor edx, edx
push 0xffffffffffffffff
push 0x738960
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x40]
call fcn.004e0290
mov edx, dword [ebp - 0x30]
mov ecx, eax
lea eax, [edx - 1]
cmp ecx, eax
je 0x4de493
cmp ecx, 0xffffffff
jne 0x4de49c
test edx, edx
je 0x4de4ab
cmp ecx, 0xffffffff
jne 0x4de4ab
push 1
push 0x738960
lea ecx, [ebp - 0x58]
call fcn.004df6c0
mov ebx, dword [ebp - 0x224]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
cmp esi, ebx
je 0x4de4ec
nop word [eax + eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4de4ca
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.004df6c0
push 2
push 0x738964
lea ecx, [ebp - 0x58]
call fcn.004df6c0
add esi, 0x18
cmp esi, ebx
jne 0x4de4c0
push 0
push 0x23
push 0x100
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x44], 8
lea ebx, [ebp - 0x58]
push 0
cmovae ebx, dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4de6ad
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xf0]
cmovae eax, dword [ebp - 0x58]
push 0xfde9
mov dword [ebp - 0xf4], ecx
lea ecx, [ebp - 0xf4]
push eax
call fcn.004d3ce0
push 1
push str.TComposeHandle::AppendEmailToOneEditTextForFM71___tmpEmail:____
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0xa
call fcn.004cc520
mov esi, eax
push dword [ebp - 0xf4]
mov byte [ebp - 4], 0xb
push esi
call fcn.004cb4e0
add esp, 8
mov ecx, esi
call fcn.004db070
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.004dbac0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0xc
jb 0x4de58f
mov esi, dword [esi]
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d0]
call dword [eax + 0x34]
lea eax, [ebp - 0x298]
mov dword [ebp - 0x284], 6
push esi
push eax
call fcn.004cb4e0
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x5c]
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x4de5f6
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4de5ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de82c
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004cca40
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.006f3999
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf0]
add esp, 4
cmp eax, ecx
je 0x4de649
push eax
call fcn.006fa47e
add esp, 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
sub ecx, ebx
nop
movzx eax, word [ebx]
lea ebx, [ebx + 2]
mov word [ecx + ebx - 2], ax
test ax, ax
jne 0x4de670
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0
push 0x302
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4de6e0
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d0]
call dword [eax + 0x34]
lea eax, [ebp - 0x298]
mov dword [ebp - 0x284], 6
push str.TComposeHandle::AppendEmailToOneEditTextForFM71_fail_
push eax
call fcn.004cb4e0
push eax
call fcn.004cbd50
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x4de71e
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4de714
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de831
push ecx
push edx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4de75c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4de752
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de831
push edx
push ecx
call fcn.006f4b9f
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
add edi, 0xfffffff0
mov dword [ebp - 0x2c], 7
or eax, 0xffffffff
mov byte [ebp - 4], 6
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4de78c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4de7c6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4de7bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de831
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov bl, 1
lea ecx, [ebp - 0x2d0]
call fcn.00553780
lea eax, [ebp - 0x270]
mov dword [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret 8
call fcn.006fb96e
call fcn.006fb96e
push 0x80004005
call fcn.004cf5d0
call fcn.0044e370
call fcn.006fb96e
call fcn.006fb96e
int3