Function at 0x10010323
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x80]
cmp dword [ebp + 0x10], 0x16
movsx ecx, byte [eax + 0x18]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], eax
jne 0x100105ff
movsx eax, word [esi + 0x7e]
push 4
push eax
push dword [edx + 4]
push dword [edx]
call sym.WCT32D.DLL_ftoa
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx ecx, word [esi + 0x7c]
push edi
sub ecx, eax
push ecx
lea eax, [ebp - 0xcc]
push eax
call fcn.1001011e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
jle 0x1001040a
mov edi, dword [ebp - 0x1c]
push 0x10030224
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 4], eax
cmp eax, 0x97
jg 0x1001040a
movsx eax, word [esi + 0x7e]
push 4
push eax
push dword [edi + 4]
push dword [edi]
call sym.WCT32D.DLL_ftoa
push eax
mov ebx, eax
add edi, 8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx ecx, word [esi + 0x7c]
push ebx
sub ecx, eax
push ecx
mov eax, dword [ebp - 4]
lea edx, [ebp + eax - 0xcc]
push edx
call fcn.1001011e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1001039a
push 0x10030220
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x14], eax
inc eax
mov ecx, dword [ecx]
imul ecx, eax
inc ecx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10010454
push 0
push 0
push 0x35
jmp 0x100105fa
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x20], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x18], 1
cmp dword [ecx], 1
jle 0x100105ce
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
shl ecx, 3
add eax, ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
add ecx, 8
mov dword [ebp - 0x10], ecx
push 4
mov ecx, dword [ebp - 0x10]
movsx eax, word [esi + 0x7e]
push eax
push dword [ecx + 4]
push dword [ecx]
call sym.WCT32D.DLL_ftoa
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx ecx, word [esi + 0x7c]
push edi
sub ecx, eax
push ecx
lea eax, [ebp - 0xcc]
push eax
call fcn.1001011e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
jle 0x10010556
mov edi, dword [ebp - 0x1c]
push 0x10030224
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 4], eax
cmp eax, 0x97
jg 0x10010556
movsx eax, word [esi + 0x7e]
push 4
push eax
push dword [edi + 4]
push dword [edi]
call sym.WCT32D.DLL_ftoa
push eax
mov ebx, eax
add edi, 8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx ecx, word [esi + 0x7c]
push ebx
sub ecx, eax
push ecx
mov eax, dword [ebp - 4]
lea edx, [ebp + eax - 0xcc]
push edx
call fcn.1001011e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jl 0x100104e6
push 0x10030220
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [ebp - 0x20]
add edi, dword [ebp - 0x14]
add dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10000
jl 0x100105a2
xor ecx, ecx
test eax, eax
jle 0x1001059c
mov dl, byte [ebp + ecx - 0xcc]
mov byte [edi + ecx], dl
inc ecx
cmp ecx, eax
jl 0x1001058d
mov byte [edi + ecx], 0
jmp 0x100105b0
lea eax, [ebp - 0xcc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x80]
add dword [ebp - 0x1c], eax
inc dword [ebp - 0x18]
add dword [ebp - 0x10], 8
mov edx, dword [ebp - 0x18]
cmp dword [ecx], edx
jg 0x1001049e
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100105f4
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 0x28]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100105ff
push 0
push 0
push 2
call sym.WCT32D.DLL_ErrHdlr
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc