Function at 0x100037e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013509
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x1001f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x20], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100039ee
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100039e8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100039e1
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x100039e1
mov eax, dword [edi + 0x10]
lea edx, [ecx + 1]
mov dword [ebp - 0x18], eax
cmp edx, eax
ja 0x100038b1
mov dword [edi + 0x10], edx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x100038ab
mov eax, dword [edi]
mov byte [eax + edx], 0
jmp 0x10003900
mov ecx, edx
sub ecx, eax
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
cmp ecx, eax
ja 0x100038ec
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], edx
mov edx, edi
jb 0x100038cf
mov edx, dword [edi]
mov esi, dword [ebp - 0x18]
push ecx
add esi, edx
push 0
push esi
call fcn.10007f30
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x14]
jmp 0x100038fd
push ecx
push ecx
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.100063d0
mov ecx, dword [ebp - 0x10]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1000390a
mov eax, dword [edi]
push 0
push 0
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x10]
mov eax, edi
dec ecx
mov dword [ebp - 0x2c], 0
cmp dword [edi + 0x10], ecx
mov dword [ebp - 0x28], 0xf
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0x3c], 0
jb 0x10003949
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10005f40
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x100039b1
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x1000398d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10003983
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003a01
mov eax, edx
push ecx
push eax
call fcn.10006952
add esp, 8
movups xmm0, xmmword [ebp - 0x3c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [edi + 0x10], xmm0
jmp 0x100039e1
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x100039e1
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100039d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003a01
push edx
push ecx
call fcn.10006952
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1000a250
int3