Function at 0x10002094
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100020e3
mov eax, esp
mov dword [eax + 4], 0xb06
mov dword [eax], 0x4072bc
mov eax, dword [sym.imp.GDI32.dll_ResizePalette]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0xda6
mov dword [ecx + 4], 0x2066f4
mov dword [ecx], 0xf80a0a
mov ecx, dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov dword [ebp - 8], eax
call ecx
sub esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x1000212a
mov eax, dword [ebp - 4]
mov ecx, dword [sym.imp.USER32.dll_GetClipboardViewer]
mov dword [ebp - 0x10], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x57303
mov ecx, dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [ebp - 0x14], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharAlphaW]
mov dword [ebp - 0x18], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x100021f3
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x2ac
sete cl
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], cl
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
jne 0x100021c6
jmp 0x100021f3
mov eax, dword [ebp - 0x30]
mov ecx, dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x34], eax
call ecx
mov ecx, esp
mov dword [ecx + 4], 0x286b86
mov dword [ecx], 0xb032fc
mov ecx, dword [sym.imp.GDI32.dll_PlayMetaFile]
mov dword [ebp - 0x38], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x9ba41d
mov ecx, dword [sym.imp.GDI32.dll_GetStretchBltMode]
mov dword [ebp - 0x3c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x294474
mov ecx, dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x40], eax
call ecx
sub esp, 4
mov ecx, dword [ebp - 0x34]
add ecx, 1
cmp ecx, 0xa
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], ecx
je 0x1000227e
jmp 0x10002152
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
sub edx, 0xb
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
je 0x10002245
jmp 0x100021dd
mov eax, dword [ebp - 0x10]
sub eax, 0x3b
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], ecx
je 0x10002213
jmp 0x10002152
mov eax, dword [ebp - 0x20]
mov ecx, 0x11
mov dword [ebp - 0x24], eax
xor edx, edx
div ecx
cmp edx, 1
je 0x100020a1
jmp 0x1000212a
mov eax, esp
mov dword [eax + 4], 0xb92
mov dword [eax], 0xb92
mov eax, dword [sym.imp.ADVAPI32.dll_AreAnyAccessesGranted]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x7551ac
mov ecx, dword [sym.imp.USER32.dll_GetMenuContextHelpId]
mov dword [ebp - 0x58], eax
call ecx
sub esp, 4
mov dword [ebp - 0x5c], eax
mov eax, esp
mov dword [eax], 0x25fd13
mov eax, dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x4d6
mov dword [ecx + 4], 0xf97
mov dword [ecx], 0x76edf
mov ecx, dword [sym.imp.GDI32.dll_CreateDiscardableBitmap]
mov dword [ebp - 0x60], eax
call ecx
sub esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, esp
mov dword [eax + 8], 0x31e
mov dword [eax + 4], 8
mov dword [eax], 0x442
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
call eax
sub esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 1
cmp ecx, 0xf9
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], ecx
jne 0x100020e3
add esp, 0x74
pop ebp
ret