Function at 0x10066510
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abfc3
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x10193e04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100669fa
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000fce0
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0xd1], al
mov cl, byte [ebp - 0xd1]
mov byte [ebp - 0xd2], cl
mov dl, byte [ebp - 0xd2]
mov byte [ebp - 0xd3], dl
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x28]
call fcn.10038780
mov ecx, dword [eax]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x140], edx
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002c900
mov ecx, dword [eax]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x144], edx
movzx eax, byte [ebp - 0xd3]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x144]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.10068e00
add esp, 0x10
mov ecx, dword [eax]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002c900
mov ecx, dword [eax]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
lea edx, [ebp - 0x174]
push edx
lea ecx, [ebp - 0x28]
call fcn.10038800
xor eax, eax
mov byte [ebp - 0xd4], al
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10038780
mov edx, dword [eax]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x10c], eax
mov cl, byte [ebp - 0xd4]
mov byte [ebp - 0xd5], cl
mov dl, byte [ebp - 0xd5]
mov byte [ebp - 0xd6], dl
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1006c920
mov ecx, dword [eax]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], edx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x28]
call fcn.1006c8c0
mov ecx, dword [eax]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x100], edx
movzx eax, byte [ebp - 0xd6]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x100]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.10068e80
add esp, 0x10
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x104]
call fcn.1006c3d0
mov edx, dword [eax]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x28]
call fcn.10038800
push 0
lea ecx, [ebp - 0x28]
call fcn.1006c390
movsx ecx, byte [eax]
cmp ecx, 0x23
je 0x10066769
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000fe80
jmp 0x100669fa
push 0x10
push 0
push 2
push 1
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x28]
call fcn.10019be0
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.1006cd10
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.1000fe80
push 0x10
push 0
push 2
push 3
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x28]
call fcn.10019be0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1006cd10
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.1000fe80
push 0x10
push 0
push 2
push 5
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x28]
call fcn.10019be0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.1006cd10
add esp, 0xc
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.1000fe80
lea ecx, [ebp - 0x28]
call fcn.10019b90
cmp eax, 7
jbe 0x100668bc
push 0x10
push 0
push 2
push 7
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x28]
call fcn.10019be0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xdc]
or ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0x130]
push edx
call fcn.1006cd10
add esp, 0xc
mov dword [ebp - 0xe0], eax
jmp 0x100668c6
mov dword [ebp - 0xe0], 0xff
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xdc]
and ecx, 1
je 0x100668f6
and dword [ebp - 0xdc], 0xfffffffe
lea ecx, [ebp - 0xd0]
call fcn.1000fe80
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x368]
mov cl, byte [ebp - 0xe4]
mov byte [eax], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x36c]
mov cl, byte [ebp - 0xe8]
mov byte [eax], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x370]
mov cl, byte [ebp - 0xec]
mov byte [eax], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x374]
mov cl, byte [ebp - 0x134]
mov byte [eax], cl
cvtsi2ss xmm0, dword [ebp - 0xe4]
divss xmm0, dword [0x100aff3c]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x70], xmm0
cvtsi2ss xmm0, dword [ebp - 0xe8]
divss xmm0, dword [0x100aff3c]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x68], xmm0
cvtsi2ss xmm0, dword [ebp - 0xec]
divss xmm0, dword [0x100aff3c]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x60], xmm0
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x198]
push eax
call fcn.10067b90
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x34], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 8]
push eax
call fcn.10066100
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000fe80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007fd8a
mov esp, ebp
pop ebp
ret