Function at 0x43c700
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef7b2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x533014]
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 edi, ecx
mov dword [ebp - 0x5c], edi
push 0
push 0x5367d8
push 0x53689c
push 0
push dword [edi + 0x248]
call fcn.00488cfc
add esp, 0x14
test eax, eax
je 0x43c98f
mov esi, dword [eax + 0x94]
mov ebx, dword [eax + 0x9c]
cmp esi, ebx
jle 0x43c76a
mov eax, esi
mov esi, ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
cmp esi, ebx
jg 0x43c873
nop dword [eax]
test esi, esi
js 0x43c861
mov ecx, dword [edi + 0x248]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp esi, eax
jge 0x43c861
mov eax, dword [edi + 0x258]
test eax, eax
je 0x43c861
nop dword [eax]
mov edi, dword [eax + 8]
lea ecx, [eax]
mov eax, dword [eax]
cmp dword [edi + 0x268], esi
je 0x43c7d8
test eax, eax
jne 0x43c7c0
jmp 0x43c85e
push 0x50a3f8
lea ecx, [ebp - 0x60]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_char__struct_SOUI::char_traits_::constructor_char_const__]
push 0
push 0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.utilities.dll_public:_static_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::SStrCpCvt::CvtA2W_class_SOUI::TStringT_char__struct_SOUI::char_traits__const___unsigned_int__unsigned_int_]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [edi + 4]
push dword [eax]
call fcn.00429cb0
lea ecx, [ebp - 0x64]
mov edi, eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_char__struct_SOUI::char_traits_::destructor_void_]
test edi, edi
je 0x43c85e
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00433a60
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0041ac60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x43c85e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407a10
mov edi, dword [ebp - 0x5c]
inc esi
cmp esi, ebx
jle 0x43c790
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x40]
jae 0x43c876
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00448bd0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae esi, dword [ebp - 0x28]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43c8da
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [edi + 1]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x43c8b6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43c924
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x43c91b
test cl, 0x1f
je 0x43c8f7
call fcn.004a8769
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x43c903
call fcn.004a8769
sub ecx, eax
cmp ecx, 4
jae 0x43c90f
call fcn.004a8769
cmp ecx, 0x23
jbe 0x43c919
call fcn.004a8769
mov ecx, eax
push ecx
call fcn.00463708
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x43c98f
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
jbe 0x43c94e
call fcn.004a8769
add eax, eax
cmp eax, 0x1000
jb 0x43c986
test byte [ebp - 0x40], 0x1f
je 0x43c962
call fcn.004a8769
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x43c96e
call fcn.004a8769
sub ecx, eax
cmp ecx, 4
jae 0x43c97a
call fcn.004a8769
cmp ecx, 0x23
jbe 0x43c984
call fcn.004a8769
mov ecx, eax
push ecx
call fcn.00463708
add esp, 4
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.0046370d
mov esp, ebp
pop ebp
ret