Function at 0x10079b40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100f5008]
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
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edx, eax
mov dword [ebp - 0x2c], 0
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079ba0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.1002bf50
push 2
push 0x100e3754
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.1007a1c0
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmovae edx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079bf3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.1002bf50
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x34], 0x10
lea esi, [ebp - 0x48]
mov dword [ebp - 0x14], eax
cmovae esi, dword [ebp - 0x48]
mov dword [eax], 0
lea eax, [ebp - 0x30]
push 0x10
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp - 0x30]
jne 0x10079c46
push str.invalid_stoul_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x22
jne 0x10079c59
push str.stoul_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x10079c93
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10079c89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10079c89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d2cb7
add esp, 8
mov edx, dword [edi + 0x88]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, ebx
shl ecx, 8
and eax, 0xff000000
or ecx, eax
shr ebx, 0x18
mov eax, dword [edi + 0xa0]
or ecx, ebx
mov dword [edi + 0x88], ecx
test eax, eax
je 0x10079cd1
mov dword [eax], ecx
cmp edx, ecx
je 0x10079cde
mov eax, dword [edi + 0x64]
test eax, eax
je 0x10079cde
call eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10079d14
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10079d0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10079d0a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d2cb7
add esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
mov cl, byte [edi + 0x88]
mov dl, byte [edi + 0x89]
cmp cl, dl
jne 0x10079d3d
cmp dl, byte [edi + 0x8a]
jne 0x10079d3d
xorps xmm2, xmm2
xorps xmm0, xmm0
jmp 0x10079e2a
movss xmm0, dword [0x100e89f8]
xorps xmm2, xmm2
movzx eax, cl
movd xmm6, eax
movzx eax, dl
lea edx, [ebp - 0x30]
cvtdq2ps xmm6, xmm6
movd xmm5, eax
movzx eax, byte [edi + 0x8a]
cvtdq2ps xmm5, xmm5
movd xmm4, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm4, xmm4
mulss xmm5, xmm0
mulss xmm4, xmm0
movss dword [ebp - 0x30], xmm5
mulss xmm6, xmm0
comiss xmm4, xmm5
movss dword [ebp - 0x14], xmm4
cmovbe eax, edx
comiss xmm5, xmm4
movss xmm3, dword [eax]
lea eax, [ebp - 0x14]
maxss xmm3, xmm6
cmovbe eax, edx
movss xmm0, dword [eax]
minss xmm0, xmm6
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x10079db3
xorps xmm0, xmm0
jmp 0x10079e2a
ucomiss xmm3, xmm6
movaps xmm1, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
lahf
test ah, 0x44
jp 0x10079dd3
movaps xmm0, xmm5
subss xmm0, xmm4
divss xmm0, xmm1
jmp 0x10079e0d
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x10079df1
movaps xmm0, xmm4
subss xmm0, xmm6
divss xmm0, xmm1
addss xmm0, dword [0x100e8b0c]
jmp 0x10079e0d
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x10079e0d
movaps xmm0, xmm6
subss xmm0, xmm5
divss xmm0, xmm1
addss xmm0, dword [0x100e8b4c]
mulss xmm0, dword [0x100e8bc8]
comiss xmm2, xmm0
jbe 0x10079e22
addss xmm0, dword [0x100e8c38]
mulss xmm0, dword [0x100e89f4]
movss dword [edi + 0x8c], xmm0
movzx eax, byte [edi + 0x8a]
mov dl, byte [edi + 0x89]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cmp cl, dl
jae 0x10079e5a
movzx eax, cl
movd xmm1, eax
cvtdq2ps xmm1, xmm1
minss xmm1, xmm0
jmp 0x10079e6a
movzx eax, dl
movd xmm1, eax
cvtdq2ps xmm1, xmm1
minss xmm1, xmm0
ja 0x10079e6c
mov cl, dl
movss xmm5, dword [0x100e89e8]
movss xmm4, dword [0x100e8c74]
movzx eax, cl
movd xmm3, eax
cvtdq2ps xmm3, xmm3
maxss xmm3, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm5, xmm0
jbe 0x10079e9b
xorps xmm0, xmm0
jmp 0x10079ea9
comiss xmm3, xmm2
jbe 0x10079ea6
divss xmm0, xmm3
jmp 0x10079ea9
movaps xmm0, xmm4
movss dword [edi + 0x90], xmm0
movzx eax, byte [edi + 0x8a]
mov bl, byte [edi + 0x88]
cmp bl, dl
movzx ecx, bl
movd xmm0, eax
movzx eax, dl
cmovae ecx, eax
movzx eax, cl
movzx ecx, bl
cvtdq2ps xmm0, xmm0
movd xmm1, eax
movzx eax, dl
cmovbe ecx, eax
movzx eax, cl
cvtdq2ps xmm1, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
minss xmm1, xmm0
maxss xmm3, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm5, xmm0
ja 0x10079f0e
comiss xmm3, xmm2
jbe 0x10079f0b
movaps xmm2, xmm3
jmp 0x10079f0e
movaps xmm2, xmm4
movss dword [edi + 0x94], xmm2
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.100d283c
mov esp, ebp
pop ebp
ret