Function at 0x417835
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x48]
sub esp, 0x108
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x88], eax
xor eax, eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x74], ebx
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [ebp + 0x50]
xor eax, eax
mov dword [ebp - 0xc], ebx
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3f
stosd dword es:[edi], eax
lea eax, [ebp + 5]
push ebx
push eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xb0], 0x20
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
mov byte [ebp + 4], bl
call fcn.00452e00
mov eax, dword [ebp + 0x58]
add esp, 0xc
cmp dword [ebp + 0x7c], 1
mov dword [ebp - 0x44], eax
jne 0x417924
mov dword [0x483e54], ebx
cmp esi, ebx
je 0x418491
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x50
call edi
cmp eax, 1
jle 0x41796e
push 2
push 0x10
call fcn.00447990
push 2
push 0x11
mov dword [ebp - 0x54], eax
call fcn.00447990
push 1
push 0x11
mov edi, eax
call fcn.00447990
cmp eax, edi
jle 0x41796a
push 1
push 0x11
call fcn.00447990
jmp 0x417978
push 2
jmp 0x417961
push ebx
call edi
push 1
mov dword [ebp - 0x54], eax
call edi
push str..BMP
push esi
mov dword [ebp - 0x5c], eax
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x4179da
push 0x2050
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
mov dword [ebp - 0x58], edi
cmp edi, ebx
je 0x418491
lea eax, [ebp - 0x74]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x4c], eax
push esi
jmp 0x417dcb
cmp byte [esi], bl
je 0x417d41
cmp byte [esi + 3], 0x2c
je 0x4179fa
push 0x2a
push esi
call fcn.00452d30
pop ecx
pop ecx
test eax, eax
je 0x417d41
push 0x2e
push esi
call fcn.00452d30
pop ecx
pop ecx
test eax, eax
jne 0x417d41
push 0x5c
push esi
call fcn.00452d30
pop ecx
pop ecx
test eax, eax
jne 0x417d41
push 1
push 0x20000
call fcn.00452b24
pop ecx
pop ecx
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov edi, 0xffff
cmp eax, edi
jle 0x417a44
mov eax, edi
jmp 0x417a4c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x2a
push dword [ebp - 0x34]
call fcn.00452d30
pop ecx
pop ecx
test eax, eax
je 0x417abd
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi - 1], 0x2c
je 0x417a8b
cmp esi, ebx
je 0x417a8b
push 0x464ce0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp eax, edi
jle 0x417a9c
mov dword [ebp - 0x48], edi
jmp 0x417aa7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x48], eax
push 1
push 0x2a
push 4
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.0045254d
add esp, 0x14
mov dword [ebp - 0x34], eax
push 1
push 0x40000
call fcn.00452b24
push 0x464ce0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
call fcn.0040af28
inc eax
push eax
call fcn.0041461f
add esp, 0x14
cmp eax, 0x40
jle 0x417aeb
push 0x40
pop eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
cmp eax, ebx
jle 0x417d1a
xor edi, edi
cmp dword [ebp - 0x70], ebx
jle 0x417d0b
push ebx
push 1
push 0x1f
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x40]
push 0x464ce0
push dword [ebp - 0x34]
call fcn.0044cdae
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov al, byte [ebp + 4]
cmp al, bl
je 0x417b5d
cmp al, 0x20
je 0x417b43
cmp al, 9
je 0x417b43
cmp al, 0xd
je 0x417b43
cmp al, 0xa
jne 0x417b5d
lea eax, [ebp + 5]
push eax
call esi
inc eax
push eax
lea eax, [ebp + 5]
push eax
lea eax, [ebp + 4]
push eax
call fcn.00452ea0
add esp, 0xc
jmp 0x417b2c
lea eax, [ebp + 4]
push eax
call esi
jmp 0x417b81
lea esi, [ebp + eax + 4]
mov cl, byte [esi]
cmp cl, 0x20
je 0x417b7f
cmp cl, 9
je 0x417b7f
cmp cl, 0xd
je 0x417b7f
cmp cl, 0xa
jne 0x417b86
mov byte [esi], bl
dec eax
cmp eax, ebx
jg 0x417b65
mov al, byte [ebp + 4]
lea ecx, [eax - 0x61]
cmp cl, 5
ja 0x417b99
movsx edx, al
sub edx, 0x57
jmp 0x417bbb
lea ecx, [eax - 0x41]
cmp cl, 5
ja 0x417ba9
movsx edx, al
sub edx, 0x37
jmp 0x417bbb
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x417bb9
movsx edx, al
sub edx, 0x30
jmp 0x417bbb
xor edx, edx
mov cl, byte [ebp + 5]
cmp cl, bl
je 0x417bc4
mov al, cl
cmp al, 0x61
jl 0x417be7
mov al, cl
cmp cl, bl
jne 0x417bd1
mov al, byte [ebp + 4]
cmp al, 0x66
jg 0x417be7
cmp cl, bl
mov cl, byte [ebp + 5]
jne 0x417bdf
mov cl, byte [ebp + 4]
movsx ecx, cl
sub ecx, 0x57
jmp 0x417c41
mov al, cl
cmp cl, bl
jne 0x417bf0
mov al, byte [ebp + 4]
cmp al, 0x41
jl 0x417c13
mov al, cl
cmp cl, bl
jne 0x417bfd
mov al, byte [ebp + 4]
cmp al, 0x46
jg 0x417c13
cmp cl, bl
mov cl, byte [ebp + 5]
jne 0x417c0b
mov cl, byte [ebp + 4]
movsx ecx, cl
sub ecx, 0x37
jmp 0x417c41
mov al, cl
cmp cl, bl
jne 0x417c1c
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x417c3f
mov al, cl
cmp cl, bl
jne 0x417c29
mov al, byte [ebp + 4]
cmp al, 0x39
jg 0x417c3f
cmp cl, bl
mov cl, byte [ebp + 5]
jne 0x417c37
mov cl, byte [ebp + 4]
movsx ecx, cl
sub ecx, 0x30
jmp 0x417c41
xor ecx, ecx
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417c4c
mov al, byte [ebp + 4]
cmp al, 0x61
jl 0x417c72
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417c5b
mov al, byte [ebp + 4]
cmp al, 0x66
jg 0x417c72
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417c6a
mov al, byte [ebp + 4]
movsx eax, al
sub eax, 0x57
jmp 0x417cd6
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417c7d
mov al, byte [ebp + 4]
cmp al, 0x41
jl 0x417ca3
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417c8c
mov al, byte [ebp + 4]
cmp al, 0x46
jg 0x417ca3
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417c9b
mov al, byte [ebp + 4]
movsx eax, al
sub eax, 0x37
jmp 0x417cd6
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417cae
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x417cd4
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417cbd
mov al, byte [ebp + 4]
cmp al, 0x39
jg 0x417cd4
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x417ccc
mov al, byte [ebp + 4]
movsx eax, al
sub eax, 0x30
jmp 0x417cd6
xor eax, eax
shl al, 4
shl cl, 4
movzx eax, al
shl eax, 8
movzx ecx, cl
or eax, ecx
shl dl, 4
shl eax, 8
movzx ecx, dl
mov edx, dword [ebp - 0x3c]
or eax, ecx
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
inc edi
mov dword [ecx + edx*4], eax
cmp edi, dword [ebp - 0x70]
jl 0x417b0d
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x6c]
jl 0x417b02
mov eax, dword [ebp + 0x58]
push 0xf
pop ecx
mov dword [ebp - 0x44], ecx
cmp eax, ecx
jl 0x417d2a
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x34], ebx
je 0x417dd2
push dword [ebp - 0x34]
call fcn.00452756
pop ecx
jmp 0x417dd2
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
push ebx
push 8
push ebx
call fcn.00414937
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push ebx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x70]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push edi
push dword [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x70]
push ebx
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push ebx
push ebx
push ebx
push 0x64
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
push ebx
push 8
push dword [ebp - 0x30]
call fcn.00414937
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x418491
cmp dword [ebp - 0x6c], ebx
je 0x418491
cmp dword [ebp - 0x78], ebx
je 0x417e05
mov dword [ebp - 0xbc], eax
push 4
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x78]
call fcn.00452790
add esp, 0xc
cmp dword [ebp - 0x88], ebx
je 0x417e2d
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc0], eax
push 4
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x88]
call fcn.00452790
add esp, 0xc
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x417e39
mov dword [eax], ebx
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x417e45
mov dword [eax], ebx
lea eax, [ebp - 0xc]
cmp dword [ebp - 0x90], ebx
je 0x417e6c
push 0x10
push dword [ebp - 0x90]
push eax
call fcn.00452790
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call fcn.00446f20
jmp 0x417e7b
push dword [ebp - 0x5c]
push dword [ebp - 0x54]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jne 0x417e89
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 4], ecx
mov eax, dword [ebp]
cmp eax, dword [ebp - 8]
jne 0x417e97
mov eax, dword [ebp - 0x5c]
mov dword [ebp], eax
sub ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x70]
jl 0x41846e
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x6c]
jl 0x41846e
cmp dword [ebp - 0x38], ebx
jne 0x417f13
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
inc ecx
inc eax
imul ecx, eax
shl ecx, 2
mov eax, 0x1000
cmp ecx, eax
jbe 0x417ecd
mov eax, ecx
push 1
push eax
call fcn.00452b24
pop ecx
xor edi, edi
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x6c], ebx
jle 0x417f13
xor esi, esi
cmp dword [ebp - 0x70], ebx
jle 0x417f0d
push edi
push esi
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_GetPixel]
mov edx, dword [ebp - 0x38]
mov ecx, edi
imul ecx, dword [ebp - 0x70]
add ecx, esi
inc dword [ebp - 0x3c]
inc esi
mov dword [edx + ecx*4], eax
cmp esi, dword [ebp - 0x70]
jl 0x417eeb
inc edi
cmp edi, dword [ebp - 0x6c]
jl 0x417ee4
push dword [ebp - 0x4c]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 0x4c], ebx
cmp dword [ebp + 0x5c], ebx
jle 0x417f61
cmp dword [ebp + 0x5c], 0x64
je 0x417f61
push dword [ebp + 0x5c]
call fcn.00454801
imul eax, dword [ebp - 0x3c]
pop ecx
add eax, 0x32
push 0x64
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x70]
imul ecx, dword [ebp - 0x6c]
sub ecx, eax
mov dword [ebp - 0x4c], ecx
mov edi, dword [ebp + 0x74]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, 0x80
je 0x417f7c
cmp edi, 0x20
je 0x417f7c
cmp edi, 0x40
jne 0x417f95
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push edi
mov dword [ebp - 0xb0], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
lea edi, [eax + 1]
push 1
imul edi, edi, 0x14
call esi
inc eax
imul eax, edi
mov ecx, 0x1000
mov dword [ebp - 0xb8], eax
cmp eax, ecx
jg 0x417fbd
mov eax, ecx
xor esi, esi
inc esi
push esi
push eax
call fcn.00452b24
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x58], edi
cmp edi, ebx
je 0x418491
mov eax, dword [ebp + 0x78]
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
mov dword [ebp - 0x78], eax
call fcn.004158b9
test eax, eax
jne 0x41801c
cmp dword [ebp + 0x78], ebx
jne 0x418002
lea eax, [ebp - 0xc]
push eax
push esi
push edi
call fcn.004158b9
mov dword [ebp - 0x78], esi
cmp eax, esi
jge 0x41801c
cmp dword [ebp - 0x38], ebx
je 0x418010
push dword [ebp - 0x38]
call fcn.00452756
pop ecx
push edi
call fcn.00452756
pop ecx
jmp 0x418491
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp + 0x60]
je 0x418063
push ebx
push dword [ebp - 0x58]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x44]
push dword [ebp - 0x90]
push dword [ebp - 0x48]
call fcn.00416560
test eax, eax
je 0x41827c
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 4]
jle 0x41807c
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
jmp 0x418270
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x34]
cmp eax, dword [ebp]
jg 0x41827c
mov dword [ebp - 0x50], ebx
xor esi, esi
cmp esi, dword [ebp - 0x6c]
jge 0x418270
xor edi, edi
cmp edi, dword [ebp - 0x70]
jge 0x418269
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xb8]
add eax, esi
imul eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x30]
shr ecx, 2
add eax, edi
cmp ecx, eax
jge 0x4180c1
mov eax, ecx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x60]
cmp eax, 0x100
je 0x4180e8
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x38]
imul ecx, esi
add ecx, edi
cmp dword [edx + ecx*4], eax
je 0x4181f1
cmp dword [ebp - 0x44], ebx
jg 0x41815b
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x40]
imul eax, esi
mov edx, dword [ebp - 0x38]
add eax, edi
cmp ecx, dword [edx + eax*4]
je 0x4181f1
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x7c]
jle 0x418141
push esi
push edi
push dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
imul eax, esi
add eax, edi
mov ecx, dword [ecx + eax*4]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
add edx, ecx
inc eax
cmp edx, eax
jl 0x41825b
inc edi
jns 0x41809b
jmp 0x418269
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.0041482a
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x38]
imul eax, esi
add eax, edi
lea edx, [ecx + eax*4]
movzx ecx, byte [edx]
cmp ecx, dword [ebp - 0xa0]
jl 0x418104
cmp ecx, dword [ebp - 0x9c]
jg 0x418104
movzx ecx, byte [edx + 1]
cmp ecx, dword [ebp - 0xa4]
jl 0x418104
cmp ecx, dword [ebp - 0xac]
jg 0x418104
movzx ecx, byte [edx + 2]
cmp ecx, dword [ebp - 0xb4]
jl 0x418104
cmp ecx, dword [ebp - 0xa8]
jg 0x418104
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x3c]
jl 0x41814f
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], 1
cmp eax, ebx
je 0x41821c
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x41822b
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
push esi
push edi
push dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x54], eax
jg 0x418266
mov esi, eax
jmp 0x418269
mov esi, dword [ebp - 0x5c]
inc dword [ebp - 0x30]
cmp dword [ebp - 0x54], esi
jle 0x418269
mov esi, dword [ebp - 0x54]
inc esi
jns 0x418090
cmp dword [ebp - 0x88], ebx
je 0x418030
cmp dword [ebp + 0x74], 0x80
je 0x418291
cmp dword [ebp + 0x74], 0x20
je 0x418291
cmp dword [ebp + 0x74], 0x40
jne 0x4182a4
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push dword [ebp - 0x58]
call fcn.00452756
push dword [ebp - 0x38]
call fcn.00452756
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
pop ecx
pop ecx
xor ecx, ecx
cmp eax, dword [ebp - 0x3c]
setge cl
cmp byte [0x4840a0], 2
mov dword [ebp - 0x40], ecx
jb 0x418469
cmp dword [ebp + 0x7c], 1
je 0x4182f2
mov eax, dword [ebp - 0x7c]
cmp eax, dword [0x483e54]
jle 0x418469
cmp eax, 1
jle 0x418469
push dword [ebp - 0x8c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [eax + 1]
push 0x3f
pop eax
cmp ecx, eax
jg 0x418313
push dword [ebp - 0x8c]
call esi
inc eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push eax
push dword [ebp - 0x8c]
lea eax, [ebp + 4]
push eax
call edi
push dword [ebp - 0x8c]
call esi
cmp eax, 0x3b
jle 0x418340
push 4
push 0x467ff4
lea eax, [ebp + 0x3f]
push eax
call edi
mov eax, 0x464a50
cmp dword [ebp - 0x40], ebx
jne 0x41834f
mov eax, str.not
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x7c]
push esi
push eax
lea eax, [ebp + 4]
push eax
push str.______s___smatched___d_of__d_pixels_matched_
call fcn.0042604a
add esp, 0x14
cmp word [ebp - 0x62], 0x18
jae 0x418375
movzx eax, word [ebp - 0x62]
jmp 0x418378
push 0x20
pop eax
mov ecx, dword [ebp - 0x48]
shr ecx, 0x10
movzx ecx, cl
push ecx
mov ecx, dword [ebp - 0x48]
shr ecx, 8
movzx ecx, cl
push ecx
movzx ecx, byte [ebp - 0x48]
push ecx
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push str.____Image_parameters:__d_x__d___d_bit__first_pixel__02X_02X_02X
call fcn.0042604a
push dword [ebp]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push str.____Scanned___d___d_______d___d_
call fcn.0042604a
mov ecx, dword [ebp + 0x5c]
add esp, 0x30
cmp ecx, ebx
jne 0x4183c5
push 0x64
pop ecx
cmp dword [ebp - 0x78], 1
mov eax, str.Slow_Scan__Pixel_by_Pixel_
je 0x4183d5
mov eax, str.Fast_Scan__Video_Memory_
push ecx
push dword [ebp - 0x44]
push eax
push str.____Match_Method:__s__RGB_Tolerance:__d__Required_Percentage:__d__
call fcn.0042604a
add esp, 0x10
cmp esi, 2
jl 0x41845e
push dword [ebp - 0x3c]
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push str.____Closest_match_at___d___d__which_was_good_thru_pixel__d_of__d___all_coordinates_are_0_based_
call fcn.0042604a
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
push eax
mov eax, dword [ebp - 0x84]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
push eax
add eax, dword [ebp - 0x18]
shr edx, 0x10
push ecx
add ecx, dword [ebp - 0x1c]
movzx edx, dl
push edx
mov edx, dword [ebp - 0x80]
shr edx, 8
movzx edx, dl
push edx
movzx edx, byte [ebp - 0x80]
push edx
push eax
push ecx
push str.____Last_matching_pixel:_Screen___d___d__RGB__d___d___d__vs._Image___d___d__RGB__d___d___d_
call fcn.0042604a
add esp, 0x40
mov dword [0x483e54], esi
push str.__r_n
call fcn.0042604a
pop ecx
mov eax, dword [ebp - 0x40]
jmp 0x418493
cmp dword [ebp - 0x30], ebx
je 0x418491
push dword [ebp - 0x4c]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
mov ecx, dword [ebp + 0x44]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x48
leave
ret 0x30