Function at 0x403aa0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x28c
mov al, 0x8f
mov dl, 0xd7
mov byte [esp + 4], al
mov byte [esp + 9], al
mov al, 0xca
push ebx
mov byte [esp + 0x39], al
mov byte [esp + 0x40], al
mov al, 0xcd
mov byte [esp + 0x41], dl
mov byte [esp + 0x42], al
mov byte [esp + 0x48], dl
mov byte [esp + 0x4b], al
xor ebx, ebx
mov cl, 0x90
mov al, 0x96
mov dl, 0x8c
push esi
push edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0xc], 0xb6
mov byte [esp + 0xd], 0xbb
mov byte [esp + 0xe], 0xa7
mov byte [esp + 0xf], 0x94
mov byte [esp + 0x11], 0xa1
mov byte [esp + 0x12], 0x8b
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], 0x84
mov byte [esp + 0x16], 0x89
mov byte [esp + 0x17], 0x9d
mov byte [esp + 0x18], 0x87
mov byte [esp + 0x19], 0x80
mov byte [esp + 0x1a], 0x82
mov byte [esp + 0x1b], bl
mov byte [esp + 0x3c], 0xc2
mov byte [esp + 0x3d], 0xb4
mov byte [esp + 0x3e], 0xc6
mov byte [esp + 0x3f], 0xcc
mov byte [esp + 0x40], 0xc0
mov byte [esp + 0x42], 0xb7
mov byte [esp + 0x43], 0xc5
mov byte [esp + 0x44], 0xd2
mov byte [esp + 0x45], 0xce
mov byte [esp + 0x46], 0xbe
mov byte [esp + 0x47], 0xc4
mov byte [esp + 0x4b], 0xce
mov byte [esp + 0x4c], 0xa3
mov byte [esp + 0x4d], 0xdf
mov byte [esp + 0x4e], 0xc8
mov byte [esp + 0x4f], 0xa5
mov byte [esp + 0x51], 0xa1
mov byte [esp + 0x52], 0xd1
mov byte [esp + 0x54], 0xd9
mov byte [esp + 0x55], 0xab
mov byte [esp + 0x56], 0xac
mov byte [esp + 0x57], 0xde
mov byte [esp + 0x58], 0xd3
mov byte [esp + 0x59], 0xa9
mov byte [esp + 0x5a], 0xa8
mov byte [esp + 0x5b], 0xdb
mov byte [esp + 0x5c], 0x92
mov byte [esp + 0x5d], 0xef
mov byte [esp + 0x5e], 0xe1
mov byte [esp + 0x5f], 0xe6
mov byte [esp + 0x60], bl
mov byte [esp + 0x1c], 0x80
mov byte [esp + 0x1d], 0x81
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0x8a
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x9c
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0x98
mov byte [esp + 0x24], 0x9e
mov byte [esp + 0x25], 0x9d
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x94
mov byte [esp + 0x28], 0x99
mov byte [esp + 0x29], 0xa3
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2b], al
mov byte [esp + 0x33], al
mov al, 0x8d
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], cl
mov byte [esp + 0x35], al
mov byte [esp + 0x36], al
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x2c], 0x8e
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xc]
push ecx
push eax
mov byte [esp + 0x35], 0x92
mov byte [esp + 0x36], 0x97
mov byte [esp + 0x37], 0x81
mov byte [esp + 0x3a], 0xb8
mov byte [esp + 0x3c], 0x9b
mov byte [esp + 0x3f], 0x83
mov byte [esp + 0x40], 0x95
mov byte [esp + 0x41], 0xb3
mov byte [esp + 0x42], bl
call fcn.00406530
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x48]
push ecx
call fcn.00406530
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00406530
add esp, 0x18
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 0x194]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x194]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x403df4
lea eax, [esp + 0x3c]
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
mov dword [0x45c5fc], eax
je 0x403df4
lea ecx, [esp + 0x64]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ecx
push esi
mov dword [0x45c5f8], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
call ebp
mov eax, dword [0x45c5fc]
cmp eax, ebx
je 0x403dca
lea edx, [esp + 0x6c]
push edx
push eax
call ebp
mov ecx, dword [0x45c5fc]
lea eax, [esp + 0x94]
push 0x104
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x98]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x28]
dec ecx
push edx
lea eax, [esp + 0xa0]
push ecx
push eax
call fcn.004061a0
add esp, 0x14
cmp eax, 0xffffffff
je 0x403d98
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x74]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x94]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x403d8e
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
cmp ecx, eax
je 0x403dc6
mov eax, dword [0x45c5fc]
lea edx, [esp + 0x40]
push ebx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
cmp eax, ebx
mov dword [0x45c5fc], eax
jne 0x403d17
jmp 0x403dca
mov dword [esp + 0x70], esi
mov edx, dword [esp + 0x2a0]
lea ecx, [esp + 0x74]
lea eax, [esp + 0x74]
sub edx, ecx
pop ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x403ddc
mov eax, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
add esp, 0x28c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28c
ret