Function at 0x10001810
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a5a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], esp
push 1
push 1
push 0x1036
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call edi
push 0x20
push 0x20
push 0x1036
push esi
call edi
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x2c], ecx
push ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
push 0x101b
mov dword [ebp - 0x24], ecx
mov edi, 6
mov esi, 0xb4
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], 0x100103d4
mov dword [ebp - 0x60], esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x68]
push ecx
push ebx
mov dword [ebp - 0x60], esi
mov esi, dword [ebp + 8]
push 0x101b
push esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], 0x100103c8
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x68]
push edx
push ebx
push 0x101b
push esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], 0x100103bc
mov dword [ebp - 0x60], 0xa0
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x101b
push esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], 0x100103b4
mov dword [ebp - 0x60], 0x32
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], 0x100103ac
mov dword [ebp - 0x60], 0x3c
lea ecx, [ebp - 0x68]
push ecx
push ebx
push 0x101b
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x18]
push edx
push 0x1001034c
push 7
push ebx
push 0x1001039c
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x10001998
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x1000198b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x100102e0
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x1000199b
mov dword [ebp - 0x14], ebx
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.select__from_UserList
call fcn.10001330
cmp dword [0x10017114], ebx
mov byte [ebp - 4], 2
jne 0x100019c4
push 0x80004003
call fcn.10002ae0
mov ecx, dword [0x10017114]
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 1
call fcn.100016d0
mov eax, dword [eax]
mov esi, dword [ebp - 0x14]
cmp esi, eax
je 0x100019f7
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x100019ed
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
cmp esi, ebx
je 0x100019f7
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10001a04
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x10001a29
push 0x80004003
call fcn.10002ae0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov esi, eax
mov dword [ebp - 0x18], ebx
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x10001a48
push 0x10010300
push esi
push eax
call fcn.10002af0
cmp word [ebp - 0x18], bx
jne 0x100020e4
push str.Names
mov word [ebp - 0xd4], 8
call fcn.10002b60
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
jne 0x10001a7e
push 0x80004003
call fcn.10002ae0
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.100012b0
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x10001aad
push eax
call fcn.10002ae0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 4
call esi
cmp eax, ebx
jge 0x10001aca
push eax
call fcn.10002ae0
lea ecx, [ebp - 0xd4]
push ecx
mov byte [ebp - 4], 3
call esi
cmp eax, ebx
jge 0x10001ae1
push eax
call fcn.10002ae0
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x84]
call fcn.10001600
mov esi, dword [eax]
cmp esi, ebx
mov byte [ebp - 4], 6
je 0x10001b0f
cmp dword [esi + 4], ebx
jne 0x10001b0a
mov eax, dword [esi]
push eax
call fcn.10002cc0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x10001b11
xor esi, esi
push esi
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x84]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x10001b6d
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10001b67
cmp esi, ebx
je 0x10001b67
mov eax, dword [esi]
cmp eax, ebx
je 0x10001b4e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10001b5e
push eax
call fcn.10002ec1
add esp, 4
push esi
call fcn.10002ec1
add esp, 4
mov dword [ebp - 0x84], ebx
lea eax, [ebp - 0x44]
push eax
push ebx
push 0x1007
lea edx, [ebp - 0x114]
push edi
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10010378
mov word [ebp - 0x94], 8
call fcn.10002b60
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 7
jne 0x10001bc7
push 0x80004003
call fcn.10002ae0
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x134]
push edx
call fcn.100012b0
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 8
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x10001bf6
push eax
call fcn.10002ae0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x134]
push ecx
mov byte [ebp - 4], 7
call esi
cmp eax, ebx
jge 0x10001c13
push eax
call fcn.10002ae0
lea edx, [ebp - 0x94]
push edx
mov byte [ebp - 4], 3
call esi
cmp eax, ebx
jge 0x10001c2a
push eax
call fcn.10002ae0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x70]
call fcn.10001600
mov esi, dword [eax]
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x10001c55
cmp dword [esi + 4], ebx
jne 0x10001c50
mov ecx, dword [esi]
push ecx
call fcn.10002cc0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x10001c57
xor esi, esi
push esi
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x70]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x10001cad
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10001caa
cmp esi, ebx
je 0x10001caa
mov eax, dword [esi]
cmp eax, ebx
je 0x10001c91
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10001ca1
push eax
call fcn.10002ec1
add esp, 4
push esi
call fcn.10002ec1
add esp, 4
mov dword [ebp - 0x70], ebx
lea ecx, [ebp - 0x44]
push ecx
mov eax, 1
push ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
push 0x1006
lea eax, [ebp - 0x114]
push edi
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push str.Cards
mov word [ebp - 0xb4], 8
call fcn.10002b60
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xa
jne 0x10001d08
push 0x80004003
call fcn.10002ae0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0x124]
push eax
call fcn.100012b0
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x10001d37
push eax
call fcn.10002ae0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x124]
push edx
mov byte [ebp - 4], 0xa
call esi
cmp eax, ebx
jge 0x10001d54
push eax
call fcn.10002ae0
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 3
call esi
cmp eax, ebx
jge 0x10001d6b
push eax
call fcn.10002ae0
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.10001600
mov esi, dword [eax]
cmp esi, ebx
mov byte [ebp - 4], 0xc
je 0x10001d96
cmp dword [esi + 4], ebx
jne 0x10001d91
mov edx, dword [esi]
push edx
call fcn.10002cc0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x10001d98
xor esi, esi
push esi
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x10001dee
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10001deb
cmp esi, ebx
je 0x10001deb
mov eax, dword [esi]
cmp eax, ebx
je 0x10001dd2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10001de2
push eax
call fcn.10002ec1
add esp, 4
push esi
call fcn.10002ec1
add esp, 4
mov dword [ebp - 0x6c], ebx
lea edx, [ebp - 0x44]
push edx
push ebx
push 0x1006
lea ecx, [ebp - 0x114]
push edi
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push str.Addresss
mov word [ebp - 0xc4], 8
call fcn.10002b60
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xd
jne 0x10001e4c
push 0x80004003
call fcn.10002ae0
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.100012b0
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 0xe
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x10001e7b
push eax
call fcn.10002ae0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 0xd
call esi
cmp eax, ebx
jge 0x10001e98
push eax
call fcn.10002ae0
lea ecx, [ebp - 0xc4]
push ecx
mov byte [ebp - 4], 3
call esi
cmp eax, ebx
jge 0x10001eaf
push eax
call fcn.10002ae0
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x48]
call fcn.10001600
mov esi, dword [eax]
cmp esi, ebx
mov byte [ebp - 4], 0xf
je 0x10001eda
cmp dword [esi + 4], ebx
jne 0x10001ed5
mov eax, dword [esi]
push eax
call fcn.10002cc0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x10001edc
xor esi, esi
push esi
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x48]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x10001f32
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10001f2f
cmp esi, ebx
je 0x10001f2f
mov eax, dword [esi]
cmp eax, ebx
je 0x10001f16
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10001f26
push eax
call fcn.10002ec1
add esp, 4
push esi
call fcn.10002ec1
add esp, 4
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x44]
push eax
push ebx
push 0x1006
lea edx, [ebp - 0x114]
push edi
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1001035c
mov word [ebp - 0xa4], 8
call fcn.10002b60
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x10
jne 0x10001f90
push 0x80004003
call fcn.10002ae0
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x154]
push edx
call fcn.100012b0
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x11
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x10001fbf
push eax
call fcn.10002ae0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x154]
push ecx
mov byte [ebp - 4], 0x10
call esi
cmp eax, ebx
jge 0x10001fdc
push eax
call fcn.10002ae0
lea edx, [ebp - 0xa4]
push edx
mov byte [ebp - 4], 3
call esi
cmp eax, ebx
jge 0x10001ff3
push eax
call fcn.10002ae0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001600
mov esi, dword [eax]
cmp esi, ebx
mov byte [ebp - 4], 0x12
je 0x1000201e
cmp dword [esi + 4], ebx
jne 0x10002019
mov ecx, dword [esi]
push ecx
call fcn.10002cc0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x10002020
xor esi, esi
push esi
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x10002076
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10002073
cmp esi, ebx
je 0x10002073
mov eax, dword [esi]
cmp eax, ebx
je 0x1000205a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1000206a
push eax
call fcn.10002ec1
add esp, 4
push esi
call fcn.10002ec1
add esp, 4
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x44]
push ecx
push ebx
push 0x1006
lea eax, [ebp - 0x114]
push edi
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x100020bc
push 0x80004003
call fcn.10002ae0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x90]
cmp eax, ebx
jge 0x100020d7
push 0x10010300
push esi
push eax
call fcn.10002af0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001a15
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x100020f8
push 0x80004003
call fcn.10002ae0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
cmp eax, ebx
jge 0x10002113
push 0x10010300
push esi
push eax
call fcn.10002af0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x10002126
push 0x80004003
call fcn.10002ae0
jmp 0x1000212f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x10002147
push eax
call fcn.10002ae0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x10002157
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret