Function at 0x445f60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
cmp byte [ebp + 0x24], 0
push ebx
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, ecx
mov dword [esp + 0x70], edi
jne 0x445f93
mov edx, str.Fast
mov ecx, esi
call fcn.004921b0
mov byte [esp + 0xc], 0
test eax, eax
je 0x445f98
mov byte [esp + 0xc], 1
mov edx, 0x4e9884
mov ecx, esi
call fcn.004921b0
mov ebx, dword [ebp + 0x18]
mov edx, eax
test edx, edx
movzx esi, bl
movzx ecx, bx
mov eax, ebx
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 0x445fda
mov dword [esp + 0x20], ebx
mov ebx, esi
mov dword [ebp + 0x18], ebx
jmp 0x445fde
mov dword [esp + 0x20], esi
cmp byte [ebp + 0x24], 0
mov eax, dword [0x4f90f0]
mov dword [esp + 0x60], eax
je 0x445ff1
xor ebx, ebx
jmp 0x445ffe
mov cl, 1
cmp cl, byte [edi + 1]
sbb ebx, ebx
and ebx, dword [0x4f90f4]
mov dword [esp + 0x64], ebx
test eax, eax
je 0x446015
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.00495fe0
test ebx, ebx
je 0x446028
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.00495fe0
xorps xmm0, xmm0
lea edx, [esp + 0x48]
push 0
lea ecx, [esp + 0x48]
movlpd qword [esp + 0x48], xmm0
call fcn.004931d0
mov ebx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x44]
add ebx, edx
add edx, dword [ebp + 0x10]
mov esi, ebx
mov ecx, dword [ebp + 0xc]
mov eax, edx
add ecx, dword [esp + 0x48]
mov edi, dword [ebp + 0x14]
add edi, dword [esp + 0x48]
cmp ebx, edx
mov dword [esp + 0x38], ebx
cmovle eax, ebx
mov dword [esp + 0x28], ecx
cmovle esi, edx
mov dword [esp + 0x58], eax
cmp ecx, edi
mov dword [esp + 0x40], edx
mov ebx, ecx
mov eax, edi
cmovle eax, ecx
cmovle ebx, edi
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
cmovns ecx, eax
mov dword [esp + 0x10], ecx
cmp ecx, 0xff
jle 0x4460a9
mov dword [esp + 0x10], 0xff
jmp 0x4460ad
test ecx, ecx
jle 0x4460c4
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 8
mov dword [esp + 0x14], eax
mov eax, ecx
mov byte [esp + 0xd], cl
shr eax, 0x10
jmp 0x4460d8
mov al, byte [esp + 0xc]
mov byte [esp + 0xd], al
mov al, byte [esp + 0xc]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xc]
push 0
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
je 0x44680d
cmp byte [esp + 0xc], 0
mov byte [esp + 0xe], 0
je 0x4465a9
sub esi, dword [esp + 0x58]
xor ecx, ecx
sub ebx, dword [esp + 0x5c]
inc esi
push edx
mov dword [esp + 0x58], ecx
inc ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x70], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4464d8
push ebx
push esi
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4464d8
push eax
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4464d8
push 0xcc0020
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x64]
push esi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x4464d8
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0xc]
push 8
push eax
lea eax, [esp + 0x38]
mov edx, ebx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00445d50
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4464d8
mov ebx, dword [esp + 0x34]
mov edx, ebx
imul edx, dword [esp + 0x30]
mov al, byte [esp + 0xc]
mov dword [esp + 0x4c], edx
test al, al
je 0x44625e
xor esi, esi
test edx, edx
jle 0x446262
cmp edx, 0x10
jb 0x446243
mov eax, edx
and eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x4461eb
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4eea20]
mov ecx, edx
sub ecx, eax
mov eax, dword [esp + 0x1c]
add eax, 0x20
nop dword [eax]
movups xmm0, xmmword [eax - 0x20]
add esi, 0x10
movaps xmm1, xmm2
pand xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x10]
pand xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
movups xmm0, xmmword [eax]
pand xmm0, xmm2
movups xmmword [eax], xmm0
movups xmm0, xmmword [eax + 0x10]
pand xmm0, xmm2
movups xmmword [eax + 0x10], xmm0
add eax, 0x40
cmp esi, ecx
jl 0x446200
mov al, byte [esp + 0xc]
mov ecx, dword [esp + 0x1c]
cmp esi, edx
jge 0x446262
nop word [eax + eax]
and dword [ecx + esi*4], 0xf8f8f8f8
inc esi
cmp esi, edx
jl 0x446250
jmp 0x446262
mov esi, dword [esp + 0x3c]
cmp byte [ebp + 0x24], 0
je 0x4462c1
mov edx, dword [ecx]
and edx, 0xffffff
cmp byte [esp + 0xf], 0
jne 0x44628d
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 + 0x7c]
push str.0x_06X
push eax
call fcn.00405640
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x84]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00495fe0
mov byte [esp + 0xe], 1
jmp 0x4464e0
cmp dword [esp + 0x10], 1
jge 0x44635e
test al, al
je 0x4462d8
and dword [esp + 0x20], 0xf8f8f8f8
xor ecx, ecx
test edx, edx
jle 0x4464e0
dec edx
mov dword [esp + 0x14], edx
nop word [eax + eax]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x40]
jle 0x446318
cmp dword [esp + 0x28], edi
jle 0x446304
mov esi, edx
jmp 0x446337
mov eax, ecx
cdq
idiv ebx
lea esi, [eax + 1]
imul esi, ebx
sub esi, edx
mov edx, dword [esp + 0x14]
dec esi
jmp 0x446337
cmp dword [esp + 0x28], edi
jle 0x446335
mov eax, edx
cdq
idiv ebx
mov esi, eax
mov eax, ecx
cdq
idiv ebx
imul esi, ebx
add esi, edx
mov edx, dword [esp + 0x14]
jmp 0x446337
mov esi, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
and eax, 0xffffff
cmp eax, dword [esp + 0x20]
je 0x4462b7
inc ecx
dec edx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x4c]
jl 0x4462f0
jmp 0x4464e0
mov edx, dword [esp + 0x14]
test al, al
mov al, byte [esp + 0xd]
je 0x44637c
and al, 0xf8
and edx, 0xfffffff8
and dword [esp + 0x24], 0xfffffff8
mov byte [esp + 0xd], al
mov dword [esp + 0x14], edx
movzx ecx, al
xor ebx, ebx
sub al, byte [esp + 0x10]
cmp dword [esp + 0x10], ecx
movzx eax, al
cmovle ebx, eax
mov dword [esp + 0x20], 0
movzx eax, dl
mov dword [esp + 0x30], eax
mov al, dl
xor edx, edx
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x10]
sub al, bl
cmp ebx, dword [esp + 0x30]
movzx eax, al
cmovle edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
movzx edx, al
sub al, bl
cmp ebx, edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x20]
movzx eax, al
cmovle edx, eax
mov dword [esp + 0x20], edx
mov edx, 0xff
mov eax, edx
sub eax, ecx
cmp ebx, eax
jle 0x4463ea
mov byte [esp + 0xc], dl
jmp 0x4463f4
mov cl, bl
add cl, byte [esp + 0xd]
mov byte [esp + 0xc], cl
mov eax, edx
sub eax, dword [esp + 0x30]
cmp ebx, eax
jle 0x446404
mov byte [esp + 0xf], dl
jmp 0x446410
mov eax, dword [esp + 0x14]
mov cl, bl
add cl, al
mov byte [esp + 0xf], cl
sub edx, dword [esp + 0x74]
cmp ebx, edx
jle 0x44641f
mov byte [esp + 0x10], 0xff
jmp 0x446429
mov ecx, dword [esp + 0x24]
add bl, cl
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x4464e0
dec eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x40]
jle 0x446468
cmp dword [esp + 0x28], edi
jle 0x446458
mov esi, eax
jmp 0x446481
mov eax, ecx
cdq
idiv ebx
lea esi, [eax + 1]
imul esi, ebx
sub esi, edx
dec esi
jmp 0x446481
cmp dword [esp + 0x28], edi
jle 0x44647f
cdq
idiv ebx
mov esi, eax
mov eax, ecx
cdq
idiv ebx
imul esi, ebx
add esi, edx
jmp 0x446481
mov esi, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + esi*4]
mov ecx, edx
mov eax, edx
shr ecx, 0x10
shr eax, 8
cmp cl, byte [esp + 0x68]
jb 0x4464ba
cmp cl, byte [esp + 0xc]
ja 0x4464ba
cmp al, byte [esp + 0x3c]
jb 0x4464ba
cmp al, byte [esp + 0xf]
ja 0x4464ba
cmp dl, byte [esp + 0x20]
jb 0x4464ba
cmp dl, byte [esp + 0x10]
jbe 0x4462b7
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
inc ecx
dec eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
cmp ecx, dword [esp + 0x4c]
jl 0x446444
jmp 0x4464e0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
push dword [esp + 0x2c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x50]
test edi, edi
je 0x44650b
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x446504
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x44651a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44680d
push eax
call fcn.004b113e
add esp, 4
cmp byte [ebp + 0x24], 0
jne 0x44657c
cmp byte [esp + 0xe], 0
je 0x44657c
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x44655d
mov eax, esi
cdq
idiv ebx
push 0x18
sub edx, dword [esp + 0x48]
add edx, dword [esp + 0x5c]
mov eax, edx
cdq
push edx
push eax
call fcn.004013d0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x44657c
mov eax, esi
cdq
idiv ebx
push 0x18
sub eax, dword [esp + 0x4c]
add eax, dword [esp + 0x60]
cdq
push edx
push eax
call fcn.004013d0
cmp byte [esp + 0xe], 0
mov ecx, 0x4e25ec
push 1
push 0
mov eax, 0x4cd350
cmove eax, ecx
mov ecx, dword [0x4f78d0]
push 0xffffffffffffffff
push eax
call fcn.00495fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x44668f
mov cl, byte [esp + 0xd]
movzx esi, cl
cmp eax, esi
jle 0x4465c7
mov byte [esp + 0xd], 0
jmp 0x4465cf
mov ch, cl
sub ch, al
mov byte [esp + 0xd], ch
mov ebx, dword [esp + 0x14]
mov al, bl
sub al, byte [esp + 0x10]
movzx edx, bl
cmp dword [esp + 0x10], edx
mov dword [esp + 0x3c], edx
movzx eax, al
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
cmovle edx, eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
movzx edx, al
sub al, byte [esp + 0x10]
cmp dword [esp + 0x10], edx
mov dword [esp + 0x68], 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, esi
cmp dword [esp + 0x10], eax
jle 0x446638
mov byte [esp + 0x1b], dl
jmp 0x446642
mov ch, byte [esp + 0x10]
add ch, cl
mov byte [esp + 0x1b], ch
mov eax, edx
sub eax, dword [esp + 0x3c]
cmp dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
jle 0x446658
mov byte [esp + 0xf], dl
jmp 0x446660
mov cl, al
add cl, bl
mov byte [esp + 0xf], cl
sub edx, dword [esp + 0x68]
cmp eax, edx
mov edx, dword [esp + 0x2c]
jle 0x446673
mov byte [esp + 0xc], 0xff
jmp 0x4466bf
mov ecx, dword [esp + 0x24]
add al, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jmp 0x4466bf
mov al, byte [esp + 0xc]
mov byte [esp + 0xd], al
mov al, byte [esp + 0xc]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xc]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0xc]
mov byte [esp + 0x1b], al
mov al, byte [esp + 0xc]
mov byte [esp + 0xf], al
mov al, byte [esp + 0xc]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x38]
mov ebx, eax
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x40]
nop dword [eax]
cmp eax, ecx
jle 0x4466dd
xor eax, eax
cmp ebx, ecx
setge al
jmp 0x4466e4
xor eax, eax
cmp ebx, ecx
setle al
test eax, eax
je 0x446726
mov eax, dword [esp + 0x28]
mov esi, eax
nop
cmp eax, edi
jle 0x4466fd
xor eax, eax
cmp esi, edi
setge al
jmp 0x446704
xor eax, eax
cmp esi, edi
setle al
test eax, eax
je 0x4467a4
push esi
push ebx
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp dword [esp + 0x10], 1
jge 0x44675c
cmp eax, dword [ebp + 0x18]
jne 0x44678a
mov byte [esp + 0xe], 1
push dword [esp + 0x2c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0xe], 0
jne 0x4467be
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e25ec
call fcn.00495fe0
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 0x44678a
cmp al, byte [esp + 0x1b]
ja 0x44678a
cmp cl, byte [esp + 0x14]
jb 0x44678a
cmp cl, byte [esp + 0xf]
ja 0x44678a
cmp dl, byte [esp + 0x1c]
jb 0x44678a
cmp dl, byte [esp + 0xc]
jbe 0x446721
mov edx, dword [esp + 0x2c]
xor eax, eax
cmp dword [esp + 0x28], edi
setle al
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x28]
dec esi
jmp 0x4466f0
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x38], ecx
setle al
lea ebx, [ebx + eax*2]
mov eax, dword [esp + 0x38]
dec ebx
jmp 0x4466d0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4467d6
sub ebx, dword [esp + 0x44]
push 0x18
mov eax, ebx
cdq
push edx
push eax
call fcn.004013d0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4467ee
sub esi, dword [esp + 0x48]
push 0x18
mov eax, esi
cdq
push edx
push eax
call fcn.004013d0
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4cd350
call fcn.00495fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp byte [ebp + 0x24], 0
mov ecx, 0x4e25ec
mov eax, 0x4e2b24
cmove ecx, eax
cmp word [ecx], 0x30
jne 0x44682b
cmp word [ecx + 2], 0
je 0x446839
mov eax, dword [0x4f48cc]
test byte [eax + 0x100], 1
jne 0x446854
push 1
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [0x4f78d0]
call fcn.00495fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4cd2cc
push 0
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.0043b880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20