Function at 0x47d0d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c651
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x559024]
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 0x47d34b
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x21
lea edx, [ebp - 0x54]
push edx
push eax
call ebx
test eax, eax
jg 0x47d146
mov eax, dword [edi]
mov esi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + edi], eax
jmp 0x47d34b
mov eax, dword [esi + 0x13c]
xor ecx, ecx
mov word [ebp - 0x98], cx
test eax, eax
je 0x47d17f
push 0x21
lea edx, [ebp - 0x98]
push edx
push eax
call ebx
test eax, eax
jg 0x47d17f
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 0x47d2dc
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.004fcf00
sub esp, 0xc
lea edx, [ebp - 0xb4]
mov ecx, esp
mov dword [ebp - 0x9c], esp
push edx
call fcn.004fc120
lea eax, [ebp - 0xc0]
push eax
call fcn.00440140
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xc0]
cmp eax, edi
je 0x47d232
push eax
call fcn.005134a7
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 0x47d2a9
mov ecx, 0x84
mov byte [eax], 0
add eax, ebx
sub ecx, ebx
jne 0x47d241
mov ebx, dword [ebp - 0xa8]
mov edx, ebx
cmp ebx, edi
jne 0x47d25b
mov edx, 0x538640
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x84
jl 0x47d26e
mov ecx, 0x84
xor eax, eax
cmp ecx, edi
jle 0x47d29b
jmp 0x47d280
mov bx, word [edx + eax*2]
mov edi, dword [esi + 0x150]
mov word [edi + eax*2], bx
inc eax
cmp eax, ecx
jl 0x47d280
mov ebx, dword [ebp - 0xa8]
xor edi, edi
mov ecx, 0x3e9
mov eax, esi
call fcn.00439fd0
jmp 0x47d2af
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0
cmp ebx, edi
je 0x47d2c0
push ebx
call fcn.005134a7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
cmp eax, edi
je 0x47d34b
push eax
call fcn.005134a7
add esp, 4
jmp 0x47d34b
mov eax, dword [esi + 0xe8]
mov edi, 6
test eax, eax
je 0x47d2f6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47d306
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 0x47d319
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x47d329
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.00513498
mov esp, ebp
pop ebp
ret 4