Function at 0x420cba
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
cmp byte [ebp + 0x24], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x420ce2
push str.Fast
push dword [ebp + 0x20]
call fcn.00438b5b
test eax, eax
pop ecx
pop ecx
mov byte [ebp - 1], 0
je 0x420ce6
mov byte [ebp - 1], 1
push 0x45ca10
push dword [ebp + 0x20]
call fcn.00438b5b
test eax, eax
setne byte [ebp - 3]
cmp byte [ebp - 3], 0
pop ecx
pop ecx
je 0x420d1c
mov eax, dword [ebp + 0x18]
movzx ecx, ah
mov ch, al
mov dword [ebp - 0x1c], eax
shr eax, 0x10
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x18], ecx
jmp 0x420d34
movzx eax, byte [ebp + 0x19]
mov ah, byte [ebp + 0x18]
mov ecx, dword [ebp + 0x18]
shr ecx, 0x10
movzx ecx, cl
shl eax, 8
or eax, ecx
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0x24], 0
mov edi, dword [0x467ff0]
mov dword [ebp - 0x2c], edi
je 0x420d4a
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x420d62
cmp byte [esi + 1], 1
jbe 0x420d5c
mov eax, dword [0x467ff4]
mov dword [ebp - 0x18], eax
xor ebx, ebx
jmp 0x420d6d
and dword [ebp - 0x18], 0
xor ebx, ebx
cmp byte [ebp + 0x24], 0
mov eax, 0x459f14
jne 0x420d72
mov eax, 0x459b8c
mov ecx, dword [0x465b20]
xor esi, esi
inc esi
push esi
push ebx
push 0xffffffffffffffff
push eax
call fcn.00401592
cmp edi, ebx
je 0x420d95
push esi
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00401592
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x420da6
push esi
push ebx
push 0xffffffffffffffff
push ebx
call fcn.00401592
xor eax, eax
test byte [0x4651f4], 1
mov dword [ebp - 0x40], ebx
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jne 0x420dee
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x420dd6
mov eax, esi
jmp 0x4212c2
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
add dword [ebp + 8], ecx
add dword [ebp + 0xc], eax
add edi, ecx
add esi, eax
jmp 0x420df4
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x1c], ebx
jge 0x420dfc
mov dword [ebp + 0x1c], ebx
mov eax, 0xff
cmp dword [ebp + 0x1c], eax
jle 0x420e09
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], ebx
jle 0x420e1d
mov eax, dword [ebp + 0x18]
mov byte [ebp + 0x17], al
mov byte [ebp + 0x13], ah
shr eax, 0x10
mov byte [ebp - 2], al
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4210c6
cmp byte [ebp - 1], 0
mov byte [ebp + 0x23], 0
je 0x421115
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
push dword [ebp - 0x14]
xor eax, eax
inc edi
inc esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], eax
mov ebx, esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x421076
push ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
mov dword [ebp - 0x24], esi
je 0x421076
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x421076
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push edi
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x421076
push 8
lea eax, [ebp + 0x1b]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
push esi
call fcn.00420ada
add esp, 0x18
test eax, eax
mov dword [ebp - 0xc], eax
je 0x421076
mov esi, dword [ebp - 0x28]
imul esi, dword [ebp - 0x30]
cmp byte [ebp + 0x1b], 0
mov eax, 0xf8f8f8f8
je 0x420f04
xor edi, edi
test esi, esi
jle 0x420f07
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx + edi*4]
and dword [ecx], eax
inc edi
cmp edi, esi
jl 0x420ef5
jmp 0x420f07
mov edi, dword [ebp + 0x24]
cmp byte [ebp + 0x24], 0
je 0x420f5a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0xffffff
cmp byte [ebp - 3], 0
jne 0x420f2d
movzx ecx, ah
mov ch, al
shr eax, 0x10
movzx eax, al
shl ecx, 8
or eax, ecx
push eax
lea eax, [ebp - 0x60]
push str.0x_06X
push eax
call fcn.00409d3b
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
call fcn.00401592
mov byte [ebp + 0x23], 1
jmp 0x421079
mov ebx, dword [ebp + 0x1c]
cmp ebx, 1
jge 0x420f8f
cmp byte [ebp + 0x1b], 0
je 0x420f6b
and dword [ebp - 0x1c], eax
xor edi, edi
test esi, esi
jle 0x42105e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4]
and eax, 0xffffff
cmp eax, dword [ebp - 0x1c]
je 0x420f51
inc edi
cmp edi, esi
jl 0x420f75
jmp 0x42105e
cmp byte [ebp + 0x1b], 0
je 0x420fa1
and byte [ebp + 0x17], 0xf8
and byte [ebp + 0x13], 0xf8
and byte [ebp - 2], 0xf8
movzx edx, byte [ebp + 0x17]
cmp ebx, edx
mov dword [ebp - 0x1c], edx
jle 0x420fb2
mov byte [ebp + 0x17], 0
jmp 0x420fb9
mov al, dl
sub al, bl
mov byte [ebp + 0x17], al
movzx ecx, byte [ebp + 0x13]
cmp ebx, ecx
jle 0x420fc7
mov byte [ebp + 0x13], 0
jmp 0x420fcf
mov al, cl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x13], al
movzx eax, byte [ebp - 2]
cmp dword [ebp + 0x1c], eax
jle 0x420fde
mov byte [ebp - 2], 0
jmp 0x420fe9
mov dl, al
sub dl, byte [ebp + 0x1c]
mov byte [ebp - 2], dl
mov edx, dword [ebp - 0x1c]
mov edi, 0xff
sub edi, edx
cmp dword [ebp + 0x1c], edi
jle 0x420ffa
or dl, 0xff
jmp 0x420ffd
add dl, byte [ebp + 0x1c]
mov edi, 0xff
sub edi, ecx
cmp dword [ebp + 0x1c], edi
jle 0x42100f
mov byte [ebp - 1], 0xff
jmp 0x421015
add cl, byte [ebp + 0x1c]
mov byte [ebp - 1], cl
mov ebx, 0xff
mov ecx, ebx
sub ecx, eax
cmp dword [ebp + 0x1c], ecx
jg 0x421028
add al, byte [ebp + 0x1c]
mov bl, al
xor edi, edi
test esi, esi
jle 0x42105e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edi*4]
mov eax, ecx
shr eax, 0x10
cmp al, byte [ebp + 0x17]
jb 0x421059
cmp al, dl
ja 0x421059
cmp ch, byte [ebp + 0x13]
jb 0x421059
cmp ch, byte [ebp - 1]
ja 0x421059
cmp cl, byte [ebp - 2]
jb 0x421059
cmp cl, bl
jbe 0x420f51
inc edi
cmp edi, esi
jl 0x42102e
mov ecx, dword [0x465b20]
push 1
push 0
push 0xffffffffffffffff
push 0x459f14
call fcn.00401592
jmp 0x421079
mov edi, dword [ebp + 0x24]
push dword [ebp - 0x14]
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x10], esi
je 0x4210a4
cmp dword [ebp - 0x20], esi
je 0x42109b
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x24], esi
je 0x4210b2
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xc], esi
je 0x4210c0
push dword [ebp - 0xc]
call fcn.0043dff1
pop ecx
cmp byte [ebp + 0x23], 0
jne 0x4210ce
xor eax, eax
inc eax
jmp 0x4212c2
cmp byte [ebp + 0x24], 0
jne 0x4212ad
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
je 0x4210f9
mov eax, edi
cdq
idiv dword [ebp - 0x28]
sub edx, dword [ebp - 0x40]
add edx, dword [ebp + 8]
push edx
call fcn.004018c8
test eax, eax
je 0x4212a9
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x4212ad
mov eax, edi
cdq
idiv dword [ebp - 0x28]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp + 0xc]
jmp 0x42129f
cmp dword [ebp + 8], edi
setg byte [ebp - 5]
cmp dword [ebp + 0xc], esi
setg byte [ebp - 4]
cmp dword [ebp + 0x1c], ebx
jle 0x4211be
movzx edx, byte [ebp + 0x17]
cmp dword [ebp + 0x1c], edx
mov dword [ebp - 0x1c], edx
jle 0x42113e
mov byte [ebp + 0x17], 0
jmp 0x421146
mov al, dl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x17], al
movzx ecx, byte [ebp + 0x13]
cmp dword [ebp + 0x1c], ecx
jle 0x421155
mov byte [ebp + 0x13], 0
jmp 0x42115d
mov al, cl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x13], al
movzx eax, byte [ebp - 2]
cmp dword [ebp + 0x1c], eax
jle 0x42116c
mov byte [ebp - 2], 0
jmp 0x421177
mov dl, al
sub dl, byte [ebp + 0x1c]
mov byte [ebp - 2], dl
mov edx, dword [ebp - 0x1c]
mov ebx, 0xff
sub ebx, edx
cmp dword [ebp + 0x1c], ebx
jle 0x421189
mov byte [ebp + 0x27], 0xff
jmp 0x42118f
add dl, byte [ebp + 0x1c]
mov byte [ebp + 0x27], dl
mov edx, dword [ebp + 0x1c]
mov ebx, 0xff
sub ebx, ecx
cmp edx, ebx
jle 0x4211a3
mov byte [ebp - 1], 0xff
jmp 0x4211a8
add cl, dl
mov byte [ebp - 1], cl
mov ecx, 0xff
sub ecx, eax
cmp edx, ecx
jle 0x4211b9
mov byte [ebp - 3], 0xff
jmp 0x4211be
add al, dl
mov byte [ebp - 3], al
mov ebx, dword [ebp + 8]
xor eax, eax
cmp byte [ebp - 5], al
je 0x4211cf
cmp ebx, edi
setge al
jmp 0x4211d4
cmp ebx, edi
setle al
test eax, eax
je 0x421213
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
xor eax, eax
cmp byte [ebp - 4], al
je 0x4211ed
cmp dword [ebp + 8], esi
setge al
jmp 0x4211f3
cmp dword [ebp + 8], esi
setle al
test eax, eax
je 0x42126b
push dword [ebp + 8]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_GetPixel]
cmp dword [ebp + 0x1c], 1
jge 0x421234
cmp eax, dword [ebp + 0x18]
jne 0x421257
mov byte [ebp + 0x23], 1
push dword [ebp - 0x14]
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [ebp + 0x23], 0
jne 0x42127e
push 1
push esi
push 0xffffffffffffffff
push 0x459f14
jmp 0x4212b7
mov ecx, eax
shr ecx, 0x10
cmp al, byte [ebp + 0x17]
jb 0x421257
cmp al, byte [ebp + 0x27]
ja 0x421257
cmp ah, byte [ebp + 0x13]
jb 0x421257
cmp ah, byte [ebp - 1]
ja 0x421257
cmp cl, byte [ebp - 2]
jb 0x421257
cmp cl, byte [ebp - 3]
jbe 0x42120f
xor eax, eax
cmp byte [ebp - 4], al
sete al
lea eax, [eax + eax - 1]
add dword [ebp + 8], eax
jmp 0x4211de
xor eax, eax
cmp byte [ebp - 5], al
sete al
lea eax, [eax + eax - 1]
add ebx, eax
jmp 0x4211c1
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
je 0x421292
sub ebx, dword [ebp - 0x40]
push ebx
call fcn.004018c8
test eax, eax
je 0x4212a9
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x4212ad
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x3c]
push eax
call fcn.004018c8
test eax, eax
jne 0x4212ad
xor eax, eax
jmp 0x4212c2
push 1
push esi
push 0xffffffffffffffff
push 0x45871c
mov ecx, dword [0x465b20]
call fcn.00401592
pop edi
pop esi
pop ebx
leave
ret 0x20