Function at 0x413550
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45ac14
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x458
test eax, eax
je 0x41386a
push edi
mov edi, dword [esp + 0x470]
test edi, edi
je 0x413869
push ebx
push ebp
push esi
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__]
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 0x413866
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 0x413866
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 0x413866
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 0x465750
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 0x413855
mov eax, dword [0x494450]
test eax, eax
je 0x413722
mov ecx, 0x4c34e4
call fcn.00411450
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x413722
xor ebp, ebp
mov eax, dword [0x4c34e8]
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 0x4136f4
test al, al
je 0x4136f0
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x4136f4
add ecx, 2
add esi, 2
test al, al
jne 0x4136d0
xor eax, eax
jmp 0x4136f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x470], 3
je 0x41387f
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 0x4136a5
or ebp, 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00412cd0
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 [0x494448]
test eax, eax
je 0x41378b
push 0
push str.DebugSet
lea eax, [esp + 0x70]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x49444c]
test eax, eax
je 0x4137b2
lea ecx, [esp + 0x68]
push ecx
push 0x4654b4
mov ecx, 0x4c34ac
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.00413330
add esp, 0xc
mov eax, dword [0x494450]
test eax, eax
je 0x4137ef
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, 0x4c34e4
mov byte [esp + 0x474], 6
call fcn.004122c0
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 [0x494454]
test eax, eax
je 0x413855
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x413855
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 0x413810
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 0x413835
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 0x413855