Function at 0x30058936
Capabilities:
Delete file
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x30001bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
xor ebx, ebx
push 0x30001a18
mov dword [ebp - 0x110], ebx
mov dword [0x30097128], ebx
call esi
xor ecx, ecx
cmp ax, bx
sete cl
mov word [0x3009636c], ax
mov eax, ecx
cmp eax, ebx
jne 0x30058c63
push 0x30001a10
call esi
xor ecx, ecx
cmp ax, bx
sete cl
mov word [0x30096370], ax
mov eax, ecx
cmp eax, ebx
jne 0x30058c63
push 0x30001a08
call esi
xor ecx, ecx
cmp ax, bx
sete cl
mov word [0x30096378], ax
mov eax, ecx
cmp eax, ebx
jne 0x30058c63
push 0x300019fc
call esi
xor ecx, ecx
cmp ax, bx
sete cl
mov word [0x30096ff2], ax
mov eax, ecx
cmp eax, ebx
jne 0x30058c63
push 0x300019ec
call esi
xor ecx, ecx
cmp ax, bx
sete cl
mov word [0x30096ff6], ax
mov eax, ecx
cmp eax, ebx
jne 0x30058c63
push 0x300019d8
call esi
xor ecx, ecx
cmp ax, bx
sete cl
mov word [0x30096ff4], ax
mov eax, ecx
cmp eax, ebx
jne 0x30058c63
push 0x300019cc
call esi
mov word [0x30096fee], ax
xor eax, eax
cmp word [0x30096ff4], bx
sete al
cmp eax, ebx
jne 0x30058c63
push 0x300019b4
call esi
mov word [0x30096ff0], ax
xor eax, eax
cmp word [0x30096ff4], bx
sete al
cmp eax, ebx
jne 0x30058c63
push 0x300019a8
call esi
xor ecx, ecx
cmp ax, bx
sete cl
mov word [0x30096fec], ax
mov eax, ecx
cmp eax, ebx
jne 0x30058c63
push 0x106
lea eax, [ebp - 0x10c]
push eax
call fcn.3005880b
push dword [0x300967d0]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x30058af5
movzx eax, word [0x3009636c]
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push eax
call esi
test eax, eax
jne 0x30058ade
movzx eax, word [0x30096370]
push eax
call esi
test eax, eax
jne 0x30058ade
movzx eax, word [0x30096374]
push eax
call esi
test eax, eax
jne 0x30058ade
movzx eax, word [0x30096378]
push eax
call esi
test eax, eax
jne 0x30058ade
xor esi, esi
inc esi
jmp 0x30058ae0
xor esi, esi
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
cmp esi, ebx
sete al
mov dword [ebp - 0x110], eax
jmp 0x30058af8
xor esi, esi
inc esi
cmp esi, ebx
push edi
mov edi, 0x30097120
jne 0x30058b3c
lea eax, [ebp - 0x114]
push eax
push ebx
push edi
lea eax, [ebp - 0x10c]
push eax
call fcn.3003af0b
cmp eax, ebx
jne 0x30058b3c
push ebx
push dword [0x30097120]
call fcn.3003a7f0
mov esi, eax
cmp esi, ebx
je 0x30058c50
push dword [0x30097120]
call fcn.3003affc
cmp dword [ebp - 0x110], ebx
je 0x30058b4a
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xc8
push 6
push ebx
lea eax, [ebp - 0x10c]
push eax
call fcn.3003ae8c
mov esi, eax
cmp esi, ebx
jne 0x30058c60
lea eax, [ebp - 0x114]
push eax
push ebx
push edi
lea eax, [ebp - 0x10c]
push eax
call fcn.3003af0b
mov esi, eax
cmp esi, ebx
jne 0x30058c60
push 0x65
push dword [0x30097120]
call fcn.300395ad
push 0x66
push dword [0x30097120]
call fcn.300395ad
push 0x67
push dword [0x30097120]
call fcn.300395ad
push 0x68
push dword [0x30097120]
call fcn.300395ad
push 0x64
push dword [0x30097120]
call fcn.300395ad
push 0x69
push dword [0x30097120]
call fcn.300395ad
push 0x6a
push dword [0x30097120]
call fcn.300395ad
push 0x6b
push dword [0x30097120]
call fcn.300395ad
push 0x6c
push dword [0x30097120]
call fcn.300395ad
push 0x6d
push dword [0x30097120]
call fcn.300395ad
push 0x6e
push dword [0x30097120]
call fcn.300395ad
push 0x6f
push dword [0x30097120]
call fcn.300395ad
mov esi, eax
cmp esi, ebx
je 0x30058c50
push dword [0x30097120]
call fcn.3003affc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x30058c60
mov dword [0x30097128], 1
mov dword [0x30097124], ebx
mov eax, esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.30071b52
leave
ret