Function at 0x406c00
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp eax, 0x110
je 0x406c50
cmp eax, 0x111
je 0x406e20
cmp eax, 0x4e
je 0x406d00
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 4], 0x6b
mov dword [esp], ebx
call sym._GetDlgItem_8
lea edx, [ebp - 0x1c]
mov edi, eax
mov eax, dword [esi + 0x1c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4116b0
call sym._sprintf
lea edx, [ebp - 0x1c]
mov dword [esp], edi
mov dword [esp + 4], edx
call sym._SetWindowTextA_8
mov eax, dword [esi + 0x1c]
sub esp, 8
mov edx, dword [eax*4 + 0x41d6f0]
test edx, edx
je 0x406ea0
cmp edx, 1
je 0x406f60
cmp edx, 2
je 0x406fa0
mov eax, dword [eax*4 + 0x41d6e8]
test al, 4
jne 0x406f30
test al, 8
jne 0x406f00
test al, 1
jne 0x406ed0
test al, 2
je 0x406c3a
mov dword [esp + 8], 1
mov dword [esp + 4], 0x67
mov dword [esp], ebx
call sym._CheckDlgButton_12
sub esp, 0xc
jmp 0x406c3a
cmp dword [esi + 8], 0xffffff36
jne 0x406c3a
mov dword [esp + 4], 0x6b
lea esi, [ebp - 0x1c]
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp + 8], 4
mov dword [esp], eax
call sym._GetWindowTextA_12
sub esp, 0xc
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_atoi]
mov dword [esp + 4], 0x68
mov dword [esp], ebx
mov esi, eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
je 0x406f70
mov dword [esi*4 + 0x41d6f0], 0
mov dword [esp + 4], 0x64
mov dword [esp], ebx
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41d6e8]
je 0x406fe0
or eax, 4
mov dword [esp + 4], 0x65
mov dword [esp], ebx
mov dword [esi*4 + 0x41d6e8], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41d6e8]
je 0x406fd0
or eax, 8
mov dword [esp + 4], 0x66
mov dword [esp], ebx
mov dword [esi*4 + 0x41d6e8], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41d6e8]
je 0x406fc0
or eax, 1
mov dword [esp + 4], 0x67
mov dword [esp], ebx
mov dword [esi*4 + 0x41d6e8], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41d6e8]
je 0x406fb0
or eax, 2
mov dword [esi*4 + 0x41d6e8], eax
jmp 0x406c3a
movzx esi, dx
cmp dx, 0x67
jbe 0x406e60
lea eax, [esi - 0x68]
cmp eax, 2
ja 0x406c3a
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x6a
mov dword [esp + 4], 0x68
mov dword [esp], ebx
call sym._CheckRadioButton_16
sub esp, 0x10
jmp 0x406c3a
cmp esi, 0x63
jbe 0x406c3a
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], esi
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._CheckDlgButton_12
sub esp, 0xc
jmp 0x406c3a
mov eax, 0x68
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6a
mov dword [esp + 4], 0x68
mov dword [esp], ebx
call sym._CheckRadioButton_16
mov eax, dword [esi + 0x1c]
sub esp, 0x10
jmp 0x406cb5
mov dword [esp + 8], 1
mov dword [esp + 4], 0x66
mov dword [esp], ebx
call sym._CheckDlgButton_12
mov eax, dword [esi + 0x1c]
sub esp, 0xc
mov eax, dword [eax*4 + 0x41d6e8]
jmp 0x406cd4
mov dword [esp + 8], 1
mov dword [esp + 4], 0x65
mov dword [esp], ebx
call sym._CheckDlgButton_12
mov eax, dword [esi + 0x1c]
sub esp, 0xc
mov eax, dword [eax*4 + 0x41d6e8]
jmp 0x406ccc
mov dword [esp + 8], 1
mov dword [esp + 4], 0x64
mov dword [esp], ebx
call sym._CheckDlgButton_12
mov eax, dword [esi + 0x1c]
sub esp, 0xc
mov eax, dword [eax*4 + 0x41d6e8]
jmp 0x406cc4
mov eax, 0x69
jmp 0x406ea5
mov dword [esp + 4], 0x69
mov dword [esp], ebx
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
je 0x406fe8
mov dword [esi*4 + 0x41d6f0], 1
jmp 0x406d6b
mov eax, 0x6a
jmp 0x406ea5
and eax, 0xfffffffd
jmp 0x406e14
and eax, 0xfffffffe
jmp 0x406de8
and eax, 0xfffffff7
jmp 0x406dbc
and eax, 0xfffffffb
jmp 0x406d90
mov dword [esp + 4], 0x6a
mov dword [esp], ebx
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
je 0x406d6b
mov dword [esi*4 + 0x41d6f0], 2
jmp 0x406d6b