Function at 0x413816
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x48]
sub esp, 0x108
mov eax, dword [0x4755d0]
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.00448090
mov eax, dword [ebp + 0x58]
add esp, 0xc
cmp dword [ebp + 0x7c], 1
mov dword [ebp - 0x44], eax
jne 0x413905
mov dword [0x47ae94], ebx
cmp esi, ebx
je 0x414472
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x50
call edi
cmp eax, 1
jle 0x41394f
push 2
push 0x10
call fcn.00440179
push 2
push 0x11
mov dword [ebp - 0x54], eax
call fcn.00440179
push 1
push 0x11
mov edi, eax
call fcn.00440179
cmp eax, edi
jle 0x41394b
push 1
push 0x11
call fcn.00440179
jmp 0x413959
push 2
jmp 0x413942
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 0x4139bb
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 0x414472
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 0x413dac
cmp byte [esi], bl
je 0x413d22
cmp byte [esi + 3], 0x2c
je 0x4139db
push 0x2a
push esi
call fcn.00447970
pop ecx
pop ecx
test eax, eax
je 0x413d22
push 0x2e
push esi
call fcn.00447970
pop ecx
pop ecx
test eax, eax
jne 0x413d22
push 0x5c
push esi
call fcn.00447970
pop ecx
pop ecx
test eax, eax
jne 0x413d22
push 1
push 0x20000
call fcn.00447e84
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 0x413a25
mov eax, edi
jmp 0x413a2d
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.00447970
pop ecx
pop ecx
test eax, eax
je 0x413a9e
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi - 1], 0x2c
je 0x413a6c
cmp esi, ebx
je 0x413a6c
push 0x45cc00
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp eax, edi
jle 0x413a7d
mov dword [ebp - 0x48], edi
jmp 0x413a88
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.004477e6
add esp, 0x14
mov dword [ebp - 0x34], eax
push 1
push 0x40000
call fcn.00447e84
push 0x45cc00
push dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
call fcn.00407bc7
inc eax
push eax
call fcn.00411125
add esp, 0x14
cmp eax, 0x40
jle 0x413acc
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 0x413cfb
xor edi, edi
cmp dword [ebp - 0x70], ebx
jle 0x413cec
push ebx
push 1
push 0x1f
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x40]
push 0x45cc00
push dword [ebp - 0x34]
call fcn.00444fa4
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov al, byte [ebp + 4]
cmp al, bl
je 0x413b3e
cmp al, 0x20
je 0x413b24
cmp al, 9
je 0x413b24
cmp al, 0xd
je 0x413b24
cmp al, 0xa
jne 0x413b3e
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.00448130
add esp, 0xc
jmp 0x413b0d
lea eax, [ebp + 4]
push eax
call esi
jmp 0x413b62
lea esi, [ebp + eax + 4]
mov cl, byte [esi]
cmp cl, 0x20
je 0x413b60
cmp cl, 9
je 0x413b60
cmp cl, 0xd
je 0x413b60
cmp cl, 0xa
jne 0x413b67
mov byte [esi], bl
dec eax
cmp eax, ebx
jg 0x413b46
mov al, byte [ebp + 4]
lea ecx, [eax - 0x61]
cmp cl, 5
ja 0x413b7a
movsx edx, al
sub edx, 0x57
jmp 0x413b9c
lea ecx, [eax - 0x41]
cmp cl, 5
ja 0x413b8a
movsx edx, al
sub edx, 0x37
jmp 0x413b9c
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x413b9a
movsx edx, al
sub edx, 0x30
jmp 0x413b9c
xor edx, edx
mov cl, byte [ebp + 5]
cmp cl, bl
je 0x413ba5
mov al, cl
cmp al, 0x61
jl 0x413bc8
mov al, cl
cmp cl, bl
jne 0x413bb2
mov al, byte [ebp + 4]
cmp al, 0x66
jg 0x413bc8
cmp cl, bl
mov cl, byte [ebp + 5]
jne 0x413bc0
mov cl, byte [ebp + 4]
movsx ecx, cl
sub ecx, 0x57
jmp 0x413c22
mov al, cl
cmp cl, bl
jne 0x413bd1
mov al, byte [ebp + 4]
cmp al, 0x41
jl 0x413bf4
mov al, cl
cmp cl, bl
jne 0x413bde
mov al, byte [ebp + 4]
cmp al, 0x46
jg 0x413bf4
cmp cl, bl
mov cl, byte [ebp + 5]
jne 0x413bec
mov cl, byte [ebp + 4]
movsx ecx, cl
sub ecx, 0x37
jmp 0x413c22
mov al, cl
cmp cl, bl
jne 0x413bfd
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x413c20
mov al, cl
cmp cl, bl
jne 0x413c0a
mov al, byte [ebp + 4]
cmp al, 0x39
jg 0x413c20
cmp cl, bl
mov cl, byte [ebp + 5]
jne 0x413c18
mov cl, byte [ebp + 4]
movsx ecx, cl
sub ecx, 0x30
jmp 0x413c22
xor ecx, ecx
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c2d
mov al, byte [ebp + 4]
cmp al, 0x61
jl 0x413c53
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c3c
mov al, byte [ebp + 4]
cmp al, 0x66
jg 0x413c53
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c4b
mov al, byte [ebp + 4]
movsx eax, al
sub eax, 0x57
jmp 0x413cb7
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c5e
mov al, byte [ebp + 4]
cmp al, 0x41
jl 0x413c84
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c6d
mov al, byte [ebp + 4]
cmp al, 0x46
jg 0x413c84
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c7c
mov al, byte [ebp + 4]
movsx eax, al
sub eax, 0x37
jmp 0x413cb7
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c8f
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x413cb5
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413c9e
mov al, byte [ebp + 4]
cmp al, 0x39
jg 0x413cb5
mov al, byte [ebp + 6]
cmp byte [ebp + 5], bl
jne 0x413cad
mov al, byte [ebp + 4]
movsx eax, al
sub eax, 0x30
jmp 0x413cb7
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 0x413aee
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x6c]
jl 0x413ae3
mov eax, dword [ebp + 0x58]
push 0xf
pop ecx
mov dword [ebp - 0x44], ecx
cmp eax, ecx
jl 0x413d0b
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x34], ebx
je 0x413db3
push dword [ebp - 0x34]
call fcn.00447ab6
pop ecx
jmp 0x413db3
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.0041143d
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.0041143d
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x414472
cmp dword [ebp - 0x6c], ebx
je 0x414472
cmp dword [ebp - 0x78], ebx
je 0x413de6
mov dword [ebp - 0xbc], eax
push 4
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x78]
call fcn.00447af0
add esp, 0xc
cmp dword [ebp - 0x88], ebx
je 0x413e0e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc0], eax
push 4
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x88]
call fcn.00447af0
add esp, 0xc
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x413e1a
mov dword [eax], ebx
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x413e26
mov dword [eax], ebx
lea eax, [ebp - 0xc]
cmp dword [ebp - 0x90], ebx
je 0x413e4d
push 0x10
push dword [ebp - 0x90]
push eax
call fcn.00447af0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call fcn.0043fa7d
jmp 0x413e5c
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 0x413e6a
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 4], ecx
mov eax, dword [ebp]
cmp eax, dword [ebp - 8]
jne 0x413e78
mov eax, dword [ebp - 0x5c]
mov dword [ebp], eax
sub ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x70]
jl 0x41444f
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x6c]
jl 0x41444f
cmp dword [ebp - 0x38], ebx
jne 0x413ef4
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 0x413eae
mov eax, ecx
push 1
push eax
call fcn.00447e84
pop ecx
xor edi, edi
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x6c], ebx
jle 0x413ef4
xor esi, esi
cmp dword [ebp - 0x70], ebx
jle 0x413eee
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 0x413ecc
inc edi
cmp edi, dword [ebp - 0x6c]
jl 0x413ec5
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 0x413f42
cmp dword [ebp + 0x5c], 0x64
je 0x413f42
push dword [ebp + 0x5c]
call fcn.0044854e
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 0x413f5d
cmp edi, 0x20
je 0x413f5d
cmp edi, 0x40
jne 0x413f76
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 0x413f9e
mov eax, ecx
xor esi, esi
inc esi
push esi
push eax
call fcn.00447e84
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x58], edi
cmp edi, ebx
je 0x414472
mov eax, dword [ebp + 0x78]
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
mov dword [ebp - 0x78], eax
call fcn.004123bf
test eax, eax
jne 0x413ffd
cmp dword [ebp + 0x78], ebx
jne 0x413fe3
lea eax, [ebp - 0xc]
push eax
push esi
push edi
call fcn.004123bf
mov dword [ebp - 0x78], esi
cmp eax, esi
jge 0x413ffd
cmp dword [ebp - 0x38], ebx
je 0x413ff1
push dword [ebp - 0x38]
call fcn.00447ab6
pop ecx
push edi
call fcn.00447ab6
pop ecx
jmp 0x414472
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 0x414044
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.00412fdd
test eax, eax
je 0x41425d
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 4]
jle 0x41405d
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
jmp 0x414251
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x34]
cmp eax, dword [ebp]
jg 0x41425d
mov dword [ebp - 0x50], ebx
xor esi, esi
cmp esi, dword [ebp - 0x6c]
jge 0x414251
xor edi, edi
cmp edi, dword [ebp - 0x70]
jge 0x41424a
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 0x4140a2
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 0x4140c9
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x38]
imul ecx, esi
add ecx, edi
cmp dword [edx + ecx*4], eax
je 0x4141d2
cmp dword [ebp - 0x44], ebx
jg 0x41413c
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 0x4141d2
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x7c]
jle 0x414122
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 0x41423c
inc edi
jns 0x41407c
jmp 0x41424a
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.00411330
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 0x4140e5
cmp ecx, dword [ebp - 0x9c]
jg 0x4140e5
movzx ecx, byte [edx + 1]
cmp ecx, dword [ebp - 0xa4]
jl 0x4140e5
cmp ecx, dword [ebp - 0xac]
jg 0x4140e5
movzx ecx, byte [edx + 2]
cmp ecx, dword [ebp - 0xb4]
jl 0x4140e5
cmp ecx, dword [ebp - 0xa8]
jg 0x4140e5
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x3c]
jl 0x414130
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], 1
cmp eax, ebx
je 0x4141fd
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x41420c
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 0x414247
mov esi, eax
jmp 0x41424a
mov esi, dword [ebp - 0x5c]
inc dword [ebp - 0x30]
cmp dword [ebp - 0x54], esi
jle 0x41424a
mov esi, dword [ebp - 0x54]
inc esi
jns 0x414071
cmp dword [ebp - 0x88], ebx
je 0x414011
cmp dword [ebp + 0x74], 0x80
je 0x414272
cmp dword [ebp + 0x74], 0x20
je 0x414272
cmp dword [ebp + 0x74], 0x40
jne 0x414285
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.00447ab6
push dword [ebp - 0x38]
call fcn.00447ab6
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 [0x47b0e0], 2
mov dword [ebp - 0x40], ecx
jb 0x41444a
cmp dword [ebp + 0x7c], 1
je 0x4142d3
mov eax, dword [ebp - 0x7c]
cmp eax, dword [0x47ae94]
jle 0x41444a
cmp eax, 1
jle 0x41444a
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 0x4142f4
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 0x414321
push 4
push 0x45fb24
lea eax, [ebp + 0x3f]
push eax
call edi
mov eax, 0x45c970
cmp dword [ebp - 0x40], ebx
jne 0x414330
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.00421b06
add esp, 0x14
cmp word [ebp - 0x62], 0x18
jae 0x414356
movzx eax, word [ebp - 0x62]
jmp 0x414359
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.00421b06
push dword [ebp]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push str.____Scanned___d___d_______d___d_
call fcn.00421b06
mov ecx, dword [ebp + 0x5c]
add esp, 0x30
cmp ecx, ebx
jne 0x4143a6
push 0x64
pop ecx
cmp dword [ebp - 0x78], 1
mov eax, str.Slow_Scan__Pixel_by_Pixel_
je 0x4143b6
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.00421b06
add esp, 0x10
cmp esi, 2
jl 0x41443f
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.00421b06
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.00421b06
add esp, 0x40
mov dword [0x47ae94], esi
push str.__r_n
call fcn.00421b06
pop ecx
mov eax, dword [ebp - 0x40]
jmp 0x414474
cmp dword [ebp - 0x30], ebx
je 0x414472
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.00448080
add ebp, 0x48
leave
ret 0x30