Function at 0x5bb1aac0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x5bb70c3c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x3ed
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 0x208], 0
and dword [ebp - 0x20c], 0
mov edi, eax
or eax, 0xffffffff
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x224], eax
push 0x1ff
lea eax, [ebp - 0x204]
push eax
push edi
mov dword [ebp - 0x228], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x5bb1aec4
lea eax, [ebp - 0x204]
push eax
call fcn.5bb1a353
test eax, eax
jne 0x5bb1ab85
push 0x5ba5f15a
push sub.SHLWAPI.dll_Ordinal_107
push 0x10
push eax
push 0x17f3
push 0x1073
push esi
push dword [0x5bb73708]
call sub.MSOERT2.dll_MessageBoxInstW
push 0x5ba44198
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x5bb1aec4
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x204]
push eax
call esi
test eax, eax
jle 0x5bb1aeac
mov edi, 0x5ba47988
push edi
call esi
test eax, eax
jle 0x5bb1aeac
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x208]
push edx
lea edx, [ebp - 0x20c]
push edx
xor esi, esi
push esi
push esi
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x5bb1aec4
cmp dword [ebp - 0x20c], esi
je 0x5bb1aeac
cmp dword [ebp - 0x208], esi
je 0x5bb1aec4
cmp dword [ebp - 0x20c], esi
mov edx, 0x3002001e
mov eax, 0x3a56101e
jbe 0x5bb1ac68
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x214]
mov ecx, dword [ecx]
cmp ecx, edx
je 0x5bb1ac45
cmp ecx, 0x3003001e
je 0x5bb1ac3d
cmp ecx, 0x3a54101e
je 0x5bb1ac35
cmp ecx, 0x3a550003
je 0x5bb1ac4b
cmp ecx, eax
jne 0x5bb1ac4b
mov dword [ebp - 0x21c], esi
jmp 0x5bb1ac4b
mov dword [ebp - 0x220], esi
jmp 0x5bb1ac4b
mov dword [ebp - 0x218], esi
jmp 0x5bb1ac4b
mov dword [ebp - 0x224], esi
add dword [ebp - 0x214], 0x10
inc esi
cmp esi, dword [ebp - 0x20c]
jb 0x5bb1ac05
cmp dword [ebp - 0x218], 0xffffffff
jne 0x5bb1acef
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 4
lea ecx, [ebp - 0x204]
push 0x40
mov dword [ebp - 0x278], 0x3003001e
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x250], 1
call esi
test eax, eax
mov dword [ebp - 0x24c], eax
je 0x5bb1acb8
lea ecx, [ebp - 0x204]
mov dword [eax], ecx
push 4
push 0x40
mov dword [ebp - 0x248], 0x3a54101e
mov dword [ebp - 0x240], 1
call esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x23c], eax
je 0x5bb1ace0
mov dword [eax], edi
push esi
lea edx, [ebp - 0x278]
push edx
push 5
jmp 0x5bb1ad9f
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x5bb1ade3
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 2
pop edi
push 8
push 0x40
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x250], edi
call esi
test eax, eax
mov dword [ebp - 0x24c], eax
je 0x5bb1ad45
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x208]
shl ecx, 4
mov ecx, dword [ecx + edx + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x204]
mov dword [ecx + 4], eax
push 8
push 0x40
mov dword [ebp - 0x248], 0x3a54101e
mov dword [ebp - 0x240], edi
call esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x23c], eax
je 0x5bb1ad95
mov ecx, dword [ebp - 0x224]
cmp ecx, 0xffffffff
jne 0x5bb1ad79
mov ecx, 0x5ba47988
jmp 0x5bb1ad86
mov edx, dword [ebp - 0x208]
shl ecx, 4
mov ecx, dword [ecx + edx + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x23c]
mov dword [eax + 4], 0x5ba47988
push esi
lea edx, [ebp - 0x258]
push edx
push 3
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x238], 0x3a550003
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp dword [ebp - 0x24c], esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, eax
je 0x5bb1add0
push dword [ebp - 0x24c]
call esi
cmp dword [ebp - 0x23c], 0
je 0x5bb1ae44
push dword [ebp - 0x23c]
call esi
jmp 0x5bb1ae44
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x21c]
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
push ebx
call fcn.5bb1a3f4
test eax, eax
jl 0x5bb1aeac
push edi
push dword [ebp - 0x220]
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
push ebx
call fcn.5bb1a3f4
test eax, eax
jl 0x5bb1aeac
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
push 0
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jl 0x5bb1aeac
cmp dword [0x5bb709f8], 0xffffffff
mov dword [ebx + 0x14], 1
jne 0x5bb1ae6d
push ebx
push dword [ebp - 0x210]
lea eax, [ebp - 0x204]
push eax
call fcn.5bb1a938
jmp 0x5bb1ae9b
xor esi, esi
push esi
push esi
push 0x1009
push 0x3ef
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push ebx
push dword [ebp - 0x210]
call fcn.5bb1a6f9
push 0x5ba44198
push dword [ebp - 0x228]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp - 0x208], 0
je 0x5bb1aec4
mov eax, dword [ebx + 4]
push dword [ebp - 0x208]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.5bb3f314
leave
ret 8