Function at 0x402400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x421004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00405d00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push 0
push eax
call fcn.00405d00
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 3
push 0xffffffffffffffff
push 0x100c
push 0x3e9
push dword [0x4225ec]
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
cmp eax, 0xffffffff
je 0x402726
lea ecx, [ebp - 0x218]
mov dword [ebp - 0xa5c], 0
mov dword [ebp - 0xa50], ecx
lea ecx, [ebp - 0xa64]
push ecx
push eax
push 0x102d
push 0x3e9
push dword [0x4225ec]
mov dword [ebp - 0xa4c], 0x104
call ebx
push eax
call esi
lea eax, [ebp - 0x110]
push eax
push 0x104
push 0xd
push 0x3f2
push dword [0x4225ec]
call ebx
push eax
call esi
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4024d4
sub ecx, edx
jne 0x4024f0
push 0x30
push str.Error
push str.You_havent_entered_a_library_path.
jmp 0x402732
lea eax, [ebp - 0x110]
push 0x41efd8
push eax
call fcn.004077d7
add esp, 8
test eax, eax
je 0x4026e5
push eax
call fcn.00407865
lea ecx, [ebp - 0x110]
add esp, 4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402520
sub ecx, edx
cmp ecx, 4
jb 0x4026d7
lea ebx, [ecx - 4]
cmp ebx, ecx
jae 0x402595
mov eax, str..dll
sub eax, ebx
mov dword [ebp - 0xa1c], eax
nop word [eax + eax]
movsx eax, byte [eax + ebx]
movsx edi, byte [ebp + ebx - 0x110]
push eax
call fcn.00407a70
add esp, 4
mov esi, eax
push edi
call fcn.00407a70
add esp, 4
inc ebx
cmp eax, esi
jne 0x4026d7
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402582
mov eax, dword [ebp - 0xa1c]
sub ecx, edx
cmp ebx, ecx
jb 0x402550
mov eax, dword [0x4225f0]
add eax, 0x10
mov dword [ebp - 0xa1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4225f0]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x402672
lea edi, [ebp - 0x218]
lea edx, [edi + 1]
nop dword [eax]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x4025d0
sub edi, edx
mov dword [ebp - 0xa24], edi
nop
mov ebx, dword [eax]
mov edx, ebx
mov dword [ebp - 0xa20], ebx
lea esi, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4025f0
sub edx, esi
cmp edx, edi
jne 0x4026c3
mov edx, ebx
xor esi, esi
lea edi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x402608
sub edx, edi
je 0x402653
lea ecx, [ebp - 0x218]
sub ebx, ecx
nop dword [eax + eax]
lea edx, [ebp - 0x218]
add edx, esi
mov cl, byte [ebx + edx]
cmp cl, byte [edx]
jne 0x4026bd
mov ecx, dword [ebp - 0xa20]
inc esi
lea edi, [ecx + 1]
nop dword [eax]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402640
sub ecx, edi
cmp esi, ecx
jb 0x402620
mov ebx, dword [ebp - 0xa20]
lea eax, [ebp - 0x110]
mov ecx, ebx
push eax
call fcn.004041c0
mov ecx, ebx
call fcn.00402760
mov dword [ebp - 0xa1c], 1
mov eax, dword [0x4225f0]
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x41ec08
push 0
push 0xc
push 0x3f2
push dword [0x4225ec]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0xa1c], 0
jne 0x40273e
push 0x30
push str.Error
push str.Oops__Selected_process_could_not_be_found._Please_report_this_bug_immediately_
jmp 0x402732
mov edi, dword [ebp - 0xa24]
mov ecx, dword [0x4225f0]
add eax, 4
cmp eax, dword [ecx + 8]
jne 0x4025e0
jmp 0x402672
push 0x30
push str.Error
push str.The_specified_file_is_not_a_Dynamic_Link_Library__.dll_
jmp 0x402732
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.00405d00
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xa18]
push str.File:__r_n_s_r_nDoes_not_exist__or_is_inaccessible.
push eax
call fcn.00401040
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0x30
push str.Error
push eax
jmp 0x402732
push 0x30
push str.Error
push str.You_havent_selected_a_process.
push dword [0x4225ec]
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00403b10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004047c0
mov esp, ebp
pop ebp
ret