Function at 0x428060
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
push edi
mov edi, edx
test ecx, ecx
jne 0x4281ea
cmp eax, 0x899
jl 0x4281bd
cmp eax, 0x89a
jle 0x42812f
cmp eax, 0x8c9
jne 0x4281bd
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call ebp
mov esi, eax
push edi
call fcn.0041daa0
add esp, 4
test eax, eax
je 0x428399
mov eax, esi
call fcn.0041d9f0
mov ecx, eax
shr ecx, 0x10
movzx edx, al
and ecx, 0xff
shl edx, 0x10
or ecx, edx
and eax, 0xff00
or ecx, eax
push ecx
push str._0_6X
mov ecx, 0x20
lea ebx, [esp + 0x18]
call fcn.00401250
add esp, 8
mov eax, ebx
push eax
push 0x8c8
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [0x45a2c8]
push 1
push 0x7d3
push ecx
call ebp
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret
push 0x899
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
push esi
push 0x89b
push edi
call ebx
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
push esi
push 0x89c
push edi
call ebx
push eax
call ebp
push esi
push 0x89d
push edi
call ebx
push eax
call ebp
push esi
push 0x89e
push edi
call ebx
push eax
call ebp
push esi
push 0x89f
push edi
call ebx
push eax
call ebp
push esi
push 0x8a0
push edi
call ebx
push eax
call ebp
mov edx, dword [0x45a2c8]
push 1
push 0x7d3
push edx
call ebx
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret
mov eax, dword [0x45a2c8]
push 1
push 0x7d3
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret
cmp ecx, 0x300
jne 0x4282c5
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, 0x8c8
jne 0x42829b
push 0x8c8
push edi
xor ebx, ebx
call ebp
push 0x20
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x428271
push 0x10
lea edx, [esp + 0x14]
push ebx
push edx
call fcn.00434b59
mov ebx, eax
push 0x10
lea eax, [esp + 0x20]
push 0
shr ebx, 0x10
push eax
and ebx, 0xff
call fcn.00434b59
mov esi, eax
push 0x10
and esi, 0xff
lea ecx, [esp + 0x2c]
push 0
shl esi, 0x10
push ecx
or esi, ebx
call fcn.00434b59
mov ebx, eax
and ebx, 0xff00
add esp, 0x24
or ebx, esi
push 0x8c9
push edi
call ebp
mov esi, eax
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x42829b
cmp dword [eax + 8], ebx
je 0x42829b
push 0
push 0
push esi
mov dword [eax + 8], ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x45a2c8]
push 1
push 0x7d3
push edx
call ebp
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret
cmp ecx, 0x200
jne 0x428399
cmp eax, 0x8c8
jne 0x428399
push eax
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push 0x20
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x428348
push 0x10
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.00434b59
push 0x10
mov ebx, eax
lea edx, [esp + 0x20]
push 0
shr ebx, 0x10
push edx
and ebx, 0xff
call fcn.00434b59
mov esi, eax
push 0x10
and esi, 0xff
lea eax, [esp + 0x2c]
push 0
shl esi, 0x10
push eax
or esi, ebx
call fcn.00434b59
mov ebx, eax
and ebx, 0xff00
add esp, 0x24
or ebx, esi
push 0x8c9
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, ebx
mov esi, eax
call fcn.0041d9c0
mov ecx, ebx
shr ecx, 0x10
movzx edx, bl
and ecx, 0xff
shl edx, 0x10
or ecx, edx
and ebx, 0xff00
or ecx, ebx
push ecx
push str._0_6X
mov ecx, 0x20
lea ebx, [esp + 0x18]
call fcn.00401250
add esp, 8
mov eax, ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00433c32
add esp, 0x44
ret