Function at 0x4860d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5383f1
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
lea edi, [esi + 0x114]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 4]
xor ecx, ecx
mov word [ebp - 0x54], cx
test eax, eax
je 0x48634b
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x21
lea edx, [ebp - 0x54]
push edx
push eax
call ebx
test eax, eax
jg 0x486146
mov eax, dword [edi]
mov esi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + edi], eax
jmp 0x48634b
mov eax, dword [esi + 0x13c]
xor ecx, ecx
mov word [ebp - 0x98], cx
test eax, eax
je 0x48617f
push 0x21
lea edx, [ebp - 0x98]
push edx
push eax
call ebx
test eax, eax
jg 0x48617f
mov eax, dword [esi + 0x138]
mov ebx, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0x138], eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4862dc
xor edi, edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], edi
lea eax, [ebp - 0x54]
push eax
mov ebx, 1
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], bl
call fcn.005080c0
sub esp, 0xc
lea edx, [ebp - 0xb4]
mov ecx, esp
mov dword [ebp - 0x9c], esp
push edx
call fcn.005072e0
lea eax, [ebp - 0xc0]
push eax
call fcn.004484f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xc0]
cmp eax, edi
je 0x486232
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov eax, dword [esi + 0x150]
cmp eax, edi
je 0x4862a9
mov ecx, 0x84
mov byte [eax], 0
add eax, ebx
sub ecx, ebx
jne 0x486241
mov ebx, dword [ebp - 0xa8]
mov edx, ebx
cmp ebx, edi
jne 0x48625b
mov edx, 0x54ee24
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x84
jl 0x48626e
mov ecx, 0x84
xor eax, eax
cmp ecx, edi
jle 0x48629b
jmp 0x486280
mov bx, word [edx + eax*2]
mov edi, dword [esi + 0x150]
mov word [edi + eax*2], bx
inc eax
cmp eax, ecx
jl 0x486280
mov ebx, dword [ebp - 0xa8]
xor edi, edi
mov ecx, 0x3e9
mov eax, esi
call fcn.004422e0
jmp 0x4862af
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0
cmp ebx, edi
je 0x4862c0
push ebx
call fcn.0051eadb
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
cmp eax, edi
je 0x48634b
push eax
call fcn.0051eadb
add esp, 4
jmp 0x48634b
mov eax, dword [esi + 0xe8]
mov edi, 6
test eax, eax
je 0x4862f6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x486306
mov ecx, dword [esi + 0xf0]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0xf0], edi
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x486319
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x486329
mov eax, dword [esi + 0x114]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x114], edi
mov edx, dword [ebp - 0x9c]
push 0xffffffffffffffff
push 0
push 0xb1
push 0x1199
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051eacc
mov esp, ebp
pop ebp
ret 4