Function at 0x456aad
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x690], eax
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
mov esi, ecx
call fcn.0046e0e0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x3fb
push dword [esi + 4]
call ebx
push 0x103
lea ecx, [ebp - 0x61c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x654]
push 0x1390
push eax
call fcn.0043eee7
xor eax, eax
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046e0e0
add esp, 0x14
xor eax, eax
cmp dword [ebp - 0x640], 8
push 7
pop ecx
lea edi, [ebp - 0x6b0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x6ac], eax
mov eax, dword [ebp - 0x654]
jae 0x456b69
lea eax, [ebp - 0x654]
mov dword [ebp - 0x6a8], eax
mov eax, dword [ebp - 0x690]
mov dword [ebp - 0x6b4], eax
lea eax, [ebp - 0x6b4]
push eax
mov dword [ebp - 0x6a4], 0x41
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x690], eax
test eax, eax
je 0x456bfb
lea ecx, [ebp - 0x414]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, 0x3fb
push edi
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x414]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
and dword [ebp - 0x694], 0
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x456c00
mov eax, dword [ebp - 0x694]
push dword [ebp - 0x690]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x694]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x456c00
mov edi, 0x3fb
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046e0e0
add esp, 0xc
push edi
push dword [esi + 4]
call ebx
push 0x103
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x694]
call fcn.0045591b
lea ecx, [ebp - 0x694]
call fcn.004554d2
lea ecx, [ebp - 0x694]
call fcn.0045547d
mov ecx, dword [ebp - 0x694]
lea eax, [ebp - 0x20c]
sub eax, ecx
movzx edx, word [ecx]
mov word [eax + ecx], dx
add ecx, 2
test dx, dx
jne 0x456c6d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jle 0x456cfb
mov eax, dword [0x56ab14]
mov dword [ebp - 0x690], eax
lea eax, [ebp - 0x638]
push 0x13e6
push eax
call fcn.0043eee7
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x456cb4
mov eax, dword [eax]
push 0x20
push dword [ebp - 0x690]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 1
lea ecx, [ebp - 0x638]
call fcn.00402b70
push edi
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x61c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x694]
call fcn.0044bec1
push 0
jmp 0x456f11
and dword [ebp - 0x660], 0
xor eax, eax
mov word [ebp - 0x670], ax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x670]
mov dword [ebp - 0x65c], 7
call fcn.00401fb0
lea eax, [ebp - 0x20c]
push 0x4962e0
push eax
call fcn.0047117a
pop ecx
pop ecx
test eax, eax
je 0x456e45
lea eax, [ebp - 0x670]
push eax
call fcn.0042a8a4
pop ecx
test al, al
je 0x456e45
lea eax, [ebp - 0x20c]
push eax
call fcn.0045b463
call fcn.00413010
cmp eax, 3
setge al
mov byte [ebp - 0x690], al
push dword [ebp - 0x690]
lea eax, [ebp - 0x20c]
push eax
call fcn.0045b5b8
add esp, 0xc
test al, al
jne 0x456e31
mov eax, dword [0x56ab14]
mov dword [ebp - 0x690], eax
lea eax, [ebp - 0x68c]
push 0x1394
push eax
call fcn.0043eee7
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x456db7
mov eax, dword [eax]
push 0x20
push dword [ebp - 0x690]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 1
lea ecx, [ebp - 0x68c]
call fcn.00402b70
and dword [ebp - 0x628], 0
xor eax, eax
mov word [ebp - 0x638], ax
lea eax, [ebp - 0x638]
push eax
mov dword [ebp - 0x624], 7
call fcn.0042c877
mov ecx, eax
call fcn.0042dce5
cmp dword [ebp - 0x624], 8
mov eax, dword [ebp - 0x638]
jae 0x456e1a
lea eax, [ebp - 0x638]
push edi
push dword [esi + 4]
mov dword [ebp - 0x690], eax
call ebx
push dword [ebp - 0x690]
jmp 0x456ee0
push 0
push 1
lea ecx, [ebp - 0x670]
call fcn.00402b70
jmp 0x456ce9
mov eax, dword [0x56ab14]
mov dword [ebp - 0x690], eax
lea eax, [ebp - 0x68c]
push 0x1392
push eax
call fcn.0043eee7
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x456e6b
mov eax, dword [eax]
push 0x20
push dword [ebp - 0x690]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 1
lea ecx, [ebp - 0x68c]
call fcn.00402b70
and dword [ebp - 0x628], 0
xor eax, eax
mov word [ebp - 0x638], ax
lea eax, [ebp - 0x638]
push eax
mov dword [ebp - 0x624], 7
call fcn.0042c877
mov ecx, eax
call fcn.0042dce5
cmp dword [ebp - 0x624], 8
mov eax, dword [ebp - 0x638]
jae 0x456ece
lea eax, [ebp - 0x638]
push edi
push dword [esi + 4]
mov dword [ebp - 0x690], eax
call ebx
push dword [ebp - 0x690]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x638]
call fcn.00402b70
push esi
push 1
lea ecx, [ebp - 0x670]
call fcn.00402b70
lea ecx, [ebp - 0x694]
call fcn.0044bec1
push esi
push 1
lea ecx, [ebp - 0x654]
call fcn.00402b70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0046e0cd
leave
ret 0x10