Function at 0x406ff0
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp eax, 0x110
je 0x407050
cmp eax, 0x111
je 0x407228
cmp eax, 0x4e
je 0x407100
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], ebx
mov eax, 0x6b
mov dword [esp + 4], eax
call sym._GetDlgItem_8
mov edx, 0x4106c0
mov edi, eax
mov eax, dword [esi + 0x1c]
sub esp, 8
mov dword [esp + 4], edx
lea edx, [ebp - 0x1c]
mov dword [esp], edx
mov dword [esp + 8], eax
call sym._sprintf
lea edx, [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], edi
call sym._SetWindowTextA_8
mov eax, dword [esi + 0x1c]
mov edx, dword [eax*4 + 0x41c6f0]
sub esp, 8
test edx, edx
je 0x4072a0
cmp edx, 1
je 0x407360
cmp edx, 2
je 0x4073a0
mov eax, dword [eax*4 + 0x41c6e8]
test al, 4
jne 0x407330
test al, 8
jne 0x407300
test al, 1
jne 0x4072d0
test al, 2
je 0x407032
mov dword [esp], ebx
mov eax, 1
mov dword [esp + 8], eax
mov eax, 0x67
mov dword [esp + 4], eax
call sym._CheckDlgButton_12
sub esp, 0xc
jmp 0x407032
cmp dword [esi + 8], 0xffffff36
jne 0x407032
mov dword [esp], ebx
mov edx, 0x6b
mov edi, 0x68
mov dword [esp + 4], edx
lea esi, [ebp - 0x1c]
call sym._GetDlgItem_8
mov ecx, 4
sub esp, 8
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
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], edi
mov dword [esp], ebx
mov esi, eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
je 0x407370
xor eax, eax
mov dword [esi*4 + 0x41c6f0], eax
mov dword [esp], ebx
mov edi, 0x64
mov dword [esp + 4], edi
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41c6e8]
je 0x4073e0
or eax, 4
mov dword [esp], ebx
mov ecx, 0x65
mov dword [esp + 4], ecx
mov dword [esi*4 + 0x41c6e8], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41c6e8]
je 0x4073d0
or eax, 8
mov dword [esp], ebx
mov edx, 0x66
mov dword [esp + 4], edx
mov dword [esi*4 + 0x41c6e8], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41c6e8]
je 0x4073c0
or eax, 1
mov dword [esi*4 + 0x41c6e8], eax
mov eax, 0x67
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, dword [esi*4 + 0x41c6e8]
je 0x4073b0
or eax, 2
mov dword [esi*4 + 0x41c6e8], eax
jmp 0x407032
cmp dx, 0x67
movzx esi, dx
jbe 0x407268
lea eax, [esi - 0x68]
cmp eax, 2
ja 0x407032
mov dword [esp + 0xc], esi
mov eax, 0x6a
mov dword [esp + 8], eax
mov eax, 0x68
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._CheckRadioButton_16
sub esp, 0x10
jmp 0x407032
cmp esi, 0x63
jbe 0x407032
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov dword [esp + 4], esi
sete al
mov dword [esp], ebx
movzx eax, al
mov dword [esp + 8], eax
call sym._CheckDlgButton_12
sub esp, 0xc
jmp 0x407032
mov eax, 0x68
mov dword [esp + 0xc], eax
mov eax, 0x6a
mov dword [esp + 8], eax
mov eax, 0x68
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._CheckRadioButton_16
mov eax, dword [esi + 0x1c]
sub esp, 0x10
jmp 0x4070b7
mov dword [esp], ebx
mov eax, 1
mov edx, 0x66
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sym._CheckDlgButton_12
mov eax, dword [esi + 0x1c]
mov eax, dword [eax*4 + 0x41c6e8]
sub esp, 0xc
jmp 0x4070d6
mov dword [esp], ebx
mov ecx, 1
mov edi, 0x65
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sym._CheckDlgButton_12
mov eax, dword [esi + 0x1c]
mov eax, dword [eax*4 + 0x41c6e8]
sub esp, 0xc
jmp 0x4070ce
mov dword [esp], ebx
mov eax, 1
mov dword [esp + 8], eax
mov eax, 0x64
mov dword [esp + 4], eax
call sym._CheckDlgButton_12
mov eax, dword [esi + 0x1c]
mov eax, dword [eax*4 + 0x41c6e8]
sub esp, 0xc
jmp 0x4070c6
mov eax, 0x69
jmp 0x4072a5
mov dword [esp], ebx
mov eax, 0x69
mov dword [esp + 4], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
je 0x4073e8
mov eax, 1
mov dword [esi*4 + 0x41c6f0], eax
jmp 0x40716c
mov eax, 0x6a
jmp 0x4072a5
and eax, 0xfffffffd
jmp 0x407219
and eax, 0xfffffffe
jmp 0x4071ec
and eax, 0xfffffff7
jmp 0x4071bf
and eax, 0xfffffffb
jmp 0x407192
mov dword [esp], ebx
mov eax, 0x6a
mov dword [esp + 4], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
je 0x40716c
mov eax, 2
mov dword [esi*4 + 0x41c6f0], eax
jmp 0x40716c