Function at 0x420b84
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 0x420bac
push str.Fast
push dword [ebp + 0x20]
call fcn.004386f1
test eax, eax
pop ecx
pop ecx
mov byte [ebp - 1], 0
je 0x420bb0
mov byte [ebp - 1], 1
push 0x45bd40
push dword [ebp + 0x20]
call fcn.004386f1
test eax, eax
setne byte [ebp - 3]
cmp byte [ebp - 3], 0
pop ecx
pop ecx
je 0x420be6
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 0x420bfe
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 [0x467168]
mov dword [ebp - 0x2c], edi
je 0x420c14
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x420c2c
cmp byte [esi + 2], 1
jbe 0x420c26
mov eax, dword [0x46716c]
mov dword [ebp - 0x18], eax
xor ebx, ebx
jmp 0x420c37
and dword [ebp - 0x18], 0
xor ebx, ebx
cmp byte [ebp + 0x24], 0
mov eax, 0x458f24
jne 0x420c3c
mov eax, 0x458b9c
mov ecx, dword [0x464c98]
xor esi, esi
inc esi
push esi
push ebx
push 0xffffffffffffffff
push eax
call fcn.0040152b
cmp edi, ebx
je 0x420c5f
push esi
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0040152b
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x420c70
push esi
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040152b
xor eax, eax
test byte [0x464370], 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 0x420cb8
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 0x420ca0
mov eax, esi
jmp 0x42118c
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 0x420cbe
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x1c], ebx
jge 0x420cc6
mov dword [ebp + 0x1c], ebx
mov eax, 0xff
cmp dword [ebp + 0x1c], eax
jle 0x420cd3
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], ebx
jle 0x420ce7
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 0x420f90
cmp byte [ebp - 1], 0
mov byte [ebp + 0x23], 0
je 0x420fdf
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 0x420f40
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 0x420f40
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x420f40
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 0x420f40
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.004209a4
add esp, 0x18
test eax, eax
mov dword [ebp - 0xc], eax
je 0x420f40
mov esi, dword [ebp - 0x28]
imul esi, dword [ebp - 0x30]
cmp byte [ebp + 0x1b], 0
mov eax, 0xf8f8f8f8
je 0x420dce
xor edi, edi
test esi, esi
jle 0x420dd1
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx + edi*4]
and dword [ecx], eax
inc edi
cmp edi, esi
jl 0x420dbf
jmp 0x420dd1
mov edi, dword [ebp + 0x24]
cmp byte [ebp + 0x24], 0
je 0x420e24
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0xffffff
cmp byte [ebp - 3], 0
jne 0x420df7
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.00440d7f
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
call fcn.0040152b
mov byte [ebp + 0x23], 1
jmp 0x420f43
mov ebx, dword [ebp + 0x1c]
cmp ebx, 1
jge 0x420e59
cmp byte [ebp + 0x1b], 0
je 0x420e35
and dword [ebp - 0x1c], eax
xor edi, edi
test esi, esi
jle 0x420f28
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4]
and eax, 0xffffff
cmp eax, dword [ebp - 0x1c]
je 0x420e1b
inc edi
cmp edi, esi
jl 0x420e3f
jmp 0x420f28
cmp byte [ebp + 0x1b], 0
je 0x420e6b
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 0x420e7c
mov byte [ebp + 0x17], 0
jmp 0x420e83
mov al, dl
sub al, bl
mov byte [ebp + 0x17], al
movzx ecx, byte [ebp + 0x13]
cmp ebx, ecx
jle 0x420e91
mov byte [ebp + 0x13], 0
jmp 0x420e99
mov al, cl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x13], al
movzx eax, byte [ebp - 2]
cmp dword [ebp + 0x1c], eax
jle 0x420ea8
mov byte [ebp - 2], 0
jmp 0x420eb3
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 0x420ec4
or dl, 0xff
jmp 0x420ec7
add dl, byte [ebp + 0x1c]
mov edi, 0xff
sub edi, ecx
cmp dword [ebp + 0x1c], edi
jle 0x420ed9
mov byte [ebp - 1], 0xff
jmp 0x420edf
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 0x420ef2
add al, byte [ebp + 0x1c]
mov bl, al
xor edi, edi
test esi, esi
jle 0x420f28
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edi*4]
mov eax, ecx
shr eax, 0x10
cmp al, byte [ebp + 0x17]
jb 0x420f23
cmp al, dl
ja 0x420f23
cmp ch, byte [ebp + 0x13]
jb 0x420f23
cmp ch, byte [ebp - 1]
ja 0x420f23
cmp cl, byte [ebp - 2]
jb 0x420f23
cmp cl, bl
jbe 0x420e1b
inc edi
cmp edi, esi
jl 0x420ef8
mov ecx, dword [0x464c98]
push 1
push 0
push 0xffffffffffffffff
push 0x458f24
call fcn.0040152b
jmp 0x420f43
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 0x420f6e
cmp dword [ebp - 0x20], esi
je 0x420f65
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 0x420f7c
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xc], esi
je 0x420f8a
push dword [ebp - 0xc]
call fcn.0043db8d
pop ecx
cmp byte [ebp + 0x23], 0
jne 0x420f98
xor eax, eax
inc eax
jmp 0x42118c
cmp byte [ebp + 0x24], 0
jne 0x421177
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
je 0x420fc3
mov eax, edi
cdq
idiv dword [ebp - 0x28]
sub edx, dword [ebp - 0x40]
add edx, dword [ebp + 8]
push edx
call fcn.00401861
test eax, eax
je 0x421173
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x421177
mov eax, edi
cdq
idiv dword [ebp - 0x28]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp + 0xc]
jmp 0x421169
cmp dword [ebp + 8], edi
setg byte [ebp - 5]
cmp dword [ebp + 0xc], esi
setg byte [ebp - 4]
cmp dword [ebp + 0x1c], ebx
jle 0x421088
movzx edx, byte [ebp + 0x17]
cmp dword [ebp + 0x1c], edx
mov dword [ebp - 0x1c], edx
jle 0x421008
mov byte [ebp + 0x17], 0
jmp 0x421010
mov al, dl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x17], al
movzx ecx, byte [ebp + 0x13]
cmp dword [ebp + 0x1c], ecx
jle 0x42101f
mov byte [ebp + 0x13], 0
jmp 0x421027
mov al, cl
sub al, byte [ebp + 0x1c]
mov byte [ebp + 0x13], al
movzx eax, byte [ebp - 2]
cmp dword [ebp + 0x1c], eax
jle 0x421036
mov byte [ebp - 2], 0
jmp 0x421041
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 0x421053
mov byte [ebp + 0x27], 0xff
jmp 0x421059
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 0x42106d
mov byte [ebp - 1], 0xff
jmp 0x421072
add cl, dl
mov byte [ebp - 1], cl
mov ecx, 0xff
sub ecx, eax
cmp edx, ecx
jle 0x421083
mov byte [ebp - 3], 0xff
jmp 0x421088
add al, dl
mov byte [ebp - 3], al
mov ebx, dword [ebp + 8]
xor eax, eax
cmp byte [ebp - 5], al
je 0x421099
cmp ebx, edi
setge al
jmp 0x42109e
cmp ebx, edi
setle al
test eax, eax
je 0x4210dd
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
xor eax, eax
cmp byte [ebp - 4], al
je 0x4210b7
cmp dword [ebp + 8], esi
setge al
jmp 0x4210bd
cmp dword [ebp + 8], esi
setle al
test eax, eax
je 0x421135
push dword [ebp + 8]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_GetPixel]
cmp dword [ebp + 0x1c], 1
jge 0x4210fe
cmp eax, dword [ebp + 0x18]
jne 0x421121
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 0x421148
push 1
push esi
push 0xffffffffffffffff
push 0x458f24
jmp 0x421181
mov ecx, eax
shr ecx, 0x10
cmp al, byte [ebp + 0x17]
jb 0x421121
cmp al, byte [ebp + 0x27]
ja 0x421121
cmp ah, byte [ebp + 0x13]
jb 0x421121
cmp ah, byte [ebp - 1]
ja 0x421121
cmp cl, byte [ebp - 2]
jb 0x421121
cmp cl, byte [ebp - 3]
jbe 0x4210d9
xor eax, eax
cmp byte [ebp - 4], al
sete al
lea eax, [eax + eax - 1]
add dword [ebp + 8], eax
jmp 0x4210a8
xor eax, eax
cmp byte [ebp - 5], al
sete al
lea eax, [eax + eax - 1]
add ebx, eax
jmp 0x42108b
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
je 0x42115c
sub ebx, dword [ebp - 0x40]
push ebx
call fcn.00401861
test eax, eax
je 0x421173
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x421177
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x3c]
push eax
call fcn.00401861
test eax, eax
jne 0x421177
xor eax, eax
jmp 0x42118c
push 1
push esi
push 0xffffffffffffffff
push 0x45771c
mov ecx, dword [0x464c98]
call fcn.0040152b
pop edi
pop esi
pop ebx
leave
ret 0x20