Function at 0x41cd24
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x41cecb
lea eax, [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xe8]
movzx eax, byte [eax]
test eax, eax
je 0x41cda7
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0xa8]
push 0x256a
push 1
push 0x28f4
call fcn.0041d2b1
add esp, 0x10
jmp 0x41cec6
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax]
test eax, eax
je 0x41ce22
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x41ce1d
push 0x1c2a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41cec6
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x41cea0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x41ce6d
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x41ce6d
mov dword [ebp - 0x74], 1
jmp 0x41ce71
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x74]
jle 0x41ce84
mov dword [ebp - 0x40], 1
jmp 0x41ce88
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 2
jg 0x41ce97
mov dword [ebp - 0x3c], 1
jmp 0x41ce9b
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
je 0x41ceba
mov dword [ebp - 0x68], 1
jmp 0x41cebe
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
jmp 0x41d2ad
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x41cf0c
push 1
push 0x1cd9
push 0x6a2a
call fcn.004126a1
add esp, 0xc
jmp 0x41d2ad
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x41d26d
mov dword [ebp - 8], 0xd568d526
mov dword [ebp - 0x10], 0x61b583dc
mov dword [ebp - 4], 0xacb8f2ba
mov dword [ebp - 0x30], 0xbc1c
mov dword [ebp - 0x9c], 0x8ab79ae4
mov dword [ebp - 0x98], 0x8ab79ae4
mov dword [ebp - 0x94], 0x8ab79ae4
mov dword [ebp - 0x90], 0x8ab79ae4
mov dword [ebp - 0x24], 0xb15d3e99
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x28], 0xdd711a53
mov dword [ebp - 0x7c], 0x3046aa1d
mov dword [ebp - 0xfc], 0xfffffff8
mov dword [ebp - 0x10c], 0x6fc33146
mov dword [ebp - 0x108], 0xd0ee3b00
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0xc4], 0xd8167e60
mov dword [ebp - 0x18], 0
jmp 0x41cfdb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x41cff1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
jmp 0x41cfd4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41d024
mov eax, dword [ebp - 8]
mov dword [ebp - 0x104], eax
mov eax, 0xfffa
test eax, eax
jne 0x41d024
cmp dword [ebp - 4], 0
jne 0x41d024
and dword [ebp - 0x48], 0
jmp 0x41d02b
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x48], 0x7c28cae2
je 0x41d040
mov dword [ebp - 0x88], 1
jmp 0x41d047
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x88], eax
jl 0x41d05b
mov dword [ebp - 0x20], 1
jmp 0x41d05f
and dword [ebp - 0x20], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax - 0x9c], ecx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
imul eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41d08d
cmp dword [ebp - 4], 0
jne 0x41d08d
and dword [ebp - 0x50], 0
jmp 0x41d094
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x50]
sub eax, 0x2a04f777
jne 0x41d0aa
cmp dword [ebp - 8], 0
jne 0x41d0aa
and dword [ebp - 0x70], 0
jmp 0x41d0b1
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x70]
jge 0x41d0c8
cmp dword [ebp - 4], 0
je 0x41d0c8
mov dword [ebp - 0x58], 1
jmp 0x41d0cc
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x58], eax
jg 0x41d0dd
mov dword [ebp - 0x80], 1
jmp 0x41d0e1
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0x7d64
jl 0x41d0f3
mov dword [ebp - 0x60], 1
jmp 0x41d0f7
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x9c], 1
jle 0x41d129
mov dword [ebp - 0x5c], 1
jmp 0x41d12d
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 3
cmp eax, dword [ebp + ecx - 0x9c]
jg 0x41d14b
mov dword [ebp - 0x78], 1
jmp 0x41d14f
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0x3135
jg 0x41d161
mov dword [ebp - 0x38], 1
jmp 0x41d165
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x38], eax
jne 0x41d176
mov dword [ebp - 0x44], 1
jmp 0x41d17a
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x8c]
jne 0x41d1b6
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x9c], 0
jne 0x41d1b6
cmp dword [ebp - 0xc4], 0
jne 0x41d1b6
and dword [ebp - 0x54], 0
jmp 0x41d1bd
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
lea eax, [ecx + eax - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1c], eax
jge 0x41d1db
mov dword [ebp - 0x64], 1
jmp 0x41d1df
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x64]
je 0x41d1f0
mov dword [ebp - 0x6c], 1
jmp 0x41d1f4
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x28], 3
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x6c]
jge 0x41d215
mov eax, 0xffff
test eax, eax
je 0x41d215
mov dword [ebp - 0x34], 1
jmp 0x41d219
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
push 4
pop eax
shl eax, 1
imul ecx, dword [ebp - 0x7c], 0xfff8
mov edx, dword [ebp - 0x30]
add edx, ecx
sub edx, dword [ebp + eax - 0x9c]
jne 0x41d24e
mov eax, 0x516e
test eax, eax
jne 0x41d24e
and dword [ebp - 0x84], 0
jmp 0x41d258
mov dword [ebp - 0x84], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax - 0x8c], ecx
jmp 0x41d2ad
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x41d2ad
push 0x7421
push 0
push 0x68ca
push 0x7d5f
push 1
call fcn.0040c039
add esp, 0x14
mov esp, ebp
pop ebp
ret