Function at 0x10032570
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x100b3380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push 0
mov byte [ebp - 0x24], 0
call fcn.100355f0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x24]
mov esi, dword [esi + 0x28]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], esi
cmp eax, esi
je 0x10032b38
mov ecx, esi
nop dword [eax]
mov esi, dword [eax]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
je 0x10032b21
push esi
lea ecx, [ebp - 0x54]
call fcn.10023860
mov byte [ebp - 4], 2
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], edi
cmp ebx, edi
je 0x10032ae6
mov eax, edi
mov edi, dword [ebx]
test byte [edi + 0x50], 8
je 0x10032ad8
mov esi, dword [edi + 0x54]
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10023860
dec esi
mov byte [ebp - 4], 3
cmp esi, 6
ja case.default.0x1003263a
jmp dword [esi*4 + 0x10032c80]
mov bl, byte [edi + 0x6c]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10033cb0
mov byte [ebp - 0x10c], bl
xorps xmm0, xmm0
mov esi, dword [ebp - 0x10c]
mov ebx, dword [ebp - 0x108]
movq qword [ebp - 0xdc], xmm0
mov byte [ebp - 0xe4], 4
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.10033cb0
mov cl, byte [eax]
mov byte [eax], 4
mov edx, dword [eax + 0xc]
mov byte [ebp - 0xe4], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xe4]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [ebp - 0xd8], edx
call fcn.10034050
mov ebx, dword [ebp - 0x74]
jmp case.default.0x1003263a
movss xmm0, dword [edi + 0x70]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
movss dword [ebp - 0x74], xmm0
call fcn.10033cb0
movss xmm1, dword [ebp - 0x74]
lea ecx, [ebp - 0x94]
xorps xmm0, xmm0
mov byte [ebp - 0x94], 0
mov esi, eax
movq qword [ebp - 0x8c], xmm0
call fcn.10039b50
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.10033cb0
mov cl, byte [ebp - 0x94]
mov edi, eax
mov eax, dword [ebp - 0x8c]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0x88]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0x94], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], esi
jmp 0x10032a95
mov esi, dword [edi + 0x6c]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10033cb0
xorps xmm0, xmm0
mov byte [ebp - 0xa4], 0
mov edx, esi
movq qword [ebp - 0x9c], xmm0
lea ecx, [ebp - 0xa4]
mov edi, eax
call fcn.10039b30
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.10033cb0
mov cl, byte [ebp - 0xa4]
mov edi, eax
mov eax, dword [ebp - 0x9c]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0x98]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xa4], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], esi
jmp 0x10032a95
mov esi, dword [edi + 0x98]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10033cb0
xorps xmm0, xmm0
mov byte [ebp - 0xb4], 0
mov edx, esi
movq qword [ebp - 0xac], xmm0
lea ecx, [ebp - 0xb4]
call fcn.10039b80
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.10033cb0
mov cl, byte [ebp - 0xb4]
mov edi, eax
mov eax, dword [ebp - 0xac]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xa8]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xb4], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], esi
jmp 0x10032a95
mov ecx, dword [edi + 0x88]
movzx eax, cl
mov dword [ebp - 0x34], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x30], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x24]
push eax
call fcn.10033cb0
mov esi, eax
lea ecx, [ebp - 0xf4]
lea eax, [ebp - 0x34]
push eax
call fcn.10035d80
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.10033cb0
mov cl, byte [ebp - 0xf4]
mov edi, eax
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xec]
mov byte [ebp - 0xf4], dl
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xf4]
mov dword [edi + 8], eax
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xe8], esi
jmp 0x10032a98
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10033cb0
lea ecx, [edi + 0x98]
mov esi, eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.1001daa0
or dword [ebp - 0x80], 2
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x104]
call fcn.10035e50
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.10033cb0
mov cl, byte [ebp - 0x104]
mov edi, eax
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov byte [ebp - 0x104], dl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x104]
mov dword [edi + 8], eax
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xf8], esi
call fcn.10034050
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je case.default.0x1003263a
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100329a8
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032c47
push edx
push ecx
call fcn.10096b77
add esp, 8
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
jmp case.default.0x1003263a
cmp dword [edi + 0x7c], 0
jne 0x100329e0
or edi, 0xffffffff
jmp 0x10032a20
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
add edi, 0x6c
mov esi, eax
cmp dword [edi + 0x14], 0xf
jbe 0x100329f3
mov edi, dword [edi]
push 0xa
lea eax, [ebp - 0x70]
mov dword [esi], 0
push eax
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [ebp - 0x74], eax
cmp edi, dword [ebp - 0x70]
je 0x10032b96
cmp dword [esi], 0x22
je 0x10032b8b
mov edi, eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10033cb0
xorps xmm0, xmm0
mov byte [ebp - 0xc4], 0
mov edx, edi
movq qword [ebp - 0xbc], xmm0
lea ecx, [ebp - 0xc4]
mov esi, eax
call fcn.10039b30
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.10033cb0
mov cl, byte [ebp - 0xc4]
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xb8]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xc4], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], esi
mov dword [edi + 8], eax
call fcn.10034050
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe 0x10032ad5
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032acb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032c47
push ecx
push edx
call fcn.10096b77
add esp, 8
mov eax, dword [ebp - 0x78]
add ebx, 4
mov dword [ebp - 0x74], ebx
cmp ebx, eax
jne 0x10032611
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x10032b1e
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032b14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032c47
push ecx
push edx
call fcn.10096b77
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x84]
add eax, 4
mov dword [ebp - 0x84], eax
cmp eax, ecx
jne 0x100325e0
push ecx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10033dc0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10032b54
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10030020
add esp, 4
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x2c]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x10032ba1
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x10032bdf
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x3c]
inc eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x10032c0f
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032c05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032c47
push ecx
push edx
call fcn.10096b77
add esp, 8
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, 0xf
jbe 0x10032c57
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032c4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10032c4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10096b77
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.10034050
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100966fc
mov esp, ebp
pop ebp
ret 4