Function at 0x447a80
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x50afa4
mov edi, 0x50afa0
xor eax, eax
mov dword [edi], eax
jmp 0x447bdc
mov edx, dword [edi]
cmp edx, dword [ebx + 0x28d4]
je 0x447bda
xor ecx, ecx
mov dword [esi], ecx
jmp 0x447bbb
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*4]
mov eax, dword [esi]
mov edx, dword [ecx + eax*4 + 0x10ec]
push edx
call sub.USER32.dll_GetDlgCtrlID
mov dword [0x50afa8], eax
mov ecx, dword [0x50afa8]
push ecx
push ebx
call fcn.004476d4
test eax, eax
je 0x447af7
push 2
mov eax, dword [0x50afa8]
push eax
push ebx
call fcn.0044770c
jmp 0x447b17
push 0
mov edx, dword [edi]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx + edx*2]
lea eax, [ebx + edx*4]
mov edx, dword [esi]
mov ecx, dword [eax + edx*4 + 0x10ec]
push ecx
call sub.USER32.dll_ShowWindow
push 0
push 0
push 0xc1
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*4]
mov eax, dword [esi]
mov edx, dword [ecx + eax*4 + 0x10ec]
push edx
call sub.USER32.dll_SendMessageA
test eax, eax
jg 0x447bb9
push 0x521ac4
push 0x3e7
push 0xd
mov ecx, dword [edi]
mov eax, ecx
shl ecx, 4
add ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ebx + ecx*4]
mov ecx, dword [esi]
mov eax, dword [edx + ecx*4 + 0x10ec]
push eax
call sub.USER32.dll_SendMessageA
push 0x26
push 0x521ac4
call fcn.00401278
add esp, 8
mov dword [0x50afac], eax
cmp dword [0x50afac], 0
je 0x447bb9
mov edx, dword [0x50afac]
mov byte [edx], 1
push 0x521ac4
push 0
push 0xc
mov ecx, dword [edi]
mov eax, ecx
shl ecx, 4
add ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ebx + ecx*4]
mov ecx, dword [esi]
mov eax, dword [edx + ecx*4 + 0x10ec]
push eax
call sub.USER32.dll_SendMessageA
inc dword [esi]
mov edx, dword [edi]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx + edx*2]
lea eax, [ebx + edx*4]
mov edx, dword [esi]
cmp dword [eax + edx*4 + 0x10ec], 0
jne 0x447ab3
inc dword [edi]
mov ecx, dword [edi]
mov eax, ecx
shl ecx, 4
add ecx, eax
lea ecx, [ecx + ecx*2]
cmp dword [ebx + ecx*4 + 0x10e8], 0
jne 0x447a9c
xor edx, edx
mov dword [esi], edx
jmp 0x447d0c
mov ecx, dword [ebx + 0x28d4]
mov eax, ecx
shl ecx, 4
add ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ebx + ecx*4]
mov ecx, dword [esi]
push edi
call sub.USER32.dll_GetDlgCtrlID
mov dword [0x50afa8], eax
mov eax, dword [0x50afa8]
push eax
push ebx
call fcn.004476d4
test eax, eax
je 0x447c40
push 1
mov edx, dword [0x50afa8]
push edx
push ebx
call fcn.0044770c
jmp 0x447c64
push 4
mov ecx, dword [ebx + 0x28d4]
mov eax, ecx
shl ecx, 4
add ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ebx + ecx*4]
mov ecx, dword [esi]
mov eax, dword [edx + ecx*4 + 0x10ec]
push eax
call sub.USER32.dll_ShowWindow
push 0
push 0
push 0xc1
mov edx, dword [ebx + 0x28d4]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx + edx*2]
lea eax, [ebx + edx*4]
mov edx, dword [esi]
mov ecx, dword [eax + edx*4 + 0x10ec]
push ecx
call sub.USER32.dll_SendMessageA
test eax, eax
jg 0x447d0a
push 0x521ac4
push 0x3e7
push 0xd
mov eax, dword [ebx + 0x28d4]
mov edx, eax
shl eax, 4
add eax, edx
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*4]
mov eax, dword [esi]
mov edx, dword [ecx + eax*4 + 0x10ec]
push edx
call sub.USER32.dll_SendMessageA
push 1
push 0x521ac4
call fcn.00401278
add esp, 8
mov edi, eax
mov dword [0x50afac], edi
test edi, edi
je 0x447d0a
mov byte [edi], 0x26
push 0x521ac4
push 0
push 0xc
mov eax, dword [ebx + 0x28d4]
mov edx, eax
shl eax, 4
add eax, edx
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*4]
mov eax, dword [esi]
mov edx, dword [ecx + eax*4 + 0x10ec]
push edx
call sub.USER32.dll_SendMessageA
inc dword [esi]
mov ecx, dword [ebx + 0x28d4]
mov eax, ecx
shl ecx, 4
add ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ebx + ecx*4]
mov ecx, dword [esi]
mov edi, dword [edx + ecx*4 + 0x10ec]
test edi, edi
jne 0x447bff
pop edi
pop esi
pop ebx
pop ebp
ret 4