Function at 0x44e9e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3d4
push ebx
mov ebx, dword [esp + 0x3dc]
push ebp
push esi
push edi
mov ebp, ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x44ea10
push 0x64
lea ecx, [esp + 0x11c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44ea1a
xor eax, eax
mov word [esp + 0x118], ax
mov esi, dword [0x521720]
xor eax, eax
mov word [esp + 0x18], ax
test esi, esi
je 0x44eaef
nop
cmp byte [esi + 0x11], 0
je 0x44ea92
mov eax, dword [0x52318c]
mov edx, dword [esi]
test al, 1
jne 0x44ea57
push 0
or eax, 1
mov ecx, 0x523190
push 0
mov dword [0x52318c], eax
call fcn.0042c320
mov eax, dword [0x5212b8]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x44ea69
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x44ea7d
cmp ecx, dword [0x523190]
jne 0x44ea78
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x44ea7d
mov eax, 0x50e0ac
push eax
push 0x50efc0
lea eax, [esp + 0x20]
push 0x7d
push eax
call fcn.004af790
add esp, 0x10
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x44ea30
cmp word [esp + 0x18], si
je 0x44eaef
lea ecx, [esp + 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44eaa7
sub ecx, edx
sar ecx, 1
cmp ecx, 0x7b
jbe 0x44eae0
mov esi, 0x7f
lea edi, [esp + 0x18]
sub esi, ecx
lea edi, [edi + ecx*2]
push esi
push 0x5089c0
push edi
call fcn.004d95fc
add esp, 0xc
xor eax, eax
mov word [edi + esi*2], ax
jmp 0x44eaef
cmp word [esp + ecx*2 + 0x16], 0x20
jne 0x44eaef
xor eax, eax
mov word [esp + ecx*2 + 0x16], ax
mov cl, 1
call fcn.0041da40
lea edx, [esp + 0x1e0]
mov cl, al
call fcn.0041dde0
mov ecx, dword [0x51e99c]
mov edi, eax
mov esi, dword [0x51eac0]
cmp byte [ecx + 0xf8], 0
je 0x44eb2b
cmp byte [0x521761], 0
jne 0x44eb2b
mov ecx, 1
jmp 0x44eb2d
xor ecx, ecx
mov eax, dword [0x51eaac]
mov edx, 0x506118
sub eax, ecx
mov dword [esp + 0x14], 0x506110
cmp dword [0x51eaf4], 0
mov ecx, edx
push edi
push dword [0x51eadc]
cmovne ecx, dword [esp + 0x1c]
mov edi, 0x4f03e8
cmp dword [0x51eaf8], 0
push esi
cmovne edx, dword [esp + 0x20]
cmp esi, 1
push eax
mov eax, str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmovle eax, edi
xor edi, edi
push eax
cmp esi, 1
lea eax, [esi - 1]
cmovle eax, edi
push eax
lea eax, [esp + 0x30]
push eax
push dword [0x521728]
lea eax, [esp + 0x138]
push dword [0x52172c]
push ecx
push edx
push eax
push str.Window:__s_r_nKeybd_hook:__s_r_nMouse_hook:__s_r_nEnabled_Timers:__u_of__u___s__r_nInterrupted_threads:__d_s_r_nPaused_threads:__d_of__d___d_layers__r_nModifiers__GetKeyState___now____s_r_n
push 0xfffe
push ebx
call fcn.004af740
add eax, eax
mov edi, 0xfffe
add ebx, eax
add esp, 0x3c
sar eax, 1
mov edx, edi
sub edx, eax
mov ecx, ebx
call fcn.00413dd0
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ebd0
sub ecx, edx
mov eax, str._r_nPress__F5__to_refresh.
sar ecx, 1
cmp dword [0x51eaf0], 0
lea esi, [ebx + ecx*2]
mov ecx, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
cmove eax, ecx
push eax
mov eax, esi
sub eax, ebp
sar eax, 1
sub edi, eax
push edi
push esi
call fcn.004af740
add esp, 0xc
lea eax, [esi + eax*2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3d4
ret 8