Function at 0x421466
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 0x42148e
push str.Fast
push dword [ebp + 0x20]
call fcn.00439733
test eax, eax
pop ecx
pop ecx
mov byte [ebp - 1], 0
je 0x421492
mov byte [ebp - 1], 1
push 0x45f150
push dword [ebp + 0x20]
call fcn.00439733
test eax, eax
setne byte [ebp - 3]
cmp byte [ebp - 3], 0
pop ecx
pop ecx
je 0x4214c8
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 0x4214e0
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 [0x46a4f8]
mov dword [ebp - 0x2c], edi
je 0x4214f6
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x42150e
cmp byte [esi + 1], 1
jbe 0x421508
mov eax, dword [0x46a4fc]
mov dword [ebp - 0x18], eax
xor ebx, ebx
jmp 0x421519
and dword [ebp - 0x18], 0
xor ebx, ebx
cmp byte [ebp + 0x24], 0
mov eax, 0x45bf4c
jne 0x42151e
mov eax, 0x45bbc4
mov ecx, dword [0x467b78]
xor esi, esi
inc esi
push esi
push ebx
push 0xffffffffffffffff
push eax
call fcn.0040184e
cmp edi, ebx
je 0x421541
push esi
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0040184e
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x421552
push esi
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040184e
xor eax, eax
mov dword [ebp - 0x40], ebx
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x465108]
test byte [eax + 0xc8], 1
jne 0x42159f
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 0x421587
mov eax, esi
jmp 0x421a6f
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 0x4215a5
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x1c], ebx
jge 0x4215ad
mov dword [ebp + 0x1c], ebx
mov eax, 0xff
cmp dword [ebp + 0x1c], eax
jle 0x4215ba
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], ebx
jle 0x4215ce
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 0x421877
cmp byte [ebp - 1], 0
mov byte [ebp + 0x23], 0
je 0x4218c4
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 0x421827
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 0x421827
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x421827
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 0x421827
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.00421286
add esp, 0x18
test eax, eax
mov dword [ebp - 0xc], eax
je 0x421827
mov esi, dword [ebp - 0x28]
imul esi, dword [ebp - 0x30]
cmp byte [ebp + 0x1b], 0
mov eax, 0xf8f8f8f8
je 0x4216b5
xor edi, edi
test esi, esi
jle 0x4216b8
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx + edi*4]
and dword [ecx], eax
inc edi
cmp edi, esi
jl 0x4216a6
jmp 0x4216b8
mov edi, dword [ebp + 0x24]
cmp byte [ebp + 0x24], 0
je 0x42170b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0xffffff
cmp byte [ebp - 3], 0
jne 0x4216de
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.0040a7af
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
call fcn.0040184e
mov byte [ebp + 0x23], 1
jmp 0x42182a
mov ebx, dword [ebp + 0x1c]
cmp ebx, 1
jge 0x421740
cmp byte [ebp + 0x1b], 0
je 0x42171c
and dword [ebp - 0x1c], eax
xor edi, edi
test esi, esi
jle 0x42180f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4]
and eax, 0xffffff
cmp eax, dword [ebp - 0x1c]
je 0x421702
inc edi
cmp edi, esi
jl 0x421726
jmp 0x42180f
cmp byte [ebp + 0x1b], 0
je 0x421752
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 0x421763
mov byte [ebp + 0x17], 0
jmp 0x42176a
mov al, dl
sub al, bl
mov byte [ebp + 0x17], al
movzx ecx, byte [ebp + 0x13]
cmp ebx, ecx
jle 0x421778
mov byte [ebp + 0x13], 0
jmp 0x421780
mov al, cl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x13], al
movzx eax, byte [ebp - 2]
cmp dword [ebp + 0x1c], eax
jle 0x42178f
mov byte [ebp - 2], 0
jmp 0x42179a
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 0x4217ab
or dl, 0xff
jmp 0x4217ae
add dl, byte [ebp + 0x1c]
mov edi, 0xff
sub edi, ecx
cmp dword [ebp + 0x1c], edi
jle 0x4217c0
mov byte [ebp - 1], 0xff
jmp 0x4217c6
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 0x4217d9
add al, byte [ebp + 0x1c]
mov bl, al
xor edi, edi
test esi, esi
jle 0x42180f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edi*4]
mov eax, ecx
shr eax, 0x10
cmp al, byte [ebp + 0x17]
jb 0x42180a
cmp al, dl
ja 0x42180a
cmp ch, byte [ebp + 0x13]
jb 0x42180a
cmp ch, byte [ebp - 1]
ja 0x42180a
cmp cl, byte [ebp - 2]
jb 0x42180a
cmp cl, bl
jbe 0x421702
inc edi
cmp edi, esi
jl 0x4217df
mov ecx, dword [0x467b78]
push 1
push 0
push 0xffffffffffffffff
push 0x45bf4c
call fcn.0040184e
jmp 0x42182a
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 0x421855
cmp dword [ebp - 0x20], esi
je 0x42184c
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 0x421863
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xc], esi
je 0x421871
push dword [ebp - 0xc]
call fcn.0043ec47
pop ecx
cmp byte [ebp + 0x23], 0
jne 0x42187f
xor eax, eax
inc eax
jmp 0x421a6f
cmp byte [ebp + 0x24], 0
jne 0x421a5a
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
je 0x4218a8
mov eax, edi
cdq
idiv dword [ebp - 0x28]
push 0x18
mov eax, edx
sub eax, dword [ebp - 0x40]
add eax, dword [ebp + 8]
cdq
push edx
push eax
call fcn.00401c1f
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x421a5a
mov eax, edi
cdq
idiv dword [ebp - 0x28]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp + 0xc]
jmp 0x421a50
cmp dword [ebp + 8], edi
setg byte [ebp - 5]
cmp dword [ebp + 0xc], esi
setg byte [ebp - 4]
cmp dword [ebp + 0x1c], ebx
jle 0x42196d
movzx edx, byte [ebp + 0x17]
cmp dword [ebp + 0x1c], edx
mov dword [ebp - 0x1c], edx
jle 0x4218ed
mov byte [ebp + 0x17], 0
jmp 0x4218f5
mov al, dl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x17], al
movzx ecx, byte [ebp + 0x13]
cmp dword [ebp + 0x1c], ecx
jle 0x421904
mov byte [ebp + 0x13], 0
jmp 0x42190c
mov al, cl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x13], al
movzx eax, byte [ebp - 2]
cmp dword [ebp + 0x1c], eax
jle 0x42191b
mov byte [ebp - 2], 0
jmp 0x421926
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 0x421938
mov byte [ebp + 0x27], 0xff
jmp 0x42193e
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 0x421952
mov byte [ebp - 1], 0xff
jmp 0x421957
add cl, dl
mov byte [ebp - 1], cl
mov ecx, 0xff
sub ecx, eax
cmp edx, ecx
jle 0x421968
mov byte [ebp - 3], 0xff
jmp 0x42196d
add al, dl
mov byte [ebp - 3], al
mov ebx, dword [ebp + 8]
xor eax, eax
cmp byte [ebp - 5], al
je 0x42197e
cmp ebx, edi
setge al
jmp 0x421983
cmp ebx, edi
setle al
test eax, eax
je 0x4219c2
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
xor eax, eax
cmp byte [ebp - 4], al
je 0x42199c
cmp dword [ebp + 8], esi
setge al
jmp 0x4219a2
cmp dword [ebp + 8], esi
setle al
test eax, eax
je 0x421a1a
push dword [ebp + 8]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_GetPixel]
cmp dword [ebp + 0x1c], 1
jge 0x4219e3
cmp eax, dword [ebp + 0x18]
jne 0x421a06
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 0x421a2d
push 1
push esi
push 0xffffffffffffffff
push 0x45bf4c
jmp 0x421a64
mov ecx, eax
shr ecx, 0x10
cmp al, byte [ebp + 0x17]
jb 0x421a06
cmp al, byte [ebp + 0x27]
ja 0x421a06
cmp ah, byte [ebp + 0x13]
jb 0x421a06
cmp ah, byte [ebp - 1]
ja 0x421a06
cmp cl, byte [ebp - 2]
jb 0x421a06
cmp cl, byte [ebp - 3]
jbe 0x4219be
xor eax, eax
cmp byte [ebp - 4], al
sete al
lea eax, [eax + eax - 1]
add dword [ebp + 8], eax
jmp 0x42198d
xor eax, eax
cmp byte [ebp - 5], al
sete al
lea eax, [eax + eax - 1]
add ebx, eax
jmp 0x421970
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
je 0x421a43
mov eax, ebx
sub eax, dword [ebp - 0x40]
push 0x18
cdq
push edx
push eax
call fcn.00401c1f
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x421a5a
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x3c]
cdq
push 0x18
push edx
push eax
call fcn.00401c1f
push 1
push esi
push 0xffffffffffffffff
push 0x45a734
mov ecx, dword [0x467b78]
call fcn.0040184e
pop edi
pop esi
pop ebx
leave
ret 0x20