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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x10], ebx
sub esp, 4
push dword [ebp - 0x10]
call sub.USER32.dll_GetParent
add esp, 4
mov dword [ebp - 0xc], eax
push 0xffffffeb
push dword [ebp - 0xc]
call sub.USER32.dll_GetWindowLongA
sub esp, 4
mov dword [0x3a6aaa8], eax
push eax
call sub.KERNEL32.dll_LocalLock
add esp, 4
mov dword [0x3a6aaac], eax
cmp dword [0x3a6aaac], 0
je 0x469795
mov edi, dword [0x3a6aaac]
sub esp, 4
push dword [edi + 0x10e8]
call sub.KERNEL32.dll_LocalLock
add esp, 4
mov dword [0x3a6aaa4], eax
cmp dword [0x3a6aaa4], 0
je 0x46977e
sub esp, 4
lea esi, [0x3f463c8]
push 0x3e8
push esi
push dword [ebp - 0x10]
call sub.USER32.dll_GetWindowTextA
add esp, 4
test eax, eax
jle 0x469489
test eax, eax
jge 0x46946d
xor eax, eax
xor edx, edx
lea esi, [0x3f463c8]
lea edi, [0x3f463c8]
mov ecx, 0x3e8
add esi, edx
call fcn.0046f930
jmp 0x469494
lea edi, [0x3f463c8]
mov ecx, 0x3e8
mov eax, 0x20
call fcn.0046e6bd
mov edx, dword [0x3a6aaac]
mov esi, dword [0x3a6aaac]
lea ecx, [ebp - 0x38]
cmp dword [edx + 0x4cf918], 0
jne 0x46972e
cmp dword [esi + 0x4d7f34], 0
jle 0x46977e
mov edi, dword [0x4b0238]
xor eax, eax
mov dword [ebp - 0x18], edi
mov edi, dword [0x4b023c]
lea edx, [0x3f463c8]
mov dword [ebp - 0x14], edi
lea edi, [ebp - 0x48]
mov dword [ebp - 0x38], eax
lea esi, [ebp - 0x18]
lea eax, [0x4b0230]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], 0x3e8
mov dword [ebp - 0x40], esi
push edi
push eax
push 0x384ff03
push ecx
call fcn.0047a240
mov edi, dword [0x3a6aaac]
add esp, 0x10
mov esi, dword [0x3a6aaac]
mov eax, dword [edi + 0x18]
dec eax
mov ebx, dword [esi]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x4696ec
mov edx, dword [0x3a6aaac]
inc ebx
mov ecx, dword [edx + 0x18]
cmp ecx, ebx
jge 0x46953d
mov ebx, 1
mov edx, dword [0x3a6aaac]
fld qword [ebp - 0x18]
mov edi, ebx
lea eax, [ebx + ebx*4]
fcomp qword [0x4b0238]
shl edi, 4
mov esi, dword [edx + 0x4d7f34]
add edi, eax
mov eax, 0
add edi, esi
mov edx, dword [0x3a6aaac]
mov ecx, edi
fnstsw ax
shl ecx, 2
sub ecx, edi
lea edi, [edi + edi*8]
lea edi, [ecx + edi*8]
shl edi, 2
add edi, dword [0x3a6aaa4]
sub edi, 0x19c8
mov dword [0x3a6aaa0], edi
test ah, 0x44
jnp 0x4695bb
mov eax, 0
imul esi, esi, 0x1d4c0
fld qword [ebp - 0x18]
lea ecx, [edx + esi]
fcomp qword [ecx + ebx*8 - 0x1c3d8]
fnstsw ax
test ah, 0x44
jp 0x4695bb
mov esi, 1
jmp 0x469653
mov edx, dword [0x3a6aaa0]
mov esi, dword [0x3a6aaa0]
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x178]
lea edi, [ebp - 0x178]
mov ecx, 0x12c
call fcn.0046e521
push 0x12c
push edx
call fcn.0046f8b0
movsx eax, ax
mov ecx, 0xfa
lea edi, [ebp - 0x430]
lea esi, [0x3f463c8]
mov dword [ebp - 0x24], eax
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x430]
push 0x3e8
push edx
call fcn.0046f8b0
movsx eax, ax
xor edi, edi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], esi
lea edx, [ebp - 0x38]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], edi
sub esp, 4
lea esi, [0x3f463c8]
lea eax, [ebp - 0x30]
push edx
push ecx
push 0x3e8
push esi
push eax
push 0x12c
push dword [ebp - 0x20]
call fcn.004aa250
mov esi, eax
add esp, 4
test esi, esi
jne 0x46966b
mov edi, dword [ebp - 0x1c]
dec edi
mov dword [ebp - 0x1c], edi
test edi, edi
jg 0x46952a
jmp 0x4696ec
mov dword [ebp - 8], ebx
mov ecx, dword [0x3a6aaac]
sub esp, 4
lea esi, [ebp - 8]
push dword [ecx + 0x10e8]
call sub.KERNEL32.dll_LocalUnlock
push dword [0x3a6aaa8]
call sub.KERNEL32.dll_LocalUnlock
lea edi, [ebp - 0xc]
push 0
push esi
push edi
call fcn.004622e8
mov ebx, dword [ebp - 0xc]
push ebx
call sub.USER32.dll_GetParent
mov esi, eax
push ebx
call sub.USER32.dll_GetDlgCtrlID
movsx eax, ax
add esp, 4
push 0x136
push eax
call fcn.0046da90
push ebx
push eax
push 0x111
push esi
call sub.USER32.dll_PostMessageA
push 0
push dword [ebp - 0x10]
call sub.USER32.dll_ShowWindow
sub esp, 4
push ebx
call sub.USER32.dll_SetFocus
add esp, 4
jmp 0x4697f0
mov edi, dword [0x3a6aaac]
sub esp, 4
push dword [edi + 0x10e8]
call sub.KERNEL32.dll_LocalUnlock
push dword [0x3a6aaa8]
call sub.KERNEL32.dll_LocalUnlock
add esp, 4
push 0
push dword [ebp - 0x10]
call sub.USER32.dll_ShowWindow
sub esp, 4
push dword [ebp - 0xc]
call sub.USER32.dll_SetFocus
add esp, 4
jmp 0x4697f0
mov esi, dword [0x3a6aaac]
mov eax, dword [0x3a6aaac]
mov ecx, 0x4b
mov ebx, dword [esi]
lea esi, [0x3f463c8]
mov edi, ebx
shl edi, 4
lea ebx, [ebx + ebx*4]
add ebx, edi
add ebx, dword [eax + 4]
mov edx, ebx
shl edx, 2
sub edx, ebx
lea ebx, [ebx + ebx*8]
lea ebx, [edx + ebx*8]
shl ebx, 2
add ebx, dword [0x3a6aaa4]
sub ebx, 0x19c8
mov dword [0x3a6aaa0], ebx
mov edi, dword [0x3a6aaa0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x3a6aaac]
sub esp, 4
push dword [eax + 0x10e8]
call sub.KERNEL32.dll_LocalUnlock
add esp, 4
sub esp, 4
push dword [0x3a6aaa8]
call sub.KERNEL32.dll_LocalUnlock
add esp, 4
push 0
push dword [ebp - 0x10]
call sub.USER32.dll_ShowWindow
sub esp, 4
push dword [ebp - 0xc]
call sub.USER32.dll_SetFocus
push dword [ebp - 0xc]
call sub.USER32.dll_GetParent
mov ebx, eax
push dword [ebp - 0xc]
call sub.USER32.dll_GetDlgCtrlID
movsx eax, ax
add esp, 4
push 0x12d
push eax
call fcn.0046da90
push dword [ebp - 0xc]
push eax
push 0x111
push ebx
call sub.USER32.dll_PostMessageA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4