Function at 0x430056
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ddc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x124], 0
je 0x43009d
mov eax, 1
jmp 0x430934
mov ecx, dword [ebp - 0x94]
call fcn.00432fc8
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 0x13c], 0
jl 0x4300c6
mov edx, dword [ebp - 0x94]
cmp dword [edx + 0x138], 0
jge 0x4300d0
mov eax, 1
jmp 0x430934
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x94]
mov edx, dword [eax + 0x138]
cmp edx, dword [ecx + 0x13c]
jge 0x4300fe
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x138]
mov dword [ebp - 0x98], ecx
jmp 0x430110
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x13c]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
mov ecx, dword [edx + 0x138]
cmp ecx, dword [eax + 0x13c]
jge 0x430147
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x13c]
mov dword [ebp - 0x9c], eax
jmp 0x430159
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x138]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x94]
add ecx, 0x67c
call fcn.004020a0
test eax, eax
je 0x4301fb
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x10]
test ecx, ecx
jge 0x43019c
mov dword [ebp - 0xa0], 0
jmp 0x4301a8
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0x44
call sub.MFC42.DLL_CString::Mid_1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
jmp 0x43084b
mov edx, dword [ebp - 0x94]
add edx, 0x67c
push edx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x94]
add eax, 0x44
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 0x6a0], 0
je 0x4304bc
mov edx, dword [ebp - 0x94]
movsx eax, word [edx + 0xda]
test eax, eax
je 0x4304bc
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x94]
mov dl, byte [ecx + 0x129]
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jle 0x430288
lea ecx, [ebp - 0x30]
call fcn.00402060
sub eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x94]
mov cl, byte [eax + 0x129]
push ecx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x40], 0
jg 0x4302f2
cmp dword [ebp - 0x3c], 0xffffffff
jle 0x4302f2
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
jmp 0x4304bc
cmp dword [ebp - 0x40], 0
jle 0x4303f4
cmp dword [ebp - 0x3c], 0xffffffff
jle 0x4303f4
mov eax, dword [ebp - 0x40]
push eax
push 0x39
lea ecx, [ebp - 0x58]
call fcn.0045b002
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x94]
mov cl, byte [eax + 0x129]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0x60]
push eax
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xc8]
push edx
lea eax, [ebp - 0x64]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString
jmp 0x4304bc
cmp dword [ebp - 0x40], 0
jle 0x4304bc
cmp dword [ebp - 0x3c], 0
jge 0x4304bc
mov eax, dword [ebp - 0x40]
push eax
push 0x39
lea ecx, [ebp - 0x68]
call fcn.0045b002
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0x94]
mov cl, byte [eax + 0x129]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x6c]
push eax
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0x70]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x6a0], 0
je 0x43051e
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 0x69c], 0
je 0x43051e
lea ecx, [ebp - 0x30]
call fcn.00402060
test eax, eax
jl 0x43050b
push 0
lea ecx, [ebp - 0x30]
call fcn.0040c780
movsx edx, al
cmp edx, 0x2d
jne 0x43050b
mov dword [ebp - 0xec], 0
jmp 0x430515
mov dword [ebp - 0xec], 0xffffffff
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x94]
movsx edx, word [ecx + 0x10e]
cmp edx, 2
je 0x430543
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x690], 0
je 0x4305c8
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::MakeReverse
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::MakeReverse
mov ecx, dword [ebp - 0x94]
movsx edx, word [ecx + 0x10e]
cmp edx, 2
je 0x430574
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x690], 0
je 0x43059c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x30]
call fcn.00402060
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.00402060
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4305b5
lea ecx, [ebp - 0x30]
call fcn.00402060
sub eax, 1
mov dword [ebp - 0xf0], eax
jmp 0x4305bf
mov dword [ebp - 0xf0], 0xffffffff
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xffffffff
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 0x6a0], 0
je 0x430607
mov edx, dword [ebp - 0x94]
movsx eax, word [edx + 0xda]
test eax, eax
je 0x430607
mov ecx, dword [ebp - 0x94]
mov dl, byte [ecx + 0x129]
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x430618
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x20]
jge 0x4307ba
lea ecx, [ebp - 0x34]
call fcn.00402060
cmp eax, dword [ebp - 0x2c]
jg 0x430636
jmp 0x4307ba
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c780
movsx ecx, al
cmp ecx, 0x2d
jne 0x430669
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x2c]
jne 0x430669
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c780
push eax
lea ecx, [ebp - 0x18]
call fcn.0045ae40
jmp 0x43060f
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040c780
mov byte [ebp - 0x4c], al
movsx edx, byte [ebp - 0x4c]
mov eax, dword [ebp - 0x94]
movsx ecx, byte [eax + 0x129]
cmp edx, ecx
jne 0x4306af
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x2c]
jne 0x4306af
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c780
push eax
lea ecx, [ebp - 0x18]
call fcn.0045ae40
jmp 0x43060f
mov cl, byte [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.00432905
test eax, eax
jne 0x4306c7
jmp 0x43060f
movsx edx, byte [ebp - 0x4c]
cmp edx, 0x58
jne 0x43070f
push 0x472b60
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x90]
or al, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
jmp 0x43075a
push 1
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c780
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045b002
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x90]
or ecx, 2
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x18]
call fcn.0045ae46
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x90]
and eax, 2
test eax, eax
je 0x430792
and dword [ebp - 0x90], 0xfffffffd
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x90]
and ecx, 1
test ecx, ecx
je 0x4307b5
and dword [ebp - 0x90], 0xfffffffe
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString
jmp 0x43060f
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x20]
jge 0x43080a
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::Mid_1
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0045ae46
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x94]
movsx eax, word [edx + 0x10e]
cmp eax, 2
je 0x43082b
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 0x690], 0
je 0x430833
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::MakeReverse
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x94]
call fcn.00433810
test eax, eax
jne 0x43087e
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x84]
jmp 0x430934
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4308bd
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0
push 0x472b64
call sub.MFC42.DLL_AfxMessageBox_1
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x88]
jmp 0x430934
lea ecx, [ebp - 0x18]
call fcn.00402060
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
call fcn.004020c0
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x14]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x8c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret