Function at 0x10008c50
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a12ce
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100d0320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
call fcn.100046f0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
push 0x100aa4cc
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
push ecx
push 0x100aa4cc
lea ecx, [ebp - 0x3c]
call fcn.10002440
mov dword [ebp - 4], 2
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0x118], 0
mov byte [ebp - 0x115], 0
mov byte [ebp - 0x116], 0
mov byte [ebp - 0x117], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x1e8], 0xffffffff
mov dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x1f0], 0xffffffff
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x1f8], 0
push 0x3c
push 0
lea edx, [ebp - 0xb0]
push edx
call fcn.10051de0
add esp, 0xc
push 1
push str.FindImage_enter
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowInfo]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x1dc], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x1e0], eax
push 8
call fcn.1004d06b
add esp, 4
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x10008edd
xor edx, edx
mov eax, dword [ebp - 0x11c]
mov dword [eax], edx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x130], ecx
jmp 0x10008ee7
mov dword [ebp - 0x130], 0
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xe8]
mov dword [eax], 0
mov ecx, dword [ebp - 0xe8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x104], 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0xec], eax
cvtss2sd xmm0, dword [0x100d1e14]
comisd xmm0, xmmword [0x100b1060]
jbe 0x10008f53
cvtsi2ss xmm0, dword [ebp - 0xec]
mulss xmm0, dword [0x100d1e14]
cvttss2si edx, xmm0
mov dword [ebp - 0x104], edx
cvtss2sd xmm0, dword [0x100d1e10]
comisd xmm0, xmmword [0x100b1060]
jbe 0x10008f7f
cvtsi2ss xmm0, dword [ebp - 0xec]
mulss xmm0, dword [0x100d1e10]
cvttss2si eax, xmm0
mov dword [ebp - 0xec], eax
cmp dword [ebp + 8], 0
jne 0x10008f99
push 1
push str.FindImage_hdcWindow__GetDC_GetDesktopWindow______hWnd_is_null
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x10008fcb
push 1
push str.FindImage_hdcWindow__GetDC_GetDesktopWindow______has_failed
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x10009000
push 1
push str.FindImage_CreateCompatibleDC_has_failed
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x154], ecx
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xd0], eax
push str.FindImage__CreateCompatibleBitmap
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x1e4]
push edx
push str.FindImage__CreateCompatibleBitmap
mov ecx, 0x100d1fd0
call fcn.10020ea0
push 1
mov ecx, 0x100d1fd0
call fcn.10021060
push eax
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
cmp dword [ebp - 0xd0], 0
jne 0x100090a9
push 1
push str.FindImage_CreateCompatibleBitmap_Failed
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x200], 0
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x100], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x114], 8
mov ecx, dword [0x100d1df4]
sub ecx, dword [0x100d1dcc]
mov dword [ebp - 0xdc], ecx
jns 0x10009145
mov dword [ebp - 0xdc], 0
mov edx, dword [0x100d1df4]
add edx, dword [0x100d1dd0]
mov dword [ebp - 0x100], edx
push str.FindImage__start_X_
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
push eax
push str.FindImage__start_X_
mov ecx, 0x100d1fd0
call fcn.10020ea0
push 0xa
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call fcn.1005e025
add esp, 0xc
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
push eax
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x158]
push edx
mov ecx, 0x100d1fd0
call fcn.10020d40
push str.__start_Y_
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
push eax
push str.__start_Y_
mov ecx, 0x100d1fd0
call fcn.10020d40
push 0xa
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.1005e025
add esp, 0xc
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
push eax
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
mov ecx, 0x100d1fd0
call fcn.10020d40
push str.__end_Y_
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
push eax
push str.__end_Y_
mov ecx, 0x100d1fd0
call fcn.10020d40
push 0xa
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x100]
push edx
call fcn.1005e025
add esp, 0xc
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
push eax
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov ecx, 0x100d1fd0
call fcn.10020d40
push 1
mov ecx, 0x100d1fd0
call fcn.10021060
push eax
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
cmp dword [ebp - 0xb4], 0
jle 0x10009a0e
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x17c]
jg 0x10009a0e
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xb4], 0
jle 0x100099f1
mov edx, dword [ebp - 0xc4]
cmp edx, dword [ebp - 0x100]
jg 0x100099f1
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x124], ecx
push 0xcc0020
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x184]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xfc]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x1000937c
push 1
push str.FindImage__BitBlt_failed_.
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
lea edx, [ebp - 0x228]
push edx
push 0x18
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x100093af
push 1
push str.FindImage__GetObject_failed__.
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
mov dword [ebp - 0x64], 0x28
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x5c], edx
mov eax, 1
mov word [ebp - 0x58], ax
mov ecx, 0x20
mov word [ebp - 0x56], cx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
movzx edx, word [ebp - 0x56]
mov eax, edx
imul eax, dword [ebp - 0x224]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
imul eax, dword [ebp - 0x220]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0xe4], 0
je 0x100094a6
cmp dword [ebp - 0xcc], 0
jne 0x100094a6
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x1000948b
push 1
push str.FindImage__char__HeapAlloc_hHeap__dwFlags__dwBytes___success
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x100094a4
push 1
push str.FindImage__char__HeapAlloc_hHeap__dwFlags__dwBytes___failed.
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
jmp 0x100094c8
cmp dword [ebp - 0xe4], 0
jne 0x100094c8
push 1
push str.FindImage_hHeap__GetProcessHeap____failed.
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x1000951a
push 1
push str.FindImage__GetDIBits_failed.
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
jmp 0x10009b73
mov eax, dword [ebp - 0xd4]
add eax, 0x36
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x6a], 0x36
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x72], ecx
mov edx, 0x4d42
mov word [ebp - 0x74], dx
cmp dword [ebp - 0xb8], 0
jne 0x1000956c
mov eax, dword [ebp - 0xd4]
push eax
call fcn.1004d0a9
add esp, 4
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.100512e0
add esp, 0xc
mov dword [ebp - 0x108], 0
movzx edx, byte [0x100d1dab]
cmp edx, 1
jne 0x100097f5
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x104]
jl 0x100097f5
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [ebp - 0xec]
jg 0x100097f5
push str..FindImage
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
push edx
push str..FindImage
lea ecx, [ebp - 0x3c]
call fcn.10020ea0
push 0x100aa984
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
push eax
push 0x100aa984
lea ecx, [ebp - 0x3c]
call fcn.10020d40
push 0xa
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1005e0f5
add esp, 0xc
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
push edx
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.10020d40
push 0x100aa984
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
push edx
push 0x100aa984
lea ecx, [ebp - 0x3c]
call fcn.10020d40
push 0xa
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.1005e025
add esp, 0xc
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
push edx
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.10020d40
push 0x100aa984
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
push edx
push 0x100aa984
lea ecx, [ebp - 0x3c]
call fcn.10020d40
push 0xa
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.1005e025
add esp, 0xc
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
push edx
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.10020d40
push str..bmp
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x1b0]
push edx
push str..bmp
lea ecx, [ebp - 0x3c]
call fcn.10020d40
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x3c]
call fcn.10021060
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xffffffff
je 0x100097f5
push 0
lea eax, [ebp - 0x108]
push eax
push 0xe
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x108]
push eax
push 0x28
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
cmp dword [ebp - 0xb8], 0
je 0x100099d4
cmp dword [ebp + 0xc], 0
je 0x100099d4
mov edx, dword [ebp - 0xc0]
add edx, 3
cmp edx, dword [ebp - 0xd4]
jae 0x100099d4
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xc0]
movzx ecx, byte [eax]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xb8]
add edx, dword [ebp - 0xc0]
movzx eax, byte [edx + 1]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xb8]
add ecx, dword [ebp - 0xc0]
movzx edx, byte [ecx + 2]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xc0]
movzx ecx, byte [eax + 3]
mov dword [ebp - 0x1b4], ecx
cmp dword [ebp - 0xf0], 0
jne 0x100098c5
cmp dword [ebp - 0xf4], 0
jne 0x100098c5
cmp dword [ebp - 0xf8], 0
je 0x100098d4
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0xf0], 0
jne 0x100098fe
cmp dword [ebp - 0xf4], 0
jne 0x100098fe
cmp dword [ebp - 0xf8], 0
jne 0x100098fe
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xd8]
movzx edx, byte [ecx]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xd8]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd8]
movzx eax, byte [edx + 2]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0xf0]
sub ecx, dword [ebp - 0x13c]
push ecx
call fcn.1005be40
add esp, 4
cmp eax, dword [ebp + 0x1c]
jle 0x1000995f
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0x140]
push eax
call fcn.1005be40
add esp, 4
cmp eax, dword [ebp + 0x1c]
jle 0x10009988
mov ecx, dword [ebp - 0xb4]
add ecx, 1
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xf8]
sub edx, dword [ebp - 0x144]
push edx
call fcn.1005be40
add esp, 4
cmp eax, dword [ebp + 0x1c]
jle 0x100099b1
mov eax, dword [ebp - 0xb4]
add eax, 1
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xc0]
add ecx, 4
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xd8]
add edx, 4
mov dword [ebp - 0xd8], edx
jmp 0x1000983e
cmp dword [ebp - 0xb4], 0
jle 0x100099ec
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc4], eax
jmp 0x100092ef
cmp dword [ebp - 0xb4], 0
jle 0x10009a09
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xbc], ecx
jmp 0x100092c4
cmp dword [ebp - 0xb4], 0
jne 0x10009b5f
push str.FindImage_found_an_image_match
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1b8]
push edx
push str.FindImage_found_an_image_match
mov ecx, 0x100d1fd0
call fcn.10020ea0
push str._Monitor_x_is
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
push eax
push str._Monitor_x_is
mov ecx, 0x100d1fd0
call fcn.10020d40
push 0xa
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call fcn.1005e025
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
push eax
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x160]
push edx
mov ecx, 0x100d1fd0
call fcn.10020d40
push str._Monitor_y_is
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
push eax
push str._Monitor_y_is
mov ecx, 0x100d1fd0
call fcn.10020d40
push 0xa
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.1005e025
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
push eax
call fcn.1005bd80
add esp, 4
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
mov ecx, 0x100d1fd0
call fcn.10020d40
push 1
mov ecx, 0x100d1fd0
call fcn.10021060
push eax
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xc4]
mov dword [edx + 4], eax
jmp 0x10009b73
push 1
push str.FindImage_did_not_find_an_image_match.
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
push 1
push str.FindImage_done_with_loop__start_clean_up.
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
cmp dword [ebp - 0xd0], 0
je 0x10009bb1
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push str.FindImage_DeleteObject_hbmScreen__
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
cmp dword [ebp - 0xc8], 0
je 0x10009bcb
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0xb8], 0
je 0x10009c03
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1cc]
push edx
call fcn.1004d0b2
add esp, 4
push 1
push str.FindImage_delete_lpPixels_
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
cmp dword [ebp - 0xcc], 0
je 0x10009c3b
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
push str.FindImage__HeapFree_hHeap__dwFlags__lpbitmap___
push str.CaresScreenPop
call fcn.1001e610
add esp, 0xc
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10020a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x204], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d440
mov esp, ebp
pop ebp
ret