Function at 0x452430
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 0x452463
mov edx, str.Fast
mov ecx, esi
call fcn.0049d970
mov byte [esp + 0xc], 0
test eax, eax
je 0x452468
mov byte [esp + 0xc], 1
mov edx, 0x4d9584
mov ecx, esi
call fcn.0049d970
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 0x4524aa
mov dword [esp + 0x20], ebx
mov ebx, esi
mov dword [ebp + 0x18], ebx
jmp 0x4524ae
mov dword [esp + 0x20], esi
cmp byte [ebp + 0x24], 0
mov eax, dword [0x4e8218]
mov dword [esp + 0x60], eax
je 0x4524c1
xor ebx, ebx
jmp 0x4524ce
mov cl, 1
cmp cl, byte [edi + 1]
sbb ebx, ebx
and ebx, dword [0x4e821c]
mov dword [esp + 0x64], ebx
test eax, eax
je 0x4524e5
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004a19e0
test ebx, ebx
je 0x4524f8
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004a19e0
xorps xmm0, xmm0
lea edx, [esp + 0x48]
push 0
lea ecx, [esp + 0x48]
movlpd qword [esp + 0x48], xmm0
call fcn.0049e9a0
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 0x452579
mov dword [esp + 0x10], 0xff
jmp 0x45257d
test ecx, ecx
jle 0x452594
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 0x4525a8
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 0x452cdd
cmp byte [esp + 0xc], 0
mov byte [esp + 0xe], 0
je 0x452a7a
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 0x4529a8
push ebx
push esi
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4529a8
push eax
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4529a8
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 0x4529a8
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.00452220
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4529a8
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 0x45272e
xor esi, esi
test edx, edx
jle 0x452732
cmp edx, 0x10
jb 0x452713
mov eax, edx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x4526bb
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4de2c0]
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 0x4526d0
mov al, byte [esp + 0xc]
mov ecx, dword [esp + 0x1c]
cmp esi, edx
jge 0x452732
nop word [eax + eax]
and dword [ecx + esi*4], 0xf8f8f8f8
inc esi
cmp esi, edx
jl 0x452720
jmp 0x452732
mov esi, dword [esp + 0x3c]
cmp byte [ebp + 0x24], 0
je 0x452791
mov edx, dword [ecx]
and edx, 0xffffff
cmp byte [esp + 0xf], 0
jne 0x45275d
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.00405ec0
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x84]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a19e0
mov byte [esp + 0xe], 1
jmp 0x4529b0
cmp dword [esp + 0x10], 1
jge 0x45282e
test al, al
je 0x4527a8
and dword [esp + 0x20], 0xf8f8f8f8
xor ecx, ecx
test edx, edx
jle 0x4529b0
dec edx
mov dword [esp + 0x14], edx
nop word [eax + eax]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x40]
jle 0x4527e8
cmp dword [esp + 0x28], edi
jle 0x4527d4
mov esi, edx
jmp 0x452807
mov eax, ecx
cdq
idiv ebx
lea esi, [eax + 1]
imul esi, ebx
sub esi, edx
mov edx, dword [esp + 0x14]
dec esi
jmp 0x452807
cmp dword [esp + 0x28], edi
jle 0x452805
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 0x452807
mov esi, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
and eax, 0xffffff
cmp eax, dword [esp + 0x20]
je 0x452787
inc ecx
dec edx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x4c]
jl 0x4527c0
jmp 0x4529b0
mov edx, dword [esp + 0x14]
test al, al
mov al, byte [esp + 0xd]
je 0x45284c
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 0x4528ba
mov byte [esp + 0xc], dl
jmp 0x4528c4
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 0x4528d4
mov byte [esp + 0xf], dl
jmp 0x4528e0
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 0x4528ef
mov byte [esp + 0x10], 0xff
jmp 0x4528f9
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 0x4529b0
dec eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x40]
jle 0x452938
cmp dword [esp + 0x28], edi
jle 0x452928
mov esi, eax
jmp 0x452951
mov eax, ecx
cdq
idiv ebx
lea esi, [eax + 1]
imul esi, ebx
sub esi, edx
dec esi
jmp 0x452951
cmp dword [esp + 0x28], edi
jle 0x45294f
cdq
idiv ebx
mov esi, eax
mov eax, ecx
cdq
idiv ebx
imul esi, ebx
add esi, edx
jmp 0x452951
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 0x45298a
cmp cl, byte [esp + 0xc]
ja 0x45298a
cmp al, byte [esp + 0x3c]
jb 0x45298a
cmp al, byte [esp + 0xf]
ja 0x45298a
cmp dl, byte [esp + 0x20]
jb 0x45298a
cmp dl, byte [esp + 0x10]
jbe 0x452787
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 0x452914
jmp 0x4529b0
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 0x4529db
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4529d4
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 0x4529ea
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x452cdd
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp byte [ebp + 0x24], 0
jne 0x452a4d
cmp byte [esp + 0xe], 0
je 0x452a4d
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x452a2e
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.004014e0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x452a4d
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.004014e0
cmp byte [esp + 0xe], 0
mov ecx, 0x4d112c
push 1
push 0
mov eax, 0x4bacf8
cmove eax, ecx
mov ecx, dword [0x4e69cc]
push 0xffffffffffffffff
push eax
call fcn.004a19e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x452b60
mov cl, byte [esp + 0xd]
movzx esi, cl
cmp eax, esi
jle 0x452a98
mov byte [esp + 0xd], 0
jmp 0x452aa0
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 0x452b09
mov byte [esp + 0x1b], dl
jmp 0x452b13
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 0x452b29
mov byte [esp + 0xf], dl
jmp 0x452b31
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 0x452b44
mov byte [esp + 0xc], 0xff
jmp 0x452b90
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 0x452b90
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
cmp eax, ecx
jle 0x452bad
xor eax, eax
cmp ebx, ecx
setge al
jmp 0x452bb4
xor eax, eax
cmp ebx, ecx
setle al
test eax, eax
je 0x452bf6
mov eax, dword [esp + 0x28]
mov esi, eax
nop
cmp eax, edi
jle 0x452bcd
xor eax, eax
cmp esi, edi
setge al
jmp 0x452bd4
xor eax, eax
cmp esi, edi
setle al
test eax, eax
je 0x452c74
push esi
push ebx
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp dword [esp + 0x10], 1
jge 0x452c2c
cmp eax, dword [ebp + 0x18]
jne 0x452c5a
mov byte [esp + 0xe], 1
push dword [esp + 0x2c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0xe], 0
jne 0x452c8e
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a19e0
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 0x452c5a
cmp al, byte [esp + 0x1b]
ja 0x452c5a
cmp cl, byte [esp + 0x14]
jb 0x452c5a
cmp cl, byte [esp + 0xf]
ja 0x452c5a
cmp dl, byte [esp + 0x1c]
jb 0x452c5a
cmp dl, byte [esp + 0xc]
jbe 0x452bf1
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 0x452bc0
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 0x452ba0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x452ca6
sub ebx, dword [esp + 0x44]
push 0x18
mov eax, ebx
cdq
push edx
push eax
call fcn.004014e0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x452cbe
sub esi, dword [esp + 0x48]
push 0x18
mov eax, esi
cdq
push edx
push eax
call fcn.004014e0
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4bacf8
call fcn.004a19e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp byte [ebp + 0x24], 0
mov ecx, 0x4d112c
mov eax, 0x4d1664
cmove ecx, eax
cmp word [ecx], 0x30
jne 0x452cfb
cmp word [ecx + 2], 0
je 0x452d09
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
jne 0x452d24
push 1
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [0x4e69cc]
call fcn.004a19e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4bac30
push 0
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.00448320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20