Function at 0x4857f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x30], 0
je 0x485820
push dword [esi]
call sub.IMM32.dll_ImmGetContext
push 0
push 1
push 0x15
push eax
mov dword [esi + 4], eax
call sub.IMM32.dll_ImmNotifyIME
push dword [esi + 4]
push dword [esi]
call sub.IMM32.dll_ImmReleaseContext
push ebx
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x485872
push dword [esi]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
lea ebx, [edx + 1]
nop dword [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x485850
sub edx, ebx
mov ecx, section..data
push edx
push eax
call fcn.00451530
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb8]
cmp edx, ecx
je 0x4858eb
cmp dword [esi + 0x4c], 0xf
lea edi, [esi + 0x38]
jbe 0x485891
mov eax, dword [edi]
add ecx, eax
jmp 0x485895
add ecx, edi
mov eax, edi
push ecx
add eax, edx
mov ecx, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00485e00
lea ecx, [esi + 8]
cmp ecx, edi
je 0x4858be
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4858b5
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00451530
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x7c]
cmp ecx, eax
jbe 0x4858d3
mov dword [esi + 0x80], eax
jmp 0x4858d8
mov dword [esi + 0x7c], ecx
mov eax, ecx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xb4], eax
mov byte [esi + 0xbe], 0
mov eax, dword [0x742010]
add eax, dword [esi + 0x48]
mov edx, dword [esi + 0x74]
cmp eax, edx
jae 0x485934
cmp dword [0x742014], 0xf
mov edx, section..data
cmova edx, dword [section..data]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485912
sub ecx, edi
lea edi, [esi + 0x38]
push ecx
push edx
push dword [esi + 0x80]
mov ecx, edi
call fcn.0047b340
mov eax, dword [0x742010]
jmp 0x4859a5
cmp dword [esi + 0x4c], 0xf
lea ecx, [esi + 0x38]
mov ebx, ecx
jbe 0x485946
mov ebx, dword [ecx]
lea edi, [esi + 0x38]
jmp 0x485948
mov edi, ecx
mov eax, dword [esi + 0x80]
add eax, ebx
cmp dword [0x742014], 0xf
mov dword [ebp - 8], eax
mov eax, section..data
jbe 0x485973
mov ebx, dword [section..data]
mov eax, ebx
sub eax, dword [esi + 0x48]
add eax, edx
lea edx, [esi + 0x38]
jmp 0x48597f
sub edx, dword [esi + 0x48]
mov ebx, section..data
add eax, edx
mov edx, edi
cmp dword [ecx + 0x14], 0xf
mov dword [ebp - 4], ecx
jbe 0x48598f
mov edi, dword [ecx]
mov dword [ebp - 4], edi
mov edi, edx
sub eax, ebx
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
push ebx
push eax
call fcn.0047b340
mov eax, dword [esi + 0x74]
sub eax, dword [esi + 0x48]
add dword [esi + 0x7c], eax
lea ecx, [esi + 8]
pop ebx
cmp ecx, edi
je 0x4859c3
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4859ba
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00451530
mov eax, dword [esi + 0x7c]
pop edi
mov dword [esi + 0x80], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xb4], eax
pop esi
mov esp, ebp
pop ebp
ret