Function at 0x4dff90
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
test eax, eax
je 0x4dffbd
jmp 0x4dffe2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call fcn.00541250
mov edx, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
test eax, eax
je 0x4dffdd
jmp 0x4dffe2
jmp 0x4e049c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 8]
call fcn.004e04b0
mov byte [ebp - 0x9c], al
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x74]
call fcn.004dc150
mov byte [ebp - 0xa0], al
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x74]
cmp byte [eax + 0x4e], 0
jne 0x4e003b
jmp 0x4e001b
cmp byte [ebp - 0xa0], 0
jne 0x4e0026
jmp 0x4e004b
mov al, byte [ebp - 0x9c]
test al, al
je 0x4e003b
jmp 0x4e0032
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4e003b
jmp 0x4e004b
mov eax, dword [ebp - 8]
push dword [eax + 8]
call sub.user32.dll_GetParent
mov dword [ebp - 0x80], eax
jmp 0x4e0052
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x74]
cmp byte [eax + 0x4e], 0
jne 0x4e0060
jmp 0x4e006a
mov eax, 1
call fcn.004dc0c0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e0073
jmp 0x4e00a1
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
cmp byte [eax + 0x33e], 0
jne 0x4e0098
jmp 0x4e0084
call fcn.004692d0
mov ebx, eax
mov eax, ebx
call fcn.00469490
test al, al
jne 0x4e0098
jmp 0x4e00a1
mov byte [ebp - 0x98], 1
jmp 0x4e00a8
mov byte [ebp - 0x98], 0
cmp byte [ebp - 0x98], 0
jne 0x4e00b6
jmp 0x4e01ab
mov eax, dword [0x587600]
test eax, eax
jne 0x4e00c1
jmp 0x4e00ee
lea edi, [ebp - 0xb4]
mov esi, 0x587600
cld
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, 0x587600
mov cl, 0
mov edx, 0x10
call fcn.004037d0
mov byte [ebp - 0xa4], 1
jmp 0x4e00f5
mov byte [ebp - 0xa4], 0
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [0x587600], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.004a87b0
mov eax, dword [0x587608]
cmp eax, dword [ebp - 0x84]
jl 0x4e0136
jmp 0x4e0127
mov eax, dword [0x58760c]
cmp eax, dword [ebp - 0x88]
jl 0x4e0136
jmp 0x4e018f
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
mov eax, dword [0x587604]
test eax, eax
jne 0x4e014b
jmp 0x4e0156
push dword [0x587604]
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x84]
mov dword [0x587608], eax
mov eax, dword [ebp - 0x88]
mov dword [0x58760c], eax
push dword [ebp - 0x88]
push dword [ebp - 0x84]
push dword [ebp - 0xc]
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [0x587604], eax
push dword [ebp - 0xc]
push 0
call sub.user32.dll_ReleaseDC
push dword [0x587604]
push dword [0x587600]
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
mov eax, dword [0x587600]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
mov byte [eax - 0x5c], 0
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0xd8]
mov eax, 1
call fcn.0040b820
call fcn.0040d7e0
push eax
test eax, eax
jne 0x4e0429
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e01e2
jmp 0x4e02c3
call fcn.004692d0
mov ebx, eax
mov eax, ebx
call fcn.00469490
test al, al
jne 0x4e01f6
jmp 0x4e0200
mov eax, 3
call fcn.004dc0c0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
call fcn.004692d0
mov ebx, eax
mov eax, ebx
call fcn.00469490
test al, al
jne 0x4e0226
jmp 0x4e0233
mov eax, dword [0x5875f0]
shr eax, 2
mov dword [0x5875f0], eax
cmp byte [ebp - 0x98], 0
jne 0x4e0241
jmp 0x4e02c1
push 1
mov ecx, 1
mov edx, 0
mov eax, 0
call fcn.004a7d50
mov dword [ebp - 0x14], eax
push 4
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call sub.gdi32.dll_GetRandomRgn
cmp eax, 1
je 0x4e026e
jmp 0x4e02b9
mov eax, dword [0x5b7590]
cmp eax, 2
je 0x4e027a
jmp 0x4e02ab
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x78]
neg eax
push eax
mov eax, dword [ebp - 0x7c]
neg eax
push eax
push dword [ebp - 0x14]
call sub.gdi32.dll_OffsetRgn
push dword [ebp - 0x14]
push dword [0x587600]
call sub.gdi32.dll_SelectClipRgn
push dword [ebp - 0x14]
call sub.gdi32.dll_DeleteObject
jmp 0x4e02d0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x4e02d9
jmp 0x4e02f4
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x80]
call fcn.005410e0
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
lea edx, [ebp - 0x74]
call fcn.00540e70
mov dword [ebp - 0x64], 0xf
lea eax, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov al, byte [ebp - 0x98]
test al, al
je 0x4e031b
jmp 0x4e0321
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov al, byte [ebp - 0xa0]
test al, al
je 0x4e032d
jmp 0x4e035f
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
or dword [eax + 0x344], 0x20
push 0
push dword [ebp - 0x60]
push 0x14
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
call fcn.00501430
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
and dword [eax + 0x344], 0xffffffdf
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x4e0368
jmp 0x4e0392
push dword [ebp - 0x60]
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x60]
call fcn.004dc000
push dword [ebp - 0x8c]
push dword [ebp - 0x60]
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e03a7
jmp 0x4e039b
mov al, byte [ebp - 0xa0]
test al, al
je 0x4e03a7
jmp 0x4e03df
push dword [ebp - 0x60]
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x60]
call fcn.004a9c70
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x4c]
lea edx, [ebp - 0x64]
call fcn.0054f980
push dword [ebp - 0x8c]
push dword [ebp - 0x60]
call sub.gdi32.dll_RestoreDC
cmp byte [ebp - 0x98], 0
jne 0x4e03ea
jmp 0x4e0411
push 0xcc0020
push 0
push 0
push dword [0x587600]
push dword [ebp - 0x88]
push dword [ebp - 0x84]
push 0
push 0
push dword [ebp - 0xc]
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e041a
jmp 0x4e0429
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
call sub.user32.dll_EndPaint
call fcn.0040baf0
cmp byte [ebp - 0x98], 0
jne 0x4e0439
jmp 0x4e048d
mov edx, dword [ebp - 0x10]
mov eax, dword [0x587600]
call fcn.004a90e0
mov eax, dword [0x587600]
call fcn.004a7dc0
mov dword [0x587600], 0
cmp byte [ebp - 0xa4], 0
jne 0x4e0465
jmp 0x4e048d
mov eax, dword [0x587604]
test eax, eax
jne 0x4e0470
jmp 0x4e047a
mov eax, dword [0x587604]
call fcn.004a7df0
mov edi, 0x587600
lea esi, [ebp - 0xb4]
cld
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop eax
test eax, eax
je 0x4e049c
dec eax
test eax, eax
je 0x4e0497
call fcn.0040bc60
mov ebx, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xe0]
leave
ret