Function at 0x4181a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476b96
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x54
test eax, eax
je 0x418407
push edi
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x418406
push ebx
push ebp
push esi
push str.null
lea ecx, [esp + 0x4c]
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 + 0x74], 0
call esi
or ebp, 0xffffffff
add esp, 8
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x6c], 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 0x418403
push str.NULL
lea ecx, [esp + 0x4c]
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 + 0x74], 1
call esi
add esp, 8
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x6c], 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 0x418403
push str.Null
lea ecx, [esp + 0x4c]
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 + 0x74], 2
call esi
add esp, 8
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x6c], 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 0x418403
push edi
lea ecx, [esp + 0x30]
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 eax, dword [eax]
push 1
push eax
push 0x483158
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 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__unsigned_int_const]
mov ecx, 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 [ecx]
je 0x4183f5
mov eax, dword [0x4acf38]
test eax, eax
je 0x41838b
mov ecx, 0x4dc744
call fcn.00414da0
xor ebx, ebx
test eax, eax
mov dword [esp + 0x74], eax
jbe 0x418354
xor ebp, ebp
lea esp, [esp]
mov edx, dword [0x4dc748]
lea eax, [edx + ebp]
push eax
lea ecx, [esp + 0x14]
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__]
cmp dword [esp + 0x28], 0x10
mov esi, dword [esp + 0x14]
jae 0x418303
lea esi, [esp + 0x14]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418329
test cl, cl
je 0x418325
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418329
add eax, 2
add esi, 2
test cl, cl
jne 0x418305
xor eax, eax
jmp 0x41832e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 3
je 0x418416
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 + 0x74]
inc ebx
add ebp, 0x1c
cmp ebx, eax
jb 0x4182e0
or ebp, 0xffffffff
mov eax, dword [0x4acf38]
test eax, eax
je 0x41838b
push edi
lea ecx, [esp + 0x14]
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 eax, [esp + 0x10]
push eax
mov ecx, 0x4dc744
mov byte [esp + 0x70], 5
call fcn.00415d80
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 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 [0x4acf3c]
test eax, eax
je 0x4183f5
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4183f5
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, edi
lea edx, [eax + 1]
jmp 0x4183b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4183b0
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 0x4183d5
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 + 0x2c]
mov dword [esp + 0x6c], 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 + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
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 0x4183f5