Function at 0x418500
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x43ad48]
call dword [sym.imp.USER32.dll_GetMenu]
mov esi, dword [0x43ad20]
xorps xmm0, xmm0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1042
push esi
mov dword [ebp - 0x424], eax
movlpd qword [ebp - 0x468], xmm0
movlpd qword [ebp - 0x460], xmm0
movlpd qword [ebp - 0x458], xmm0
movlpd qword [ebp - 0x450], xmm0
mov dword [ebp - 0x470], 4
call ebx
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x470]
push eax
push 0
push 0x104b
push esi
call ebx
or edx, 0xffffffff
push 0xffffffffffffffff
test eax, eax
je 0x418836
mov esi, dword [ebp - 0x450]
mov ecx, esi
call fcn.00426a60
mov dword [ebp - 0x43c], eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
mov ebx, 1
mov dword [ebp - 0x42c], 0
mov edi, ebx
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
test esi, esi
je 0x41867a
push eax
push eax
push 0x1032
push dword [0x43ad20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41867a
cmp dword [esi + 8], 0
jne 0x41867a
mov ebx, dword [esi + 0x1664]
test bl, 0x40
jne 0x418678
lea eax, [esi + 0x1678]
push str.__
push eax
call fcn.00401c22
add esp, 8
test eax, eax
jne 0x41864f
test byte [esi + 0x1664], 0x14
jne 0x41864f
mov dword [ebp - 0x434], edi
cmp dword [esi + 0x1670], eax
je 0x418659
mov dword [ebp - 0x434], 0
mov eax, ebx
and eax, 1
test ebx, 0x2000
je 0x41873a
test eax, eax
je 0x418721
mov dword [ebp - 0x41c], edi
mov ebx, edi
xor esi, esi
push 0x48b
push dword [0x43ad48]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x440], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x41c], 0
lea edx, [ebp - 0x210]
mov ecx, 0x430a14
mov eax, str.Unmount
cmove eax, ecx
mov dword [ebp - 0x448], eax
mov ecx, eax
sub edx, eax
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4186d0
lea ecx, [ebp - 0x210]
lea eax, [ebp - 0x418]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418888
test dx, dx
je 0x41871a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418888
add eax, 4
add ecx, 4
test dx, dx
jne 0x4186f0
xor eax, eax
jmp 0x41888d
xor eax, eax
mov ecx, edi
cmp word [esi + 0x1a88], ax
cmove eax, ecx
mov dword [ebp - 0x420], eax
jmp 0x418678
mov ecx, ebx
shr ecx, 1
not ecx
and ecx, edi
mov dword [ebp - 0x444], ecx
test eax, eax
je 0x4187f9
test ebx, 0x200
je 0x41876e
mov esi, dword [ebp - 0x42c]
mov ebx, 1
mov dword [ebp - 0x438], edi
jmp 0x41867c
test byte [esi + 0x1664], 0x14
jne 0x41878a
xor eax, eax
mov ecx, edi
cmp dword [esi + 0x1670], eax
cmove eax, ecx
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x41879a
cmp dword [eax + 0x10], 3
je 0x4187e9
mov eax, ebx
mov ecx, 0
shr eax, 8
not eax
and eax, 1
and ebx, 2
mov dword [ebp - 0x42c], eax
sete cl
mov dword [ebp - 0x430], ecx
test ebx, 2
je 0x4187db
mov edi, 1
mov dword [ebp - 0x428], 1
mov ebx, edi
mov esi, eax
jmp 0x41867c
mov dword [ebp - 0x42c], eax
xor edi, edi
mov dword [ebp - 0x430], ecx
mov esi, dword [ebp - 0x42c]
mov ebx, 1
jmp 0x41867c
test byte [esi + 0x1664], 0x14
jne 0x418815
xor eax, eax
mov ecx, edi
cmp dword [esi + 0x1670], eax
cmove eax, ecx
mov dword [ebp - 0x438], eax
xor ebx, ebx
cmp word [esi + 0x1a88], bx
jne 0x41882b
mov dword [ebp - 0x420], edi
jmp 0x41867a
mov dword [ebp - 0x428], edi
jmp 0x41867a
xor ecx, ecx
call fcn.00426a60
xor esi, esi
mov dword [ebp - 0x41c], 0
add esp, 4
mov dword [ebp - 0x420], 0
xor eax, eax
mov dword [ebp - 0x42c], esi
mov ebx, 1
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x444], eax
mov edi, ebx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
jmp 0x41867c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4188c5
cmp dword [ebp - 0x41c], eax
jne 0x4188a7
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x420], eax
je 0x4188b1
mov dword [ebp - 0x43c], 1
push dword [ebp - 0x440]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, dword [ebp - 0x43c]
je 0x4188ff
push dword [ebp - 0x448]
push dword [ebp - 0x440]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x41c], 0
jne 0x4188ed
cmp dword [ebp - 0x420], 0
jne 0x4188ed
xor eax, eax
jmp 0x4188f2
mov eax, 1
push eax
push dword [ebp - 0x440]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x428]
push 6
push dword [0x43ad48]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 7
push dword [0x43ad48]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x420]
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
xor eax, 1
push eax
push 0x9c44
push dword [ebp - 0x424]
call esi
mov eax, dword [ebp - 0x428]
xor eax, 1
push eax
push 0x9c42
push dword [ebp - 0x424]
call esi
xor eax, eax
cmp dword [ebp - 0x41c], eax
sete al
push eax
push 0x9c7a
push dword [ebp - 0x424]
call esi
mov eax, dword [ebp - 0x42c]
xor eax, 1
push eax
push 0x9c43
push dword [ebp - 0x424]
call esi
mov eax, dword [ebp - 0x444]
xor eax, 1
push eax
push 0x9c46
push dword [ebp - 0x424]
call esi
push ebx
mov ebx, dword [ebp - 0x424]
push 0x9c47
push ebx
call esi
mov eax, dword [ebp - 0x430]
xor eax, 1
push eax
push 0x9c5d
push ebx
call esi
xor eax, eax
cmp dword [ebp - 0x434], eax
sete al
push eax
push 0x9c86
push ebx
call esi
xor eax, eax
cmp dword [ebp - 0x438], eax
sete al
push eax
push 0x9c81
push ebx
call esi
push edi
push 0x9c83
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010c7
mov esp, ebp
pop ebp
ret