Function at 0x4c9fcc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0x30], edx
mov esi, eax
lea ebx, [ebp - 0xbf]
xor eax, eax
push ebp
push 0x4cab4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 4
push esi
call sub.user32.dll_IsWindow
test eax, eax
je 0x4cab0e
xor edx, edx
push ebp
push 0x4cab04
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
jge 0x4ca0ba
mov eax, dword [0x4d4160]
mov eax, dword [eax]
call fcn.00478a3c
inc dword [ebp - 0x18]
push esi
call sub.user32.dll_SetForegroundWindow
mov eax, 0x32
call fcn.00480ac0
push 0
push 0
push 0
push 0x12
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x46
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x46
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x12
call sub.user32.dll_keybd_event
mov eax, 0x96
call fcn.00480ac0
push 0x4cab60
push 0x4cab6c
call sub.user32.dll_FindWindowA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ca0ba
cmp dword [ebp - 0x18], 5
jl 0x4ca03f
cmp dword [ebp - 0x18], 5
jne 0x4ca0d1
mov dword [ebp - 4], 1
call fcn.00404358
jmp 0x4cab0e
mov eax, 0x32
call fcn.00480ac0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0x3c]
add edx, 0x50
push edx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub edx, eax
sar edx, 1
jns 0x4ca0fe
adc edx, 0
add edx, eax
sub edx, 0x50
push edx
call sub.user32.dll_SetCursorPos
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
mov eax, 0x3e8
call fcn.00480ac0
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
jge 0x4ca378
mov eax, dword [0x4d4160]
mov eax, dword [eax]
call fcn.00478a3c
add dword [ebp - 0x18], 3
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x3c]
add eax, 0xb4
push eax
mov eax, dword [ebp - 0x40]
add eax, 0x64
push eax
call sub.user32.dll_SetCursorPos
mov edx, 3
mov ax, 1
call fcn.004c7714
mov eax, 0x32
call fcn.00480ac0
push 0
push 0
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x41
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x41
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_keybd_event
mov eax, 0x32
call fcn.00480ac0
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x22c]
xor edx, edx
call fcn.004425ac
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc4]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc4]
mov edx, 0x19
call fcn.004c8250
mov eax, 0x32
call fcn.00480ac0
push 0
push 0
push 0
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0xd
call sub.user32.dll_keybd_event
mov eax, 0x258
call fcn.00480ac0
lea eax, [ebp - 8]
mov edx, 8
call fcn.004c855c
test al, al
je 0x4ca27c
mov dword [ebp - 4], 2
call fcn.00404358
jmp 0x4cab0e
xor esi, esi
mov eax, dword [0x4d4160]
mov eax, dword [eax]
call fcn.00478a3c
inc esi
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
sub edx, eax
sar edx, 1
jns 0x4ca2bc
adc edx, 0
add edx, eax
add edx, 0x28
push edx
mov eax, dword [ebp - 0x38]
sub eax, 0x32
push eax
call sub.user32.dll_SetCursorPos
mov edx, 3
mov ax, 1
call fcn.004c7714
mov eax, 0x320
call fcn.00480ac0
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x14], eax
push 0x7f
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0xc8]
mov edx, ebx
mov ecx, 0x7f
call fcn.004049e4
mov edx, dword [ebp - 0xc8]
mov eax, 0x4cab84
call fcn.00404f14
test eax, eax
jle 0x4ca340
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SendMessageA
mov dword [ebp - 4], 2
call fcn.00404358
jmp 0x4cab0e
push 0x4cab8c
push 0x4cab6c
call sub.user32.dll_FindWindowA
mov dword [ebp - 0x14], eax
mov eax, 5
sub eax, dword [ebp - 0x18]
cmp esi, eax
jg 0x4ca368
cmp dword [ebp - 0x14], 0
je 0x4ca27e
cmp dword [ebp - 0x14], 0
jne 0x4ca378
cmp dword [ebp - 0x18], 5
jl 0x4ca155
cmp dword [ebp - 0x18], 5
jl 0x4ca395
cmp dword [ebp - 0x14], 0
jne 0x4ca395
mov dword [ebp - 4], 2
call fcn.00404358
jmp 0x4cab0e
lea edx, [ebp - 0xcc]
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
mov eax, dword [eax + 0x354]
call fcn.00458c6c
mov eax, dword [ebp - 0xcc]
call fcn.004093bc
dec eax
jle 0x4ca8bd
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x19], 0
mov eax, dword [0x4d4160]
mov eax, dword [eax]
call fcn.00478a3c
mov eax, 0x64
call fcn.00480ac0
inc dword [ebp - 0x18]
push 0x4cab94
push 0x4cab6c
call sub.user32.dll_FindWindowA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ca438
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e8]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4ca438
mov dword [ebp - 4], 4
call fcn.00404358
jmp 0x4cab0e
cmp dword [ebp - 8], 0
je 0x4ca89d
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
mov eax, dword [eax + 0x3f0]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4ca89d
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowPos
mov eax, 0x32
call fcn.00480ac0
xor eax, eax
push ebp
push 0x4ca868
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x425c74]
call fcn.0042c204
mov dword [ebp - 0x20], eax
mov edx, 0x78
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x32
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0xcc0020
push 0x82
push 0xf
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetDC
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0042c7cc
call fcn.00427cd8
push eax
call sub.gdi32.dll_BitBlt
mov dl, 1
mov eax, dword [0x4aa00c]
call fcn.004aa2c0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, 1
mov eax, dword [0x4188f0]
call fcn.00403ab0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x58]
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.0041d190
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
mov eax, ebx
call fcn.0040279c
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov ecx, ebx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x30]
call fcn.004048f4
xor eax, eax
push ebp
push 0x4ca5ac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4caba0
push ebx
mov eax, dword [ebp - 0x2c]
push eax
push 0x4caba4
mov eax, dword [0x4d4438]
mov eax, dword [eax]
call fcn.00404dd0
push eax
mov eax, dword [0x4d4004]
mov eax, dword [eax]
call fcn.00404dd0
push eax
call sub.TMdll.dll_uploadQuestionAsstream
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00404aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ca5c0
mov eax, dword [ebp - 0x2c]
call fcn.004027bc
lea eax, [ebp - 0x20]
call fcn.0040ea24
lea eax, [ebp - 0x24]
call fcn.0040ea24
lea eax, [ebp - 0x28]
call fcn.0040ea24
mov eax, dword [ebp - 0x30]
call fcn.00404bd0
cmp eax, 0xa
jle 0x4ca7fb
mov eax, dword [ebp - 0x30]
call fcn.00404dd0
push eax
push 0x4caba4
mov eax, dword [0x4d4438]
mov eax, dword [eax]
call fcn.00404dd0
push eax
mov eax, dword [0x4d4004]
mov eax, dword [eax]
call fcn.00404dd0
push eax
call sub.TMdll.dll_downloadAnswer2
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00404aec
mov eax, dword [ebp - 0x30]
mov edx, 0x4cabd8
call fcn.00404d1c
je 0x4ca650
cmp dword [ebp - 0x30], 0
je 0x4ca650
mov eax, dword [ebp - 0x30]
mov edx, 0x4cabe8
call fcn.00404d1c
jne 0x4ca6d4
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4ca6c7
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 0
push 7
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x32
call fcn.00480ac0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x3c]
add eax, 0x9b
push eax
mov eax, dword [ebp - 0x40]
add eax, 0xaf
push eax
call sub.user32.dll_SetCursorPos
mov edx, 3
mov ax, 1
call fcn.004c7714
mov eax, 0x7d0
call fcn.00480ac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ca89d
call fcn.00436904
mov edx, dword [ebp - 0x30]
call fcn.004365a4
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 0
push 7
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x32
call fcn.00480ac0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x3c]
add eax, 0x78
push eax
mov eax, dword [ebp - 0x40]
add eax, 0x14
push eax
call sub.user32.dll_SetCursorPos
mov edx, 3
mov ax, 1
call fcn.004c7714
push 0
push 0
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x41
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x41
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0x302
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x32
call fcn.00480ac0
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 0
push 7
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x32
call fcn.00480ac0
push 0
push 0
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_keybd_event
mov eax, 0x1f4
call fcn.00480ac0
jmp 0x4ca85e
mov eax, dword [ebp - 0x30]
mov edx, 0x4cabf8
call fcn.00404d1c
jne 0x4ca851
push 0
mov ecx, 0x4cac00
mov edx, 0x4cac08
mov eax, dword [0x4d4160]
mov eax, dword [eax]
call fcn.00478d78
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
xor edx, edx
call fcn.004cd248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404358
jmp 0x4cab0e
push 0
push 0
push 0x10
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4ca842
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ca872
mov byte [ebp - 0x19], 1
push 0x4cac00
push 0x4cab6c
call sub.user32.dll_FindWindowA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ca89d
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_SendMessageA
cmp dword [ebp - 0x18], 0xf
jl 0x4ca8a9
cmp byte [ebp - 0x19], 0
je 0x4ca8bd
cmp byte [ebp - 0x19], 0
je 0x4ca3dd
cmp dword [ebp - 8], 0
jne 0x4ca3dd
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x220]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4ca925
call fcn.00402b70
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ebx, dword [eax + 0x220]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004031c0
mov edx, eax
lea ecx, [ebp - 0xd0]
mov eax, dword [0x4d3d80]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xd0]
push eax
call fcn.00436904
pop edx
call fcn.004365a4
jmp 0x4ca955
lea edx, [ebp - 0xd4]
mov eax, dword [0x4d3d80]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00436904
pop edx
call fcn.004365a4
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 0
push 7
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x32
call fcn.00480ac0
push 0
push 0
push 0x302
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x12c
call fcn.00480ac0
push 0
push 0
push 7
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_keybd_event
mov eax, 0x320
call fcn.00480ac0
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x32
call fcn.00480ac0
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cab0e
push 0
push 0
push 0x10
push 0x4cab8c
push 0x4cab6c
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x10
push 0x4cab94
push 0x4cab6c
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
mov edx, 7
call fcn.004c855c
test al, al
je 0x4caa6d
xor ecx, ecx
mov edx, 0x64
mov eax, dword [ebp - 8]
call fcn.004c8510
lea eax, [ebp - 8]
mov edx, 8
call fcn.004c855c
test al, al
je 0x4caa8d
xor ecx, ecx
mov edx, 0x64
mov eax, dword [ebp - 8]
call fcn.004c8510
lea eax, [ebp - 8]
mov edx, 9
call fcn.004c855c
test al, al
je 0x4caaad
xor ecx, ecx
mov edx, 0x64
mov eax, dword [ebp - 8]
call fcn.004c8510
lea eax, [ebp - 8]
mov edx, 0xa
call fcn.004c855c
test al, al
je 0x4caacd
xor ecx, ecx
mov edx, 0x64
mov eax, dword [ebp - 8]
call fcn.004c8510
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.004c855c
test al, al
je 0x4caaf4
xor ecx, ecx
mov edx, 0x12c
mov eax, dword [ebp - 0x10]
call fcn.004c8510
mov dword [ebp - 4], 4
push 0
push 0
push 0x10
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SendMessageA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cab56
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.00404918
lea eax, [ebp - 0xcc]
call fcn.004048f4
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.00404918
lea eax, [ebp - 0x30]
call fcn.004048f4
ret