Function at 0x41c81f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41d003
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x148], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x88]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x228]
movzx eax, byte [eax]
test eax, eax
je 0x41ccc3
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x41ca26
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x41ca04
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 4
jge 0x41ca21
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x198]
call fcn.0042e2ef
and dword [eax], 0
jmp 0x41c9f9
jmp 0x41ccbe
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x138], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
cmp dword [eax], 0
jne 0x41cc27
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x41cb3d
push 0
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
cmp dword [eax], 0xfffffff6
je 0x41cb22
mov dword [ebp - 0x50], 1
jmp 0x41cb26
and dword [ebp - 0x50], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jl 0x41cb3d
and dword [ebp - 0x80], 0
jmp 0x41cb44
mov dword [ebp - 0x80], 1
push 0
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [eax]
jne 0x41cb5e
mov dword [ebp - 0x48], 1
jmp 0x41cb62
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x70]
mov dword [eax], ecx
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0
je 0x41cb9b
push 0
mov ecx, dword [ebp - 0x130]
call fcn.0042e2ef
cmp dword [eax], 0
je 0x41cb9b
mov eax, 0xa237
test eax, eax
je 0x41cb9b
mov dword [ebp - 0x3c], 1
jmp 0x41cb9f
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x7d2a
jl 0x41cbb4
mov dword [ebp - 0x90], 1
jmp 0x41cbbb
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x90], eax
jg 0x41cbd1
mov dword [ebp - 0x58], 1
jmp 0x41cbd5
and dword [ebp - 0x58], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jl 0x41cbef
mov dword [ebp - 0x34], 1
jmp 0x41cbf3
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
imul eax, dword [ebp - 0x34], 0xffffffff
test eax, eax
jne 0x41cc0d
xor eax, eax
jne 0x41cc0d
and dword [ebp - 0x78], 0
jmp 0x41cc14
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x78], eax
je 0x41cc27
and dword [ebp - 0x1c0], 0
jmp 0x41cc31
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x240], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x138]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
cmp esi, dword [eax]
jge 0x41cc70
mov dword [ebp - 0x2c], 1
jmp 0x41cc74
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.0042e2ef
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jge 0x41cca6
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
jne 0x41cca6
and dword [ebp - 0x88], 0
jmp 0x41ccb0
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
jmp 0x41cffe
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x170]
movzx eax, byte [eax]
test eax, eax
je 0x41cfc5
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x41ceda
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x41ce53
mov dword [ebp - 0x68], 1
jmp 0x41ce57
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x41ce79
mov dword [ebp - 0x44], 1
jmp 0x41ce7d
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
je 0x41ce95
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x41ce95
and dword [ebp - 0x4c], 0
jmp 0x41ce9c
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x4c]
cmp eax, 1
jne 0x41ceb6
mov dword [ebp - 0x124], 1
jmp 0x41cebd
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
sub eax, dword [ecx]
jne 0x41ceda
and dword [ebp - 0x54], 0
jmp 0x41cee1
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
add eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
jl 0x41cefe
mov dword [ebp - 0x5c], 1
jmp 0x41cf02
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 4
jne 0x41cf11
mov dword [ebp - 0x64], 1
jmp 0x41cf15
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jle 0x41cf28
mov dword [ebp - 0x6c], 1
jmp 0x41cf2c
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xfff7
jne 0x41cf3e
mov dword [ebp - 0x14], 1
jmp 0x41cf42
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x14]
test eax, eax
jne 0x41cf70
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x41cf70
and dword [ebp - 0x30], 0
jmp 0x41cf77
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x38]
cmp ecx, dword [eax]
jge 0x41cf97
mov dword [ebp - 0x7c], 1
jmp 0x41cf9b
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x7c], eax
jge 0x41cfb1
mov dword [ebp - 0x84], 1
jmp 0x41cfb8
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
jmp 0x41cffe
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
movzx eax, byte [eax]
test eax, eax
je 0x41cffe
push 0x17c1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41d207
lea eax, [ebp + 0x24]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
lea eax, [ebp + 0x84]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x14c]
movzx eax, byte [eax]
test eax, eax
je 0x41d1d1
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
movzx eax, byte [eax]
test eax, eax
je 0x41d188
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1dc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x41d14e
mov dword [ebp - 0x8c], 1
jmp 0x41d155
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
jle 0x41d171
mov dword [ebp - 0x94], 1
jmp 0x41d178
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
jmp 0x41d1cf
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x21c]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x41d207
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x22c], eax
push 1
push 0x4159
push 1
push dword [ebp - 0x22c]
push 0x2f82
push 0x7188
push 0
push 0x2bdc
push 1
call fcn.0040917d
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret