Function at 0x45a461
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x28
push dword [ebp + 0xc]
call fcn.00416bfa
cmp byte [ebp - 0x5c], 0
je 0x45a4c9
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x5c]
push eax
call ebx
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x1e
test eax, eax
jl 0x45a4cf
mov dword [ebp - 0xc], eax
jmp 0x45a4cf
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x17
push dword [ebp + 0xc]
call fcn.00416bfa
cmp byte [ebp - 0x5c], 0
je 0x45a515
lea eax, [ebp - 0x5c]
push eax
push 0x64
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x5c]
push eax
call ebx
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x1e
cmp dword [ebp - 0xc], eax
jg 0x45a515
mov dword [ebp - 0xc], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x66
push esi
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x1c]
push 0x65
push dword [ebp + 8]
mov dword [ebp - 0x28], eax
call edi
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x29
push dword [ebp + 0xc]
call fcn.00416bfa
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x328]
push eax
push 0x3c
push dword [ebp + 0xc]
call fcn.00416bfa
test byte [ebp - 0x24], 1
push 0x65
pop eax
mov dword [ebp - 4], eax
je 0x45a5b7
lea ecx, [ebp - 0x328]
mov dword [ebp - 4], 0x66
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x328]
push eax
call ebx
push eax
lea eax, [ebp - 0x328]
push eax
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a5b7
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x328]
push eax
call ebx
test byte [ebp - 0x24], 2
lea ecx, [ebp + eax - 0x327]
mov dword [ebp - 8], ecx
je 0x45a600
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a600
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x24], 4
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a645
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a645
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x24], 8
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a68a
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a68a
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x24], 0x10
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a6cf
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a6cf
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x24], 0x20
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a714
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a714
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x24], 0x40
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a759
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a759
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x24], 0x80
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a79e
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a79e
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x23], 1
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a7e3
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a7e3
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
test byte [ebp - 0x23], 2
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x45a828
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 8]
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x32
cmp dword [ebp - 0xc], eax
jg 0x45a828
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call ebx
cmp dword [ebp - 4], 0x65
je 0x45a842
push 0x65
push 0x6e
push 0x65
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x6f
pop eax
sub eax, dword [ebp - 4]
cmp dword [ebp - 4], 0x6f
mov dword [ebp - 8], eax
je 0x45a93b
push dword [ebp - 4]
push dword [ebp + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x6f
jne 0x45a85b
push 1
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x28]
xor ecx, ecx
push 0x15
push ecx
sub edx, eax
push ecx
push edx
push dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
push ecx
push dword [ebp - 4]
call ebx
push 2
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x1c]
xor eax, eax
sub ecx, dword [ebp - 0x28]
push 0x15
push eax
push eax
push ecx
push dword [ebp - 0x20]
push eax
push dword [ebp - 4]
call ebx
push 0x64
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
call esi
mov eax, dword [ebp - 0x14]
push 0x16
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0x14]
push 6
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push dword [ebp + 8]
call ebx
push 0
push 0
push 0x62
push dword [ebp + 0xc]
call fcn.00416bfa
cmp byte [eax + 0xd30], 0
lea ecx, [eax + 0xd30]
mov dword [ebp + 0xc], eax
je 0x45a96a
push ecx
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [ebp + 0xc]
add eax, 0xd45
cmp byte [eax], 0
je 0x45a980
push eax
push 2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 1
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
push 2
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x6c]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x20]
add ecx, ecx
push 0x64
push dword [ebp + 8]
lea eax, [eax + eax*2]
sub eax, ecx
sub eax, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
call esi
lea eax, [ebp - 0x5c]
push 0x2d
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x10]
call fcn.00409c56
movzx eax, ax
add eax, 0x14
cmp dword [ebp - 0xc], eax
jg 0x45a9f4
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, eax
sub edx, dword [ebp - 0x20]
cmp edx, ecx
jle 0x45ab3a
cmp ecx, dword [ebp + 0xc]
jg 0x45aa1b
mov ecx, dword [ebp + 0xc]
sub eax, ecx
push 1
sub eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp + 0xc], eax
jle 0x45ab3c
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cdq
push 0x15
sub eax, edx
mov edx, dword [ebp - 0x20]
push ecx
push ecx
push dword [ebp - 0x1c]
sar eax, 1
sub edx, eax
mov dword [ebp - 0x28], eax
push edx
push ecx
push dword [ebp - 4]
call ebx
push 2
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x20]
xor eax, eax
sub ecx, dword [ebp - 0x28]
push 0x15
push eax
push eax
push dword [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0x14]
push 6
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push dword [ebp + 8]
call ebx
push 0x64
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
call esi
mov eax, dword [ebp - 0x14]
push 6
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push dword [ebp - 4]
call ebx
mov dword [ebp - 8], 0x65
push dword [ebp - 8]
push dword [ebp + 8]
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x45ab31
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x14]
push 0x16
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x20]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 4]
call ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x6f
jb 0x45aafe
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret