Function at 0x451e20
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov bh, byte [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, ecx
mov dword [esp + 0x58], edi
test bh, bh
jne 0x451e53
mov edx, str.Fast
mov ecx, esi
call fcn.0049ca30
test eax, eax
jne 0x451e53
xor bl, bl
jmp 0x451e55
mov bl, 1
mov edx, 0x4d7f88
mov ecx, esi
call fcn.0049ca30
mov edx, eax
mov eax, dword [ebp + 0x18]
test edx, edx
movzx esi, al
movzx ecx, ax
setne byte [esp + 0xf]
shl esi, 8
shr ecx, 8
or esi, ecx
shr eax, 0x10
shl esi, 8
movzx eax, al
or esi, eax
test edx, edx
je 0x451e96
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
mov dword [ebp + 0x18], esi
jmp 0x451e9a
mov dword [esp + 0x18], esi
mov eax, dword [0x4e73b0]
mov dword [esp + 0x44], eax
test bh, bh
je 0x451eab
xor esi, esi
jmp 0x451eb8
mov cl, 1
cmp cl, byte [edi + 1]
sbb esi, esi
and esi, dword [0x4e73b4]
mov dword [esp + 0x48], esi
test eax, eax
je 0x451ecf
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004a05c0
test esi, esi
je 0x451ee2
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004a05c0
xorps xmm0, xmm0
lea edx, [esp + 0x3c]
push 0
lea ecx, [esp + 0x3c]
movlpd qword [esp + 0x3c], xmm0
call fcn.0049d970
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, dword [esp + 0x3c]
add esp, 4
mov esi, dword [ebp + 0xc]
add esi, dword [esp + 0x3c]
mov edi, dword [ebp + 0x14]
add edi, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
mov dword [esp + 0x2c], esi
cmovns ecx, eax
mov dword [esp + 0x10], ecx
cmp ecx, 0xff
jle 0x451f45
mov dword [esp + 0x10], 0xff
jmp 0x451f49
test ecx, ecx
jle 0x451f62
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 8
mov bh, cl
mov dword [esp + 0x24], eax
mov eax, ecx
mov byte [esp + 0xd], cl
shr eax, 0x10
jmp 0x451f76
mov bh, byte [esp + 0xc]
mov cl, byte [esp + 0xc]
mov al, byte [esp + 0xc]
mov byte [esp + 0xd], bh
mov dword [esp + 0x24], ecx
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov dword [esp + 0x34], edx
test edx, edx
je 0x452596
mov byte [esp + 0xe], 0
test bl, bl
je 0x45234a
mov eax, dword [esp + 0x1c]
xor ecx, ecx
sub eax, dword [esp + 0x30]
sub edi, esi
inc eax
mov dword [esp + 0x20], ecx
push edx
xor ebx, ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], eax
inc edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x50], esi
test esi, esi
je 0x45227c
push edi
push dword [esp + 0x20]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x20], eax
test eax, eax
je 0x45227c
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
test eax, eax
je 0x45227c
push 0xcc0020
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push edi
push dword [esp + 0x30]
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45227c
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push 8
push eax
lea eax, [esp + 0x24]
mov edx, esi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00451c10
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x45227c
mov edi, dword [esp + 0x40]
mov dl, byte [esp + 0xc]
imul edi, dword [esp + 0x1c]
test dl, dl
je 0x4520cf
xor esi, esi
test edi, edi
jle 0x4520d3
cmp edi, 0x10
jb 0x4520bd
mov eax, edi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x452077
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm1, xmmword [0x4dcc20]
mov ecx, edi
sub ecx, eax
lea eax, [ebx + 0x20]
movups xmm0, xmmword [eax - 0x20]
add esi, 0x10
pand xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x10]
pand xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
movups xmm0, xmmword [eax]
pand xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [eax + 0x10]
pand xmm0, xmm1
movups xmmword [eax + 0x10], xmm0
add eax, 0x40
cmp esi, ecx
jl 0x452085
cmp esi, edi
jge 0x4520d3
and dword [ebx + esi*4], 0xf8f8f8f8
inc esi
cmp esi, edi
jl 0x4520c1
jmp 0x4520d3
mov esi, dword [esp + 0x4c]
cmp byte [ebp + 0x24], 0
je 0x45212f
mov edx, dword [ebx]
and edx, 0xffffff
cmp byte [esp + 0xf], 0
jne 0x4520fe
movzx ecx, dx
movzx eax, dl
shr ecx, 8
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
or edx, ecx
push edx
lea eax, [esp + 0x64]
push str.0x_06X
push eax
call fcn.00405be0
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x6c]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a05c0
mov byte [esp + 0xe], 1
jmp 0x452280
cmp dword [esp + 0x10], 1
jge 0x452166
mov ecx, dword [esp + 0x18]
test dl, dl
je 0x452144
and ecx, 0xf8f8f8f8
xor esi, esi
test edi, edi
jle 0x452280
nop
mov eax, dword [ebx + esi*4]
and eax, 0xffffff
cmp eax, ecx
je 0x452125
inc esi
cmp esi, edi
jl 0x452150
jmp 0x452280
mov al, byte [esp + 0xd]
test dl, dl
je 0x45217e
and dword [esp + 0x24], 0xfffffff8
and al, 0xf8
and dword [esp + 0x28], 0xfffffff8
mov byte [esp + 0xd], al
movzx ecx, al
xor edx, edx
sub al, byte [esp + 0x10]
cmp dword [esp + 0x10], ecx
movzx eax, al
cmovle edx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov al, dl
sub al, byte [esp + 0x10]
movzx esi, dl
xor edx, edx
cmp dword [esp + 0x10], esi
movzx eax, al
cmovle edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
movzx edx, al
sub al, byte [esp + 0x10]
cmp dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
movzx eax, al
cmovle edx, eax
mov dword [esp + 0x1c], edx
mov edx, 0xff
mov eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x4521f2
mov byte [esp + 0xc], dl
jmp 0x4521fe
add cl, byte [esp + 0xd]
mov byte [esp + 0xc], cl
mov ecx, dword [esp + 0x10]
mov eax, edx
sub eax, esi
cmp ecx, eax
jle 0x45220c
mov byte [esp + 0xf], dl
jmp 0x452218
mov al, cl
mov ecx, dword [esp + 0x24]
add al, cl
mov byte [esp + 0xf], al
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, edx
jle 0x45222b
mov byte [esp + 0x10], 0xff
jmp 0x452235
mov ecx, dword [esp + 0x28]
add al, cl
mov dword [esp + 0x10], eax
xor esi, esi
test edi, edi
jle 0x452280
nop dword [eax + eax]
mov edx, dword [ebx + esi*4]
mov ecx, edx
mov eax, edx
shr ecx, 0x10
shr eax, 8
cmp cl, byte [esp + 0x5c]
jb 0x452275
cmp cl, byte [esp + 0xc]
ja 0x452275
cmp al, byte [esp + 0x4c]
jb 0x452275
cmp al, byte [esp + 0xf]
ja 0x452275
cmp dl, byte [esp + 0x1c]
jb 0x452275
cmp dl, byte [esp + 0x10]
jbe 0x452125
inc esi
cmp esi, edi
jl 0x452240
jmp 0x452280
mov esi, dword [esp + 0x4c]
push dword [esp + 0x34]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x50]
test edi, edi
je 0x4522ab
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4522a4
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4522ba
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x452596
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp byte [ebp + 0x24], 0
jne 0x45231d
cmp byte [esp + 0xe], 0
je 0x45231d
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
test ecx, ecx
je 0x4522fe
mov eax, esi
cdq
idiv ebx
push 0x18
sub edx, dword [esp + 0x3c]
add edx, dword [esp + 0x34]
mov eax, edx
cdq
push edx
push eax
call fcn.00401510
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x45231d
mov eax, esi
cdq
idiv ebx
push 0x18
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x30]
cdq
push edx
push eax
call fcn.00401510
cmp byte [esp + 0xe], 0
mov ecx, 0x4cffc4
push 1
push 0
mov eax, 0x4b9cc4
cmove eax, ecx
mov ecx, dword [0x4e5b90]
push 0xffffffffffffffff
push eax
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x452420
movzx ecx, bh
cmp edx, ecx
jle 0x452364
mov byte [esp + 0xd], 0
jmp 0x45236c
mov bl, bh
sub bl, dl
mov byte [esp + 0xd], bl
mov eax, dword [esp + 0x24]
movzx esi, al
sub al, dl
cmp edx, esi
movzx eax, al
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
cmovle edx, eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edx
movzx edx, al
sub al, byte [esp + 0x10]
cmp dword [esp + 0x10], edx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x18]
movzx eax, al
cmovle edx, eax
mov dword [esp + 0x18], edx
mov edx, 0xff
mov eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x4523cd
mov byte [esp + 0x17], dl
jmp 0x4523d5
mov bl, cl
add bl, bh
mov byte [esp + 0x17], bl
mov eax, edx
sub eax, esi
cmp ecx, eax
jle 0x4523e3
mov byte [esp + 0xf], dl
jmp 0x4523f3
mov ah, cl
mov ecx, dword [esp + 0x24]
add ah, cl
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xf], ah
sub edx, dword [esp + 0x50]
cmp ecx, edx
jle 0x452402
mov byte [esp + 0xc], 0xff
jmp 0x452450
mov al, cl
mov ecx, dword [esp + 0x28]
add al, cl
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
jmp 0x452450
mov al, byte [esp + 0xc]
mov byte [esp + 0xd], al
mov al, byte [esp + 0xc]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0xc]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0xc]
mov byte [esp + 0x17], al
mov al, byte [esp + 0xc]
mov byte [esp + 0xf], al
mov al, byte [esp + 0xc]
mov byte [esp + 0xc], al
mov edx, dword [esp + 0x30]
mov ebx, edx
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
nop
xor eax, eax
cmp edx, ecx
jle 0x45246d
cmp ebx, ecx
setge al
jmp 0x452472
cmp ebx, ecx
setle al
test eax, eax
je 0x4524b9
mov eax, dword [esp + 0x2c]
mov esi, eax
nop dword [eax]
cmp eax, edi
jle 0x45248d
xor eax, eax
cmp esi, edi
setge al
jmp 0x452494
xor eax, eax
cmp esi, edi
setle al
test eax, eax
je 0x45252f
push esi
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_GetPixel]
cmp dword [esp + 0x10], 1
jge 0x4524eb
cmp eax, dword [ebp + 0x18]
jne 0x452519
mov byte [esp + 0xe], 1
push dword [esp + 0x34]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0xe], 0
jne 0x452547
mov ecx, dword [0x4e5b90]
push 1
push 0
push 0xffffffffffffffff
push 0x4cffc4
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
cmp al, byte [esp + 0xd]
jb 0x452519
cmp al, byte [esp + 0x17]
ja 0x452519
cmp cl, byte [esp + 0x20]
jb 0x452519
cmp cl, byte [esp + 0xf]
ja 0x452519
cmp dl, byte [esp + 0x18]
jb 0x452519
cmp dl, byte [esp + 0xc]
jbe 0x4524b4
xor eax, eax
cmp dword [esp + 0x2c], edi
setle al
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x2c]
dec esi
jmp 0x452480
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, dword [esp + 0x30]
cmp edx, ecx
setle al
lea ebx, [ebx + eax*2]
dec ebx
jmp 0x452460
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x45255f
sub ebx, dword [esp + 0x38]
push 0x18
mov eax, ebx
cdq
push edx
push eax
call fcn.00401510
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x452577
sub esi, dword [esp + 0x3c]
push 0x18
mov eax, esi
cdq
push edx
push eax
call fcn.00401510
mov ecx, dword [0x4e5b90]
push 1
push 0
push 0xffffffffffffffff
push 0x4b9cc4
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp byte [ebp + 0x24], 0
mov ecx, 0x4cffc4
mov eax, 0x4d04fc
cmove ecx, eax
cmp word [ecx], 0x30
jne 0x4525b4
cmp word [ecx + 2], 0
je 0x4525c2
mov eax, dword [0x4e30fc]
test byte [eax + 0x100], 1
jne 0x4525dd
push 1
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [0x4e5b90]
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4b9c10
push 0
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00447640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20