Function at 0x428e20
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x44
mov eax, dword [0x451050]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov esi, ecx
test eax, eax
jne 0x428f0f
cmp esi, 0x8fd
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
jl 0x428eeb
cmp esi, 0x8fe
jg 0x428eeb
push 0x8fe
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
push esi
push 0x901
push edi
call ebp
push eax
call ebx
push esi
push 0x92b
push edi
call ebp
push eax
call ebx
push esi
push 0x92a
push edi
call ebp
push eax
call ebx
push esi
push 0x902
push edi
call ebp
push eax
call ebx
push 0x8fd
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
push esi
push 0x8ff
push edi
call ebp
push eax
call ebx
push esi
push 0x92d
push edi
call ebp
push eax
call ebx
push esi
push 0x92c
push edi
call ebp
push eax
call ebx
push esi
push 0x900
push edi
call ebp
push eax
call ebx
mov eax, dword [0x45a2c8]
push 1
push 0x7d3
push eax
call ebp
push eax
call ebx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret
cmp eax, 0x300
jne 0x428fc4
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esi - 0x926]
cmp eax, 6
ja case.0x428f32.2343
movzx ecx, byte [eax + 0x429090]
jmp dword [ecx*4 + 0x429088]
push esi
push edi
xor ebx, ebx
call ebp
push 0x20
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x428f69
push 0xa
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.00434b2e
mov ebx, eax
add esp, 0xc
test ebx, ebx
jge 0x428f69
xor ebx, ebx
cmp esi, 0x92a
jne 0x428f80
cmp ebx, 0x3e8
jle 0x428f8a
mov ebx, 0x3e8
jmp 0x428f8a
cmp ebx, 0x64
jle 0x428f8a
mov ebx, 0x64
push ebx
push 1
push 0x405
inc esi
push esi
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x45a2c8]
push 1
push 0x7d3
push ecx
call ebp
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret
cmp eax, 0x200
jne case.0x428fe5.2343
lea eax, [esi - 0x926]
cmp eax, 6
ja case.0x428fe5.2343
movzx edx, byte [eax + 0x4290a0]
jmp dword [edx*4 + 0x429098]
push esi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push 0x20
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x429022
push 0xa
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.00434b2e
mov ebx, eax
add esp, 0xc
test ebx, ebx
jge 0x429022
xor ebx, ebx
cmp esi, 0x92a
jne 0x429039
cmp ebx, 0x3e8
jle 0x429043
mov ebx, 0x3e8
jmp 0x429043
cmp ebx, 0x64
jle 0x429043
mov ebx, 0x64
push ebx
push 1
push 0x405
inc esi
push esi
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push ebx
push 0x447514
mov ecx, 0x20
lea ebx, [esp + 0x14]
call fcn.00401250
add esp, 8
mov edx, ebx
push edx
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret