Function at 0x4574b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d0
cmp dword [ecx + 0xf38c8], 0
mov dword [ebp - 0x18], ecx
je 0x4578b3
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push pe_nt_image_headers32
push 0x990
push esi
mov dword [ebp - 4], 0x98f
call ebx
test eax, eax
je 0x457504
cmp eax, 1
je 0x4574fb
cmp eax, 2
jne 0x457504
mov dword [ebp - 4], 0x990
jmp 0x457545
push 0
push 0
push pe_nt_image_headers32
push 0x992
push esi
call ebx
test eax, eax
je 0x45752c
cmp eax, 1
je 0x457523
cmp eax, 2
jne 0x45752c
mov dword [ebp - 4], 0x992
jmp 0x457545
push 0x991
push esi
call fcn.00450a20
add esp, 8
test eax, eax
je 0x457545
mov dword [ebp - 4], 0x991
push 0
push 0
push pe_nt_image_headers32
push 0x9d2
push esi
call ebx
test eax, eax
je 0x457566
cmp eax, 1
je 0x457569
cmp eax, 2
je 0x457566
xor eax, eax
cmp eax, 1
push 0x6eb
sete bl
push esi
mov byte [ebp + 0xb], bl
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 4]
mov edi, eax
mov dword [ebp - 0x14], edi
jne 0x457599
cmp dword [0x4ec454], esi
jne 0x457599
cmp byte [0x50db78], bl
je 0x4575b0
push 0
push 0
push 0x1009
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0xc], 1
push 0x38
lea eax, [ebp - 0x90]
push 0
push eax
mov dword [0x4ec454], esi
mov byte [0x50db78], bl
mov dword [ebp - 0x94], 0xd
call fcn.004b03e0
add esp, 0xc
push 0
push 0
push 0x1004
lea ecx, [ebp - 0x1d0]
push edi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x80], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
or ebx, 0xffffffff
cmp esi, 0x992
sete dl
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xf38c8]
mov dword [ebp - 0x10], ecx
lea ecx, [ecx]
cmp dword [ebp + 0xc], 0
je 0x4576cd
mov eax, dword [ebp - 0x10]
mov esi, eax
add eax, 0xa8
cmp dword [esi], 0
mov dword [ebp - 0x10], eax
je 0x457895
mov eax, dword [ebp - 4]
or ebx, 0xffffffff
sub eax, 0x990
je 0x457699
sub eax, 1
je 0x457687
sub eax, 1
jne 0x4576b8
mov eax, dword [ebp - 8]
test eax, eax
jne 0x457674
cmp dword [esi + 4], 8
jmp 0x4576b2
jbe 0x4576b8
cmp dword [esi + 4], 8
je case.default.0x45773a
cmp dword [esi + 0x98], 0
je case.default.0x45773a
jmp 0x4576b8
mov eax, dword [esi + 4]
cmp eax, 5
je 0x4576b8
cmp eax, 4
je 0x4576b8
cmp eax, 3
jmp 0x4576b2
mov eax, dword [esi + 4]
test eax, eax
je 0x4576b8
cmp eax, 6
je 0x4576b8
cmp eax, 7
je 0x4576b8
cmp eax, 1
je 0x4576b8
cmp eax, 2
jne case.default.0x45773a
cmp byte [ebp + 0xb], 0
je 0x45772e
cmp dword [esi + 0x8c], 0
je case.default.0x45773a
jmp 0x45772e
inc ebx
cmp ebx, dword [ebp - 0xc]
jge 0x457895
push 0x34
lea edx, [ebp - 0xc8]
push 0
push edx
mov dword [ebp - 0xd0], 4
mov dword [ebp - 0xcc], ebx
call fcn.004b03e0
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
push 0
push 0x104b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x457895
mov esi, dword [ebp - 0xb0]
test esi, esi
je 0x457895
cmp dword [esi], 0
je 0x457895
mov eax, dword [esi + 4]
cmp eax, 8
ja case.default.0x45773a
jmp dword [eax*4 + 0x4578bc]
push str.Global
lea ecx, [ebp - 0x1d0]
push ecx
jmp 0x4577ac
push str.Local
jmp 0x4577a5
push str.User
lea eax, [ebp - 0x1d0]
push eax
jmp 0x4577ac
mov ecx, dword [esi]
sub ecx, 0x88d
push ecx
lea edx, [ebp - 0x1d0]
push str.Macro__02i
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x4577b4
push str.Modifier
lea eax, [ebp - 0x1d0]
push eax
jmp 0x4577ac
push str.System
lea ecx, [ebp - 0x1d0]
push ecx
jmp 0x4577ac
push str.System
lea edx, [ebp - 0x1d0]
push edx
call fcn.00438c90
add esp, 8
cmp ebx, 0xffffffff
jne 0x4577e6
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x94]
push eax
push 0
push 0x104d
inc edi
push ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x74], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x14]
mov ebx, eax
cmp dword [ebp + 0xc], 0
je 0x45780b
lea edx, [ebp - 0x58]
push edx
push ebx
push 0x102b
push edi
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x1d0]
push eax
mov ecx, esi
call fcn.00439120
lea edx, [ebp - 0x58]
push edx
push ebx
push 0x1074
lea ecx, [ebp - 0x1d0]
push edi
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x44], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 8
jne 0x45785a
mov esi, dword [esi + 0x98]
test esi, esi
je 0x457850
cmp word [esi], 0
jne 0x457855
mov esi, str._Not_set_
mov dword [ebp - 0x44], esi
jmp 0x457878
push 0
push 0x200
lea ecx, [ebp - 0x5d0]
push ecx
mov ecx, esi
call fcn.00433f00
lea edx, [ebp - 0x5d0]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1074
push edi
mov dword [ebp - 0x50], 2
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x45773a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x1c]
jbe 0x457621
mov ecx, dword [0x50b3a0]
call fcn.004439f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8