Function at 0x10057f4
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x10091b8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push dword [0x1009448]
xor ebx, ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xa8], ebx
call fcn.01002a5f
test eax, eax
jne 0x1005839
mov eax, 0x58a
jmp 0x1005b52
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0xd0], 0xc
je 0x1005855
call fcn.01006b38
mov dword [ebp - 0xcc], eax
jmp 0x100585b
mov dword [ebp - 0xcc], ebx
push ebx
push 0x80
push 2
lea eax, [ebp - 0xd0]
push eax
push 3
push 0xc0000000
push esi
mov dword [ebp - 0xc8], ebx
call dword [0x1001110]
cmp eax, 0xffffffff
mov dword [ebp - 0xc0], eax
jne 0x10058a5
push 0x1002238
call fcn.01004c8a
pop ecx
call dword [0x10010f8]
mov dword [ebp - 0xa8], eax
jmp 0x1005b33
mov eax, dword [0x1009a8c]
cmp eax, ebx
je 0x10058c3
mov word [ebp - 0xac], 0xc352
mov dword [ebp - 0xb4], 0xac
jmp 0x10058d6
mov word [ebp - 0xac], 0xc350
mov dword [ebp - 0xb4], 0x59
cmp eax, ebx
push edi
push 4
pop edi
mov word [ebp - 0xaa], bx
mov dword [ebp - 0xbc], edi
je 0x10058f3
call dword [0x1001274]
jmp 0x10058f8
call fcn.010052e4
mov esi, eax
imul esi, dword [ebp - 0xb4]
push 0x7f02
push ebx
add esi, edi
call dword [0x10011c4]
push eax
call dword [0x10011c8]
push 1
mov dword [ebp - 0xd4], eax
call dword [0x10011cc]
push ebx
jmp 0x1005a1d
mov edi, dword [ebp - 0xb0]
push edi
call fcn.0100529e
test eax, eax
je 0x1005a15
cmp di, 2
jne 0x1005962
push 8
call dword [0x1001278]
test eax, eax
je 0x1005968
push 8
call dword [0x100127c]
test eax, eax
jne 0x1005a15
jmp 0x1005968
cmp di, 8
jne 0x100597e
cmp dword [ebp - 0xc4], ebx
jne 0x1005a15
mov dword [ebp - 0xc4], 1
cmp di, 2
jne 0x1005989
push 8
pop eax
jmp 0x100598c
movzx eax, di
push 0x4f
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.0100570e
movzx edi, di
push edi
lea eax, [ebp - 0xa4]
push eax
push 0x1002214
call fcn.01004c8a
add esp, 0xc
push dword [ebp - 0xb0]
push esi
push dword [ebp - 0xc0]
call fcn.01005410
cmp eax, ebx
mov dword [ebp - 0xd8], eax
je 0x1005a15
cmp word [ebp - 0xb0], 2
jne 0x10059dc
push 8
pop edi
lea ecx, [ebp - 0xa4]
push ecx
push edi
push eax
push esi
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call fcn.0100531e
movzx eax, ax
cmp eax, dword [ebp - 0xb4]
jb 0x1005a34
add dword [ebp - 0xbc], eax
add esi, dword [ebp - 0xd8]
inc word [ebp - 0xaa]
movzx eax, word [ebp - 0xb0]
push eax
call dword [0x10011d0]
cmp ax, bx
mov dword [ebp - 0xb0], eax
jne 0x100592a
jmp 0x1005a49
push 0x10021e4
call fcn.01004c8a
pop ecx
mov dword [ebp - 0xa8], 8
push ebx
call dword [0x10011cc]
push dword [ebp - 0xd4]
call dword [0x10011c8]
call fcn.01002aa5
mov edi, dword [ebp - 0xc0]
mov esi, dword [0x100119c]
push ebx
push ebx
push ebx
push edi
call esi
push ebx
lea eax, [ebp - 0xdc]
push eax
push 4
lea eax, [ebp - 0xac]
push eax
push edi
call dword [0x100112c]
test eax, eax
jne 0x1005a9b
call dword [0x10010f8]
mov dword [ebp - 0xa8], eax
push ebx
push ebx
push ebx
push edi
call esi
push dword [ebp - 0xb8]
mov esi, 0x1009aa0
push esi
call dword [0x1001120]
push dword [ebp - 0xb8]
push esi
push 0x10021b4
call fcn.01004c8a
mov eax, dword [0x1009a8c]
add esp, 0xc
cmp dword [ebp - 0xa8], ebx
mov dword [0x1009a98], eax
jne 0x1005b0c
push edi
push dword [0x1009448]
call fcn.01004df6
movsx eax, ax
dec eax
je 0x1005b02
dec eax
je 0x1005af6
mov dword [ebp - 0xa8], ebx
jmp 0x1005b0c
mov dword [ebp - 0xa8], 0x58a
jmp 0x1005b0c
mov dword [ebp - 0xa8], 8
push edi
call dword [0x1001170]
cmp dword [ebp - 0xa8], ebx
pop edi
je 0x1005b33
push 0x100218c
call fcn.01004c8a
pop ecx
push dword [ebp - 0xb8]
call dword [0x1001148]
cmp dword [ebp - 0xcc], ebx
je 0x1005b47
push dword [ebp - 0xcc]
call dword [0x1001130]
call fcn.01002aa5
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01007021
leave
ret 0xc