Function at 0x42c040
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46ff64
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x458
test eax, eax
je 0x42c35a
push edi
mov edi, dword [esp + 0x470]
test edi, edi
je 0x42c359
push ebx
push ebp
push esi
push 0x4fc84c
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push edi
push eax
mov dword [esp + 0x478], 0
call esi
or ebp, 0xffffffff
add esp, 8
lea ecx, [esp + 0x14]
mov bl, al
mov dword [esp + 0x470], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
jne 0x42c356
push str.NULL
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push edi
push eax
mov dword [esp + 0x478], 1
call esi
add esp, 8
lea ecx, [esp + 0x14]
mov bl, al
mov dword [esp + 0x470], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
jne 0x42c356
push str.Null
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push edi
push eax
mov dword [esp + 0x478], 2
call esi
add esp, 8
lea ecx, [esp + 0x14]
mov bl, al
mov dword [esp + 0x470], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
jne 0x42c356
push edi
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 0x4f4b30
lea ecx, [esp + 0x54]
mov dword [esp + 0x478], 3
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int_const]
mov edx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
je 0x42c345
mov eax, dword [0x53fcd0]
test eax, eax
je 0x42c212
mov ecx, 0x2eba62c
call fcn.00418d40
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x42c212
xor ebp, ebp
mov eax, dword [0x2eba630]
add eax, ebp
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x470], 4
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov esi, eax
mov ecx, edi
lea ecx, [ecx]
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x42c1e4
test al, al
je 0x42c1e0
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x42c1e4
add ecx, 2
add esi, 2
test al, al
jne 0x42c1c0
xor eax, eax
jmp 0x42c1e9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x470], 3
je 0x42c36f
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x10]
inc ebx
add ebp, 0x1c
cmp ebx, eax
jb 0x42c195
or ebp, 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.0042b5e0
add esp, 4
mov ecx, dword [esp + 0x478]
push edi
push ecx
mov ecx, eax
mov byte [esp + 0x478], 5
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea edx, [esp + 0x74]
push str._sFile_Error__Function:_s_FileName:_s
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x470], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [0x53fcc8]
test eax, eax
je 0x42c27b
push 0
push str.DebugSet
lea eax, [esp + 0x70]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x53fccc]
test eax, eax
je 0x42c2a2
lea ecx, [esp + 0x68]
push ecx
push 0x4f4f50
mov ecx, 0x2eba5f4
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.0042bbf0
add esp, 0xc
mov eax, dword [0x53fcd0]
test eax, eax
je 0x42c2df
push edi
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x30]
push edx
mov ecx, 0x2eba62c
mov byte [esp + 0x474], 6
call fcn.00410fd0
lea ecx, [esp + 0x30]
mov byte [esp + 0x470], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [0x53fcd4]
test eax, eax
je 0x42c345
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42c345
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c300
sub eax, edx
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x42c325
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x470], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
add esp, 0x464
ret
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or ebp, 0xffffffff
jmp 0x42c345