Function at 0x729d1a8c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [eax], esi
je 0x729d1adf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.72a02513
test eax, eax
jne 0x729d1b61
mov dword [ebp - 8], 1
cmp dword [ebp - 0x30], esi
je 0x729d1af9
mov eax, dword [ebp + 8]
push esi
push esi
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 0x38], esi
je 0x729d1b0a
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x10], esi
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x729d1b1a
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x20], esi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x729d1b2a
push dword [ebp - 0x20]
call edi
cmp dword [ebp - 0xc], esi
je 0x729d1b34
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 0x28], esi
je 0x729d1b45
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x24], esi
je 0x729d1b4f
push dword [ebp - 0x24]
call ebx
cmp dword [ebp - 0x14], esi
je 0x729d1b59
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 8]
jmp 0x729d1c3e
push dword [ebp + 8]
call fcn.72a02c56
push esi
push 1
pop edi
mov dword [ebp - 0x2c], eax
push edi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_CreateBitmap]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x729d1c72
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
call ebx
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x729d1c72
push esi
call ebx
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x20], ebx
je 0x729d1c72
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
push esi
mov ecx, dword [eax]
push edx
push ebx
push eax
mov dword [ebp - 0x38], edi
call dword [ecx + 0x2c]
cmp eax, esi
mov dword [ebp - 8], eax
jl 0x729d1ae6
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edi
cmp eax, esi
jne 0x729d1be8
mov eax, dword [0x72a4e854]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
push eax
push ebx
call edi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_RealizePalette]
call ebx
mov eax, dword [ebp + 8]
lea edx, [ebp - 2]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp eax, esi
mov dword [ebp - 8], eax
jl 0x729d1ae6
cmp dword [0x72a4e828], esi
je 0x729d1d4c
cmp word [ebp - 2], 1
jne 0x729d1d4c
push esi
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, esi
mov dword [ebp - 0x40], eax
jne 0x729d1c45
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x24], esi
je 0x729d1c90
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x729d1c7f
call fcn.72991cfa
mov dword [ebp - 8], eax
jmp 0x729d1ae6
push dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, esi
mov dword [ebp - 0x28], eax
jne 0x729d1c9c
mov dword [ebp - 8], 0x8007000e
jmp 0x729d1ae6
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x729d1ca8
mov eax, dword [0x72a4e854]
push 1
push eax
push dword [ebp - 0x14]
call edi
mov edi, dword [ebp - 0x14]
push edi
call ebx
push 0xcc0020
push esi
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
push esi
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
jl 0x729d1cfc
test byte [ebp - 0x44], 2
je 0x729d1d23
mov eax, dword [ebp - 0x1c]
push esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_FillRect]
push 0xcc0020
push esi
push esi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ecx], eax
jmp 0x729d1ae6
mov edi, dword [ebp - 0x20]
jmp 0x729d1ccf