Function at 0x5fe12c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov byte [ebp - 9], 0
call fcn.005af964
test al, al
je 0x5fe384
xor edx, edx
push ebp
push 0x5fe37d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x677e18]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x5fe36a
cmp byte [ebx + 0xa14], 0
je 0x5fe17e
mov eax, ebx
call fcn.0060053c
mov eax, dword [0x677e18]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5fe36a
jmp 0x5fe1a9
mov eax, dword [ebx + 0x970]
mov esi, dword [eax]
mov edx, esi
mov eax, ebx
call fcn.005e7cf0
cmp dword [ebx + 0x974], 0
jg 0x5fe198
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
mov dl, 1
mov eax, dword [0x41b968]
call fcn.00403cf4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, esi
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp - 0x14]
call fcn.00420270
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
jge 0x5fe205
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x5fe212
cmp eax, 0xa
setbe al
jmp 0x5fe215
setle al
mov byte [ebp - 9], al
cmp dword [ebp + 0xc], 0
jne 0x5fe226
cmp dword [ebp + 8], 0
jbe 0x5fe268
jmp 0x5fe228
jle 0x5fe268
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp - 0x14]
call fcn.00420270
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
jge 0x5fe24c
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x5fe258
cmp eax, 0xa
jbe 0x5fe268
jmp 0x5fe25a
jle 0x5fe268
mov dword [ebp - 4], 0xa
mov dword [ebp - 8], 0xa
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0042025c
mov dl, 1
mov eax, dword [0x595da4]
call fcn.0059eae0
mov dword [ebp - 0x20], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5808cc]
call fcn.00580cd0
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0059248c
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 8]
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5fe33f
inc eax
mov dword [ebp - 0x24], eax
push 0
mov cl, byte [0x66ead0]
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.005e914c
mov esi, eax
mov edx, esi
mov eax, ebx
call fcn.005cd078
mov edx, dword [ebp - 4]
add dword [eax], edx
mov edx, dword [ebp - 4]
add dword [eax + 8], edx
mov edx, dword [ebp - 8]
add dword [eax + 4], edx
mov edx, dword [ebp - 8]
add dword [eax + 0xc], edx
cmp byte [eax + 0x10], 3
jne 0x5fe314
cmp byte [eax + 0x1dc], 0
je 0x5fe314
mov edx, dword [ebp - 4]
add dword [eax + 0x114], edx
mov edx, dword [ebp - 8]
add dword [eax + 0x118], edx
cmp byte [eax + 0x10], 5
jne 0x5fe331
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.0058d1bc
mov ecx, dword [ebp - 0x20]
mov edx, esi
mov eax, ebx
call fcn.005cc974
mov edx, esi
mov eax, ebx
call fcn.005ccce0
dec dword [ebp - 0x24]
jne 0x5fe2bf
mov eax, dword [ebp - 0x1c]
call fcn.00403d24
mov eax, dword [ebp - 0x20]
call fcn.00403d24
mov eax, dword [ebp - 0x14]
call fcn.00403d24
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x88]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fe384
call sub.user32.dll_CloseClipboard
ret
mov al, byte [ebp - 9]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8