Function at 0x10058fb
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101432c]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x12c
push esi
push edi
je 0x1005c9b
cmp eax, 0x12d
je 0x1005a73
cmp eax, 0x12e
je 0x1005a3a
mov esi, 0x12f
cmp eax, esi
je 0x10059ce
jbe 0x1005d42
cmp eax, 0x131
jbe 0x1005973
cmp eax, 0x13d
jne 0x1005d42
xor ebx, ebx
push ebx
push ebx
push dword [0x1014bb8]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.01007f27
jmp 0x1005d42
lea esi, [eax - 0x130]
cmp dword [0x1014d68], esi
je 0x1005d42
lea eax, [esi + 0x30]
mov word [ebp + 8], ax
lea eax, [ebp + 8]
push eax
push 0x10012d4
xor ebx, ebx
push 0x1014038
mov word [ebp + 0xa], bx
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
cmp dword [0x1014d94], ebx
je 0x10059bc
cmp dword [0x1014d68], ebx
jne 0x10059bc
push ebx
call fcn.01006b7a
push 1
mov dword [0x1014d68], esi
call fcn.01001b19
jmp 0x1005d42
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
xor eax, eax
xor ebx, ebx
cmp dword [0x1014d6c], ebx
sete al
mov dword [0x1014d6c], eax
neg eax
sbb eax, eax
and eax, 8
push eax
push esi
push dword [0x1014da0]
call edi
mov eax, dword [0x1014d9c]
cmp eax, ebx
je 0x1005a12
mov ecx, dword [0x1014d6c]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push esi
push eax
call edi
cmp dword [0x1014d6c], ebx
mov eax, 0x100157c
jne 0x1005a24
mov eax, 0x1001578
push eax
push 0x10012c4
push 0x1014038
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
jmp 0x1005d42
push 0x100125c
push dword [0x1014a68]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push dword [0x1014bbc]
push dword [0x1014d8c]
call dword [sym.imp.SHELL32.dll_ShellAboutW]
cmp eax, 0xffffffff
jne 0x1005d42
call fcn.010058dc
jmp 0x1005d42
push dword [0x1014d8c]
xor ebx, ebx
mov dword [ebp - 0x208], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1005aaa
push 0x30
push dword [0x1014bbc]
push dword [0x1014bb0]
push dword [0x1014d8c]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1005d42
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x210], esi
je 0x1005c90
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x1005c90
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
add eax, edi
cmp dword [0x1014dac], ebx
mov dword [ebp - 0x214], eax
mov dword [ebp + 8], ebx
jne 0x1005c84
jmp 0x1005aff
mov edi, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x214]
cmp edi, eax
jae 0x1005c84
movsx si, byte [edi]
push edi
call dword [sym.imp.USER32.dll_CharNextA]
cmp si, 0x20
mov dword [ebp - 0x20c], eax
je 0x1005c78
push 0xa
pop edx
cmp si, dx
je 0x1005c78
cmp si, 0xd
je 0x1005c78
cmp si, word [0x1014058]
je 0x1005c78
cmp si, bx
je 0x1005c84
cmp si, word [0x101404c]
jne 0x1005b62
mov dword [ebp + 8], esi
push 0x55
pop esi
jmp 0x1005c34
cmp word [ebp + 8], bx
jne 0x1005b7d
cmp si, 0x2d
jne 0x1005b7d
mov dword [ebp - 0x208], 1
jmp 0x1005c78
mov eax, dword [0x1014030]
push 0x78
pop ecx
cmp si, cx
je 0x1005b90
cmp si, 0x65
jne 0x1005b9b
cmp eax, edx
jne 0x1005b9b
mov dword [ebp + 8], ecx
push 0x75
jmp 0x1005b5c
cmp word [ebp + 8], cx
jne 0x1005bc2
cmp si, 0x2b
jne 0x1005baf
cmp eax, edx
je 0x1005c78
push 0x2d
pop ecx
cmp si, cx
jne 0x1005bd0
cmp eax, edx
jne 0x1005bd0
mov dword [ebp + 8], ecx
push 0x50
jmp 0x1005b5c
cmp word [ebp + 8], 0x3a
jne 0x1005bd0
mov edi, 0x80
jmp 0x1005bd2
xor edi, edi
cmp si, 0x3a
mov dword [ebp + 8], esi
je 0x1005c78
movzx eax, si
push eax
call dword [sym.imp.msvcrt.dll_toupper]
add eax, edi
movzx eax, ax
pop ecx
xor ecx, ecx
cmp eax, 0x30
je 0x1005c0a
cmp ecx, 0x42
jge 0x1005c08
inc ecx
cmp eax, dword [ecx*8 + 0x1001368]
jne 0x1005bf6
cmp ecx, 0x42
je 0x1005c84
xor esi, esi
cmp dword [0x1014030], 0xa
mov si, word [ecx*8 + 0x100136c]
je 0x1005c34
movzx eax, si
cmp eax, 0x13a
jl 0x1005c34
cmp eax, 0x13c
jg 0x1005c34
add esi, 0xfffd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, si
push ebx
or eax, 0x10000
push eax
push 0x111
push dword [0x1014d8c]
call edi
cmp dword [ebp - 0x208], ebx
je 0x1005c78
cmp si, 0x7c
je 0x1005c78
push ebx
push 0x10050
push 0x111
push dword [0x1014d8c]
call edi
mov dword [ebp - 0x208], ebx
cmp dword [0x1014dac], ebx
je 0x1005af3
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1005d42
xor ebx, ebx
cmp dword [0x1014dd0], ebx
je 0x1005cbf
push dword [0x1014030]
push 0x1014dd8
push 0x1014dc8
push 0x1014dc4
call fcn.010025ea
push dword [0x1014dc4]
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.010016d0
cmp dword [0x1014dd0], ebx
je 0x1005ce7
cmp dword [0x1014ddc], 0xffffffff
jne 0x1005d0a
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x206]
mov cx, word [eax]
cmp cx, word [0x101404c]
jne 0x1005d0a
mov word [eax], bx
lea eax, [ebp - 0x204]
push eax
push dword [0x1014d90]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push ebx
push 0xb1
push dword [0x1014d90]
call esi
push ebx
push ebx
push 0x300
push dword [0x1014d90]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01007e2c
leave
ret 4