Function at 0x100273a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov dword [ebp - 0xd8], ecx
cmp dword [ebp + 8], 0
jne 0x100273bc
xor al, al
jmp 0x10027880
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.10027930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10027457
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
push 0x58
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x38], eax
push 0x5a
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
movsx eax, word [ebp - 0x1a]
movsx edx, word [ebp - 0x1e]
sub eax, edx
imul eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x16]
and ecx, 0xffff
cdq
idiv ecx
mov dword [ebp - 0x28], eax
movsx eax, word [ebp - 0x18]
movsx edx, word [ebp - 0x1c]
sub eax, edx
imul eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x16]
and ecx, 0xffff
cdq
idiv ecx
mov dword [ebp - 0x2c], eax
jmp 0x100274c3
push 0
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x10]
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.10027b46
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100274a5
push str.corrupted_WMF
mov edx, dword [ebp - 0xd8]
add edx, 0x44
push edx
call fcn.10017860
add esp, 8
xor al, al
jmp 0x10027880
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x98]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x94]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xd8]
cmp dword [edx + 0x148], 0
je 0x100274fa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
push 0x1011fba8
mov ecx, dword [ebp - 0xd8]
add ecx, 0x44
push ecx
call fcn.10017860
add esp, 8
xor al, al
jmp 0x10027880
cmp dword [ebp - 0x28], 0
je 0x10027506
cmp dword [ebp - 0x2c], 0
jne 0x1002752e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
push str.empty_WMF
mov eax, dword [ebp - 0xd8]
add eax, 0x44
push eax
call fcn.10017860
add esp, 8
xor al, al
jmp 0x10027880
cmp dword [ebp + 0xc], 0
je 0x1002753a
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0x10], 0
je 0x10027546
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.10027c2d
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0xc], 0
je 0x10027864
cmp dword [ebp - 0x30], 0
je 0x10027858
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xb0], edx
push 0xc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xc4], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [ebp - 0xd4], eax
push 0
push 0
push 0
lea edx, [ebp - 0xbc]
push edx
push 2
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFilePaletteEntries]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x10027753
mov ecx, dword [ebp - 0xc0]
lea edx, [ecx*4 + 4]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x100276c7
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
push 0x1011fbc0
mov eax, dword [ebp - 0xd8]
add eax, 0x44
push eax
call fcn.10017860
add esp, 8
xor al, al
jmp 0x10027880
mov ecx, dword [ebp - 0xd0]
mov word [ecx], 0x300
mov edx, dword [ebp - 0xd0]
mov ax, word [ebp - 0xc0]
mov word [edx + 2], ax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
add edx, 4
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_GetEnhMetaFilePaletteEntries]
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov edx, dword [ebp - 0xd8]
cmp dword [edx + 0x148], 0
je 0x100277ca
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0x1011fbcc
mov edx, dword [ebp - 0xd8]
add edx, 0x44
push edx
call fcn.10017860
add esp, 8
xor al, al
jmp 0x10027880
push 0xa
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0xd8]
call fcn.1001af7b
test eax, eax
jne 0x10027802
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor al, al
jmp 0x10027880
push 0
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 4]
push eax
push 0
mov ecx, dword [ebp - 0xd8]
call fcn.1001b16c
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
cmp dword [ebp - 0xa4], 0
setne al
jmp 0x10027880
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x10027874
cmp dword [ebp - 0x30], 0
je 0x10027874
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
xor al, al
mov esp, ebp
pop ebp
ret 0xc