Function at 0x486180
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538511
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 0x4863fb
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x21
lea edx, [ebp - 0x54]
push edx
push eax
call ebx
test eax, eax
jg 0x4861f6
mov eax, dword [edi]
mov esi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + edi], eax
jmp 0x4863fb
mov eax, dword [esi + 0x13c]
xor ecx, ecx
mov word [ebp - 0x98], cx
test eax, eax
je 0x48622f
push 0x21
lea edx, [ebp - 0x98]
push edx
push eax
call ebx
test eax, eax
jg 0x48622f
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 0x48638c
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.005072b0
lea eax, [ebp - 0xc0]
push eax
call fcn.00448660
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 0x4862e2
push eax
call fcn.0051ebab
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 0x486359
mov ecx, 0x84
mov byte [eax], 0
add eax, ebx
sub ecx, ebx
jne 0x4862f1
mov ebx, dword [ebp - 0xa8]
mov edx, ebx
cmp ebx, edi
jne 0x48630b
mov edx, 0x54ee24
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x84
jl 0x48631e
mov ecx, 0x84
xor eax, eax
cmp ecx, edi
jle 0x48634b
jmp 0x486330
mov bx, word [edx + eax*2]
mov edi, dword [esi + 0x150]
mov word [edi + eax*2], bx
inc eax
cmp eax, ecx
jl 0x486330
mov ebx, dword [ebp - 0xa8]
xor edi, edi
mov ecx, 0x3e9
mov eax, esi
call fcn.00442470
jmp 0x48635f
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0
cmp ebx, edi
je 0x486370
push ebx
call fcn.0051ebab
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
cmp eax, edi
je 0x4863fb
push eax
call fcn.0051ebab
add esp, 4
jmp 0x4863fb
mov eax, dword [esi + 0xe8]
mov edi, 6
test eax, eax
je 0x4863a6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4863b6
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 0x4863c9
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4863d9
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.0051eb9c
mov esp, ebp
pop ebp
ret 4